Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
FontCharsClass Class Reference

#include <render2dsentence.h>

Inherits W3DMPO, and RefCountClass.

Public Member Functions

 FontCharsClass (void)
 
 ~FontCharsClass ()
 
void Initialize_GDI_Font (const char *font_name, int point_size, bool is_bold)
 
bool Is_Font (const char *font_name, int point_size, bool is_bold)
 
const char * Get_Name (void)
 
int Get_Char_Height (void)
 
int Get_Char_Width (WCHAR ch)
 
int Get_Char_Spacing (WCHAR ch)
 
int Get_Extra_Overlap (void)
 
void Blit_Char (WCHAR ch, uint16 *dest_ptr, int dest_stride, int x, int y)
 
- Public Member Functions inherited from W3DMPO
virtual ~W3DMPO ()
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Public Attributes

FontCharsClassAlternateUnicodeFont
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Member Functions inherited from W3DMPO
virtual int glueEnforcer () const =0
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

Definition at line 78 of file render2dsentence.h.

Constructor & Destructor Documentation

◆ FontCharsClass()

FontCharsClass::FontCharsClass ( void )

Definition at line 1194 of file render2dsentence.cpp.

◆ ~FontCharsClass()

FontCharsClass::~FontCharsClass ( void )

Definition at line 1220 of file render2dsentence.cpp.

Member Function Documentation

◆ Blit_Char()

void FontCharsClass::Blit_Char ( WCHAR ch,
uint16 * dest_ptr,
int dest_stride,
int x,
int y )

Definition at line 1311 of file render2dsentence.cpp.

◆ Get_Char_Height()

int FontCharsClass::Get_Char_Height ( void )
inline

Definition at line 94 of file render2dsentence.h.

◆ Get_Char_Spacing()

int FontCharsClass::Get_Char_Spacing ( WCHAR ch)

Definition at line 1292 of file render2dsentence.cpp.

◆ Get_Char_Width()

int FontCharsClass::Get_Char_Width ( WCHAR ch)

Definition at line 1275 of file render2dsentence.cpp.

◆ Get_Extra_Overlap()

int FontCharsClass::Get_Extra_Overlap ( void )
inline

Definition at line 98 of file render2dsentence.h.

◆ Get_Name()

const char * FontCharsClass::Get_Name ( void )
inline

Definition at line 92 of file render2dsentence.h.

◆ Initialize_GDI_Font()

void FontCharsClass::Initialize_GDI_Font ( const char * font_name,
int point_size,
bool is_bold )

Definition at line 1655 of file render2dsentence.cpp.

◆ Is_Font()

bool FontCharsClass::Is_Font ( const char * font_name,
int point_size,
bool is_bold )

Definition at line 1683 of file render2dsentence.cpp.

Member Data Documentation

◆ AlternateUnicodeFont

FontCharsClass* FontCharsClass::AlternateUnicodeFont

Definition at line 87 of file render2dsentence.h.


The documentation for this class was generated from the following files: