Public Member Functions | Private Member Functions
vgui_font Class Reference

Abstract font class. More...

#include <vgui_font.h>

Inheritance diagram for vgui_font:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vgui_font ()
 Constructor - default.
virtual void draw (const vcl_string &str) const =0
 Draw a string of font symbols.
virtual void draw (const vcl_string &str, unsigned int size) const
 Draw a string of font symbols.
virtual ~vgui_font ()
 Destructor.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Private Member Functions

 vgui_font (const vgui_font &)
vgui_fontoperator= (const vgui_font &)

Detailed Description

Abstract font class.

Definition at line 20 of file vgui_font.h.


Constructor & Destructor Documentation

vgui_font::vgui_font ( ) [inline]

Constructor - default.

Definition at line 24 of file vgui_font.h.

virtual vgui_font::~vgui_font ( ) [inline, virtual]

Destructor.

Definition at line 34 of file vgui_font.h.

vgui_font::vgui_font ( const vgui_font ) [private]

Member Function Documentation

virtual void vgui_font::draw ( const vcl_string &  str) const [pure virtual]

Draw a string of font symbols.

Implemented in vgui_font_bitmap, and vgui_font_textured.

void vgui_font::draw ( const vcl_string &  str,
unsigned int  size 
) const [virtual]

Draw a string of font symbols.

Reimplemented in vgui_font_textured.

Definition at line 13 of file vgui_font.cxx.

vgui_font& vgui_font::operator= ( const vgui_font ) [private]

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