OpenCPN Partial API docs
Loading...
Searching...
No Matches
TexFont Class Reference

Public Member Functions

void Build (wxFont &font, bool blur=false)
 
void Delete ()
 
void GetTextExtent (const wxString &string, int *width, int *height)
 
void RenderString (const char *string, int x=0, int y=0)
 
void RenderString (const wxString &string, int x=0, int y=0)
 
bool IsBuilt ()
 
void Build (wxFont &font, bool blur=false)
 
void Delete ()
 
void GetTextExtent (const wxString &string, int *width, int *height)
 
void RenderString (const char *string, int x=0, int y=0)
 
void RenderString (const wxString &string, int x=0, int y=0)
 
bool IsBuilt ()
 

Detailed Description

Definition at line 68 of file pi_TexFont.h.

Constructor & Destructor Documentation

◆ TexFont()

TexFont::TexFont ( )

Definition at line 38 of file pi_TexFont.cpp.

◆ ~TexFont()

TexFont::~TexFont ( )

Definition at line 44 of file pi_TexFont.cpp.

Member Function Documentation

◆ Build()

void TexFont::Build ( wxFont & font,
bool blur = false )

Definition at line 46 of file pi_TexFont.cpp.

◆ Delete()

void TexFont::Delete ( )

Definition at line 178 of file pi_TexFont.cpp.

◆ GetTextExtent()

void TexFont::GetTextExtent ( const wxString & string,
int * width,
int * height )

Definition at line 211 of file pi_TexFont.cpp.

◆ IsBuilt() [1/2]

bool TexFont::IsBuilt ( )
inline

Definition at line 79 of file pi_TexFont.h.

◆ IsBuilt() [2/2]

bool TexFont::IsBuilt ( )
inline

Definition at line 64 of file pi_TexFont.h.

◆ RenderString() [1/2]

void TexFont::RenderString ( const char * string,
int x = 0,
int y = 0 )

Definition at line 349 of file pi_TexFont.cpp.

◆ RenderString() [2/2]

void TexFont::RenderString ( const wxString & string,
int x = 0,
int y = 0 )

Definition at line 401 of file pi_TexFont.cpp.


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