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

#include <font3d.h>

Inherits RefCountClass.

Public Member Functions

 Font3DInstanceClass (const char *filename)
 
 ~Font3DInstanceClass ()
 
TextureClassPeek_Texture (void)
 
void Set_Mono_Spaced (void)
 
void Set_Proportional (void)
 
void Set_Scale (float scale)
 
float Char_Width (WCHAR ch) const
 
float Char_Spacing (WCHAR ch) const
 
float Char_Height (void) const
 
float String_Width (const WCHAR *test_str)
 
float String_Width (const char *test_str)
 
RectClass Char_UV (WCHAR ch)
 
- 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)
 

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)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

Definition at line 151 of file font3d.h.

Constructor & Destructor Documentation

◆ Font3DInstanceClass()

Font3DInstanceClass::Font3DInstanceClass ( const char * filename)

Definition at line 355 of file font3d.cpp.

◆ ~Font3DInstanceClass()

Font3DInstanceClass::~Font3DInstanceClass ( void )

Definition at line 370 of file font3d.cpp.

Member Function Documentation

◆ Char_Height()

float Font3DInstanceClass::Char_Height ( void ) const
inline

Definition at line 185 of file font3d.h.

◆ Char_Spacing()

float Font3DInstanceClass::Char_Spacing ( WCHAR ch) const
inline

Definition at line 184 of file font3d.h.

◆ Char_UV()

RectClass Font3DInstanceClass::Char_UV ( WCHAR ch)
inline

Definition at line 203 of file font3d.h.

◆ Char_Width()

float Font3DInstanceClass::Char_Width ( WCHAR ch) const
inline

Definition at line 183 of file font3d.h.

◆ Peek_Texture()

TextureClass * Font3DInstanceClass::Peek_Texture ( void )
inline

Definition at line 164 of file font3d.h.

◆ Set_Mono_Spaced()

void Font3DInstanceClass::Set_Mono_Spaced ( void )

Definition at line 378 of file font3d.cpp.

◆ Set_Proportional()

void Font3DInstanceClass::Set_Proportional ( void )
inline

Definition at line 170 of file font3d.h.

◆ Set_Scale()

void Font3DInstanceClass::Set_Scale ( float scale)
inline

Definition at line 177 of file font3d.h.

◆ String_Width() [1/2]

float Font3DInstanceClass::String_Width ( const char * test_str)

Definition at line 420 of file font3d.cpp.

◆ String_Width() [2/2]

float Font3DInstanceClass::String_Width ( const WCHAR * test_str)

Definition at line 410 of file font3d.cpp.


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