/**** * * Class FontByName is a sublcass of InterViews Font that provides an * additional public constructor to create a font by a "common" name rather * than the full, cryptic X11 name. Specifically, the new constructor takes * the following parameters: * * PARM EXAMPLES * ============================================================ * family font family (e.g., times, helvetica, courier) * weight font weight (e.g, medium, bold) * slant font slant (e.g., r(oman), o(blique), i(talic)) * size font size (e.g., 9, 24) * */ #ifndef fontbynameIncluded #define fontbynameIncluded #include class FontByName : public Font { public: FontByName(char* family, char* weight, char* slant, int size); protected: char* DoIt(char* family, char* weight, char* slant, int size); }; #endif