Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

WT_Font_Option_Family Class Reference
[Font options]

#include <font_options.h>

Inheritance diagram for WT_Font_Option_Family:

Inheritance graph
[legend]
Collaboration diagram for WT_Font_Option_Family:

Collaboration graph
[legend]
List of all members.

Detailed Description

Font option describing the font family.

Definition at line 204 of file font_options.h.

Public Types

enum  Font_Family_Flags
 Describes the overall style of a font.

Public Member Functions

Construction
 WT_Font_Option_Family ()
 Constructs a WT_Font_Option_Family object.
 WT_Font_Option_Family (WT_Byte family)
 Constructs a WT_Font_Option_Family object with the given font family value.
Data access methods
WT_Byte family () const
 Returns the font family value.
void set (WT_Byte family)
 Sets the font family value.
WT_Boolean operator== (WT_Font_Option_Family const &fm) const
 Returns WD_True if the given font family option is equal to this one.
WT_Boolean operator!= (WT_Font_Option_Family const &fm) const
 Returns WD_True if the given font family option is NOT equal to this one.
WT_Option virtual methods
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.


Constructor & Destructor Documentation

WT_Font_Option_Family::WT_Font_Option_Family WT_Byte  family  )  [inline]
 

Constructs a WT_Font_Option_Family object with the given font family value.

Parameters:
family  One of one of FAMILY_UNKNOWN, FAMILY_ROMAN, FAMILY_SWISS, FAMILY_MODERN, FAMILY_SCRIPT or FAMILY_DECORATIVE.

Definition at line 230 of file font_options.h.


Member Function Documentation

void WT_Font_Option_Family::set WT_Byte  family  )  [inline]
 

Sets the font family value.

Parameters:
family  One of one of FAMILY_UNKNOWN, FAMILY_ROMAN, FAMILY_SWISS, FAMILY_MODERN, FAMILY_SCRIPT or FAMILY_DECORATIVE.

Definition at line 241 of file font_options.h.


The documentation for this class was generated from the following file:
Generated on Tue May 17 12:07:53 2005 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.1