WT_User_Hatch_Pattern::Hatch_Pattern Class Reference
[Rendition attributes]

#include <usrhatchpat.h>

Inheritance diagram for WT_User_Hatch_Pattern::Hatch_Pattern:

Inheritance graph
[legend]
Collaboration diagram for WT_User_Hatch_Pattern::Hatch_Pattern:

Collaboration graph
[legend]
List of all members.

Detailed Description

Reference counted class Hatch_Pattern defines a parrallel line set along with a optional dashing pattern that is used by the WT_User_Hatch_Pattern class to define a custom Hatch pattern. Construction of this class is carried out by using the static Construct method. This method returns a pointer to the new Hatch_Pattern class created on the heap. Note : Since this class is reference counted it is important to increment the reference count on aquiring the pointer and decrementing it before disposing of it. The Constructor and destructor for this class is protected and can only be called when the reference count is zero.

Definition at line 75 of file usrhatchpat.h.

Public Member Functions

WHIPTK_API double const & x () const
WHIPTK_API double const & y () const
WHIPTK_API double const & angle () const
WHIPTK_API double const & spacing () const
WHIPTK_API double const & skew () const
WHIPTK_API WT_Unsigned_Integer32 data_size () const
WHIPTK_API double const * data () const
WHIPTK_API WT_Boolean operator!= (Hatch_Pattern const &pattern)

Static Public Member Functions

static Hatch_PatternConstruct (const double &x, const double &y, const double &angle, const double &spacing, const double &skew=0, WT_Unsigned_Integer32 data_size=0, const double *data=NULL)
 Static construct method that creates this reference counted object on the heap.

Protected Member Functions

virtual WHIPTK_API ~Hatch_Pattern () throw ()


Member Function Documentation

static Hatch_Pattern* WT_User_Hatch_Pattern::Hatch_Pattern::Construct const double &  x,
const double &  y,
const double &  angle,
const double &  spacing,
const double &  skew = 0,
WT_Unsigned_Integer32  data_size = 0,
const double *  data = NULL
[inline, static]
 

Static construct method that creates this reference counted object on the heap.

Parameters:
skew  optional skew value
data_size  optional
data  optional

Definition at line 79 of file usrhatchpat.h.


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