Resource_Font Class Reference
[Resources]
Public Member Functions | |
| Resource_Font () | |
| Resource_Font (const Filename &filename) | |
| Resource_Font (const char *filename) | |
| Resource_Font (StringId filename) | |
| ~Resource_Font () | |
| Resource_Font (const Resource_Font &resource) | |
| *** Copy Constructor *** | |
| const Resource_Font & | operator= (const Resource_Font &resource) |
| const Font & | GetFont () const |
| operator const Font & () const | |
| void | Blit (Bitmap &bitmap, int x, int y, const char *text, int spacing=0, unsigned short modulate=0xffff, unsigned char alpha=255) const |
| void | BlitWrap (Bitmap &bitmap, int x, int y, const char *text, int width, int hspacing=0, int vspacing=0, unsigned short modulate=0xffff, unsigned char alpha=255) const |
Detailed Description
Definition at line 23 of file Resource_Font.h.
Constructor & Destructor Documentation
| Resource_Font::Resource_Font | ( | ) |
Definition at line 11 of file Resource_Font.cpp.
| Resource_Font::Resource_Font | ( | const Filename & | filename | ) |
Definition at line 19 of file Resource_Font.cpp.
| Resource_Font::Resource_Font | ( | const char * | filename | ) |
Definition at line 28 of file Resource_Font.cpp.
| Resource_Font::Resource_Font | ( | StringId | filename | ) |
Definition at line 38 of file Resource_Font.cpp.
| Resource_Font::~Resource_Font | ( | ) |
Definition at line 48 of file Resource_Font.cpp.
| Resource_Font::Resource_Font | ( | const Resource_Font & | resource | ) |
Member Function Documentation
| const Resource_Font & Resource_Font::operator= | ( | const Resource_Font & | resource | ) |
Definition at line 68 of file Resource_Font.cpp.
| const Font & Resource_Font::GetFont | ( | ) | const |
Definition at line 78 of file Resource_Font.cpp.
| Resource_Font::operator const Font & | ( | ) | const |
Definition at line 92 of file Resource_Font.cpp.
| void Resource_Font::Blit | ( | Bitmap & | bitmap, | |
| int | x, | |||
| int | y, | |||
| const char * | text, | |||
| int | spacing = 0, |
|||
| unsigned short | modulate = 0xffff, |
|||
| unsigned char | alpha = 255 | |||
| ) | const |
Definition at line 98 of file Resource_Font.cpp.
| void Resource_Font::BlitWrap | ( | Bitmap & | bitmap, | |
| int | x, | |||
| int | y, | |||
| const char * | text, | |||
| int | width, | |||
| int | hspacing = 0, |
|||
| int | vspacing = 0, |
|||
| unsigned short | modulate = 0xffff, |
|||
| unsigned char | alpha = 255 | |||
| ) | const |
Definition at line 108 of file Resource_Font.cpp.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
