WT_Font_Option_Width_Scale Class Reference
[Font options]

#include <font_options.h>

Inheritance diagram for WT_Font_Option_Width_Scale:

Inheritance graph
[legend]
Collaboration diagram for WT_Font_Option_Width_Scale:

Collaboration graph
[legend]
List of all members.

Detailed Description

Font option describing the width scale.

This is the desired width scaling (multiplied by 1024) to be applied to the font. A value of 1024 indicates no scaling, whereas 2048 indicates a font twice as wide as normal, and 512 indicates a font 1/2 as wide as normal. May range from a value of one (1/1024 of normal) to 65535 (64 times normal).

Definition at line 463 of file font_options.h.

Public Member Functions

 WT_Font_Option_Width_Scale ()
 Constructs a WT_Font_Option_Width_Scale object.
 WT_Font_Option_Width_Scale (WT_Unsigned_Integer16 width_scale)
 Constructs a WT_Font_Option_Width_Scale object with the given width scale.
virtual ~WT_Font_Option_Width_Scale ()
WT_Unsigned_Integer16 width_scale () const
 Returns the width scale.
void set (WT_Unsigned_Integer16 width_scale)
 Sets the width scale.
WT_Boolean operator== (WT_Font_Option_Width_Scale const &in) const
 Returns WD_True if the given width scale option is equal to this one.
WT_Boolean operator!= (WT_Font_Option_Width_Scale const &in) const
 Returns WD_True if the given width scale option is NOT equal to this one.
 operator WT_Unsigned_Integer16 () const
 Returns the width scale.
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:19 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5