WT_Pattern_Scale Class Reference

#include <pattern_scale.h>

Inheritance diagram for WT_Pattern_Scale:

Inheritance graph
[legend]
Collaboration diagram for WT_Pattern_Scale:

Collaboration graph
[legend]
List of all members.

Detailed Description

Used by WT_Fill_Pattern and WT_Line_Pattern as an internal WT_Option defining the scale of the respective pattern.

Specifies the scale factor (muliplier) for the pattern. There are three different types of pattern scales:

Definition at line 41 of file pattern_scale.h.

Public Member Functions

 operator double () const
 Returns the scale value.
WT_Pattern_Scaleoperator= (double i)
 Assignment operator. Sets the scale value.
WT_Boolean operator== (WT_Pattern_Scale const &scale) const
 Returns WD_True if the given scale is equal to this one.
WT_Boolean operator== (double const &value) const
 Returns WD_True if the given scale value is equal to this one.
WT_Boolean operator!= (WT_Pattern_Scale const &scale) const
 Returns WD_True if the given scale is NOT equal to this one.
WT_Boolean operator!= (double const &value) const
 Returns WD_True if the given scale value is NOT equal to this one.
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.

Protected Member Functions

 WT_Pattern_Scale ()
 Constructs a WT_Pattern_Scale object.
virtual ~WT_Pattern_Scale ()

Friends

class WT_Fill_Pattern
class WT_Line_Pattern
class WT_Font
class WT_Line_Style
class WT_User_Fill_Pattern
class WT_W2D_Class_Factory


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