#include <TTFont.h>
|
| | TTFontClass (HDC hdc, char *filename, char *facename, int height, int weight=FW_NORMAL, BYTE charset=ANSI_CHARSET, int width=0, int escapement=0, int orientation=0, BYTE italic=FALSE, BYTE underline=FALSE, BYTE strikeout=FALSE, BYTE outputPrecision=OUT_TT_ONLY_PRECIS, BYTE clipPrecision=CLIP_DEFAULT_PRECIS, BYTE quality=PROOF_QUALITY, BYTE pitchAndFamily=FF_DONTCARE) |
| |
| virtual | ~TTFontClass (void) |
| |
| virtual int | Char_Pixel_Width (HDC hdc, UINT c) const |
| |
| virtual int | Char_Pixel_Width (HDC hdc, char const *string, int *num_bytes=NULL) const |
| |
| virtual int | String_Pixel_Width (HDC hdc, char const *string) const |
| |
| virtual void | String_Pixel_Bounds (HDC hdc, const char *string, Rect &bounds) const |
| |
| virtual int | Get_Width (void) const |
| |
| virtual int | Get_Height (void) const |
| |
| virtual int | Set_XSpacing (HDC hdc, int x) |
| |
| virtual int | Set_YSpacing (int y) |
| |
| virtual int | Find_Text_VLength (HDC hdc, char *str, int width) |
| |
| virtual HFONT | Get_Font_Ptr (void) |
| |
| virtual int | IsFontDBCS (void) const |
| |
| virtual UINT | Get_Double_Byte_Char (const char *string, int *num_bytes=NULL) const |
| |
| virtual Point2D | Print (HDC hdc, char const *string, Rect const &cliprect, COLORREF forecolor=TEXT_COLOR, COLORREF backcolor=TEXT_NORMAL_SHADOW_COLOR, TextFormatType flag=TPF_LEFT_TEXT, TextShadowType shadow=TPF_NOSHADOW) |
| |
| virtual Point2D | Print (HDC hdc, wchar_t const *string, Rect const &cliprect, COLORREF forecolor=TEXT_COLOR, COLORREF backcolor=TEXT_NORMAL_SHADOW_COLOR, TextFormatType flag=TPF_LEFT_TEXT, TextShadowType shadow=TPF_NOSHADOW) |
| |
Definition at line 185 of file TTFont.h.
◆ TTFontClass()
| TTFontClass::TTFontClass |
( |
HDC | hdc, |
|
|
char * | filename, |
|
|
char * | facename, |
|
|
int | height, |
|
|
int | weight = FW_NORMAL, |
|
|
BYTE | charset = ANSI_CHARSET, |
|
|
int | width = 0, |
|
|
int | escapement = 0, |
|
|
int | orientation = 0, |
|
|
BYTE | italic = FALSE, |
|
|
BYTE | underline = FALSE, |
|
|
BYTE | strikeout = FALSE, |
|
|
BYTE | outputPrecision = OUT_TT_ONLY_PRECIS, |
|
|
BYTE | clipPrecision = CLIP_DEFAULT_PRECIS, |
|
|
BYTE | quality = PROOF_QUALITY, |
|
|
BYTE | pitchAndFamily = FF_DONTCARE ) |
◆ ~TTFontClass()
| virtual TTFontClass::~TTFontClass |
( |
void | | ) |
|
|
inlinevirtual |
◆ Char_Pixel_Width() [1/2]
| int TTFontClass::Char_Pixel_Width |
( |
HDC | hdc, |
|
|
char const * | string, |
|
|
int * | num_bytes = NULL ) const |
|
virtual |
◆ Char_Pixel_Width() [2/2]
| int TTFontClass::Char_Pixel_Width |
( |
HDC | hdc, |
|
|
UINT | c ) const |
|
virtual |
◆ Find_Text_VLength()
| int TTFontClass::Find_Text_VLength |
( |
HDC | hdc, |
|
|
char * | str, |
|
|
int | width ) |
|
virtual |
◆ Get_Double_Byte_Char()
| UINT TTFontClass::Get_Double_Byte_Char |
( |
const char * | string, |
|
|
int * | num_bytes = NULL ) const |
|
virtual |
◆ Get_Font_Ptr()
| virtual HFONT TTFontClass::Get_Font_Ptr |
( |
void | | ) |
|
|
inlinevirtual |
◆ Get_Height()
| int TTFontClass::Get_Height |
( |
void | | ) |
const |
|
virtual |
◆ Get_Width()
| int TTFontClass::Get_Width |
( |
void | | ) |
const |
|
virtual |
◆ IsFontDBCS()
| virtual int TTFontClass::IsFontDBCS |
( |
void | | ) |
const |
|
inlinevirtual |
◆ Print() [1/2]
◆ Print() [2/2]
◆ Set_XSpacing()
| int TTFontClass::Set_XSpacing |
( |
HDC | hdc, |
|
|
int | x ) |
|
virtual |
◆ Set_YSpacing()
| int TTFontClass::Set_YSpacing |
( |
int | y | ) |
|
|
virtual |
◆ String_Pixel_Bounds()
| void TTFontClass::String_Pixel_Bounds |
( |
HDC | hdc, |
|
|
const char * | string, |
|
|
Rect & | bounds ) const |
|
virtual |
◆ String_Pixel_Width()
| int TTFontClass::String_Pixel_Width |
( |
HDC | hdc, |
|
|
char const * | string ) const |
|
virtual |
The documentation for this class was generated from the following files: