WT_Font_Option_Spacing Class Reference
[Font options]

#include <font_options.h>

Inheritance diagram for WT_Font_Option_Spacing:

Inheritance graph
[legend]
Collaboration diagram for WT_Font_Option_Spacing:

Collaboration graph
[legend]
List of all members.

Detailed Description

Font option describing the inter-character spacing.

This is the desired inter-character spacing scale (multiplied by 1024) to be applied to the font. A value of 1024 indicates normal inter-character spacing, whereas 2048 indicates spacing that is twice as wide as normal, and 512 indicates spacing that is 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 515 of file font_options.h.

Public Member Functions

 WT_Font_Option_Spacing ()
 Constructs a WT_Font_Option_Spacing object.
 WT_Font_Option_Spacing (WT_Unsigned_Integer16 spacing)
 Constructs a WT_Font_Option_Spacing object with the given spacing.
virtual ~WT_Font_Option_Spacing ()
WT_Unsigned_Integer16 spacing () const
 Returns the inter-character spacing.
void set (WT_Unsigned_Integer16 spacing)
 Sets the inter-character spacing.
WT_Boolean operator== (WT_Font_Option_Spacing const &in) const
 Returns WD_True if the given spacing option is equal to this one.
WT_Boolean operator!= (WT_Font_Option_Spacing const &in) const
 Returns WD_True if the given spacing option is NOT equal to this one.
 operator WT_Unsigned_Integer16 () const
 Returns the inter-character spacing.
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