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

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 36 of file pattern_scale.h.

Public Member Functions

Constructor
 WT_Pattern_Scale ()
 Constructs a WT_Pattern_Scale object.
Data access methods
 operator double () const
 Returns the scale value.
WT_Pattern_Scaleoperator= (double i)
 Assignment operator. Sets the scale value.
Inspection methods
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_Option virtual methods
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_Fill_Pattern
class WT_Line_Pattern


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