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 () const
 
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 69 of file pi_tex_font.h.

Constructor & Destructor Documentation

◆ TexFont()

TexFont::TexFont ( )

Definition at line 39 of file pi_tex_font.cpp.

◆ ~TexFont()

TexFont::~TexFont ( )

Definition at line 45 of file pi_tex_font.cpp.

Member Function Documentation

◆ Build()

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

Definition at line 47 of file pi_tex_font.cpp.

◆ Delete()

void TexFont::Delete ( )

Definition at line 179 of file pi_tex_font.cpp.

◆ GetTextExtent()

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

Definition at line 212 of file pi_tex_font.cpp.

◆ IsBuilt() [1/2]

bool TexFont::IsBuilt ( )
inline

Definition at line 65 of file pi_tex_font.h.

◆ IsBuilt() [2/2]

bool TexFont::IsBuilt ( ) const
inline

Definition at line 80 of file pi_tex_font.h.

◆ RenderString() [1/2]

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

Definition at line 350 of file pi_tex_font.cpp.

◆ RenderString() [2/2]

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

Definition at line 402 of file pi_tex_font.cpp.


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