27#include "../objects/PFont.h"
28#include "../objects/PColor.h"
29#include "../base/Variant.h"
40int main(
int argc,
char **argv)
43 cout <<
"\n\n\n==========================================================\n";
44 cout <<
"Testing the PFont Class\n";
45 cout <<
"==========================================================\n";
47 cout <<
"==========================================================\n";
48 cout <<
"Constructing Colors\n";
53 cout <<
"\n\n\n==========================================================\n";
54 cout <<
"Constructing Fonts\n";
59 cout <<
"\n\n==========================================================\n";
60 cout <<
"Printing standard font output." << endl;
62 cout << myFont1 << endl;
63 cout << myFont2 << endl;
67 cout <<
"\n\n==========================================================\n";
68 cout <<
"Printing font information:" << endl;
72 cout <<
"Font Style: " << myFont1.
GetFontStyle() << endl;
74 cout <<
" IsBold? " << myFont1.
IsBoldFont() << endl;
80 cout <<
"Font Size: " << myFont1.
GetFontSize() << endl;
84 cout <<
"Finished" << endl;
int main(int argc, char **argv)
virtual PColor GetBackgroundColor() const
virtual int GetFontStyle() const
virtual bool IsItalicFont() const
virtual PColor GetFontColor() const
virtual std::string GetFontFileName() const
virtual bool IsUnderlineFont() const
virtual bool IsBoldFont() const
virtual bool GetAntiAliased() const
virtual int GetFontSize() const
virtual bool IsNormalFont() const