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 227 of file font_options.h.

Public Types

enum  Font_Family_Flags
 Describes the overall style of a font.

Public Member Functions

 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.
virtual ~WT_Font_Option_Family ()
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_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


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 256 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 269 of file font_options.h.


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