WT_Font_Option_Charset Class Reference
[Font options]

#include <font_options.h>

Inheritance diagram for WT_Font_Option_Charset:

Inheritance graph
[legend]
Collaboration diagram for WT_Font_Option_Charset:

Collaboration graph
[legend]
List of all members.

Detailed Description

Font option describing the font character set.

The charset option gives the file reading application a hint as to what type of characters will be needed by subsequent text rendering operations (which are normally specified in Unicode). On systems with a wide array of Unicode based fonts, this value may be ignored. On systems with few Unicode fonts, the font matching process should give a high priority to finding a font that supports the selected character set.

Definition at line 98 of file font_options.h.

Public Types

enum  Font_Charset_Code
 Commmon character set values used by font matching algorithms.

Public Member Functions

 WT_Font_Option_Charset ()
 Constructs a WT_Font_Option_Charset object.
 WT_Font_Option_Charset (WT_Byte charset)
 Constructs a WT_Font_Option_Charset object with the given character set code.
virtual ~WT_Font_Option_Charset ()
WT_Byte charset () const
 Returns the defined character set code (typically, but not necessarily one of enum Font_Charset_Code.).
void set (WT_Byte cs)
 Sets the character set code (typically, but not necessarily one of enum Font_Charset_Code.).
WT_Boolean operator== (WT_Font_Option_Charset const &cs) const
 Returns WD_True if the given font character set option is equal to this one.
WT_Boolean operator!= (WT_Font_Option_Charset const &cs) const
 Returns WD_True if the given font character set option is NOT equal to this one.
WT_ID object_id () const
 Returns the WT_ID for this object.
WT_Result serialize (WT_Object const &parent, WT_File &file) const
 Serializes this dependent WT_Option of the parent object.
WT_Result materialize (WT_Object &parent, WT_Optioncode const &optioncode, WT_File &file)
 Materializes the dependent WT_Option of the parent object.

Friends

class WT_Font
class WT_W2D_Class_Factory


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:18 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5