WT_XAML_Contour_Set Class Reference
[GroupDrawable]

#include <XamlContour_Set.h>

List of all members.


Detailed Description

A drawable describing a set of contours (containing positive and negative filled regions.).

Clockwise-wound contours indicate positive (filled) spaces. Counterclockwise-wound contours indicate negative spaces (holes).

ContourSet.png

Contour set positive/negative windings details

Definition at line 40 of file XamlContour_Set.h.

Public Member Functions

WT_XAML_Contour_Set const & operator= (WT_XAML_Contour_Set const &source)
 Assignment operator. Assigns the given list contents to this one.
WT_Result parseAttributeList (XamlXML::tAttributeMap &rMap, WT_XAML_File &rFile)
 partial materialization of shell from W2X

Protected Member Functions

 WT_XAML_Contour_Set ()
 Constructs a WT_XAML_Contour_Set object.
 WT_XAML_Contour_Set (WT_File &file, WT_Integer32 contours, WT_Integer32 const *counts, WT_Integer32 point_count, WT_Logical_Point const *points, WT_Boolean copy) throw (WT_Result)
 Constructs a WT_XAML_Contour_Set object with the given data.
 WT_XAML_Contour_Set (WT_File &file, WT_Integer32 point_count, WT_Logical_Point const *points) throw (WT_Result)
 Constructs a WT_XAML_Contour_Set object with the given data for one countour (i.e. a polygon). Copies the points locally.
 WT_XAML_Contour_Set (WT_Contour_Set const &source, WT_Boolean copy=WD_True) throw (WT_Result)
 Constructs a WT_XAML_Contour_Set object with the given data. Can be used as a copy constructor.
virtual WT_Contour_Set * copy (WT_Boolean copy=WD_True)
 Virtual abstract copy. Copies a WT_Contour_Set object.
virtual ~WT_XAML_Contour_Set ()
 Destroys a WT_XAML_Contour_Set object.

Friends

class WT_XAML_Class_Factory


Constructor & Destructor Documentation

WT_XAML_Contour_Set::WT_XAML_Contour_Set WT_File &  file,
WT_Integer32  contours,
WT_Integer32 const *  counts,
WT_Integer32  point_count,
WT_Logical_Point const *  points,
WT_Boolean  copy
throw (WT_Result) [inline, protected]
 

Constructs a WT_XAML_Contour_Set object with the given data.

Parameters:
file  The current file (used for its incarnation value.)
contours  The number of contours in the set (size of the counts array.)
counts  The array of counts (each array item indicates the number of points in the respective contour.)
point_count  The total number of points in the contour set (should equal the sum of the counts.)
points  The array of points used by the contours.
copy  Whether the points should be copied or if their addresses should be used directly from the array.

Definition at line 51 of file XamlContour_Set.h.

WT_XAML_Contour_Set::WT_XAML_Contour_Set WT_File &  file,
WT_Integer32  point_count,
WT_Logical_Point const *  points
throw (WT_Result) [inline, protected]
 

Constructs a WT_XAML_Contour_Set object with the given data for one countour (i.e. a polygon). Copies the points locally.

Parameters:
file  The current file (used for its incarnation value.)
point_count  The total number of points in the contour set (should equal the sum of the counts.)
points  The array of points used by the contours.

Definition at line 63 of file XamlContour_Set.h.

WT_XAML_Contour_Set::WT_XAML_Contour_Set WT_Contour_Set const &  source,
WT_Boolean  copy = WD_True
throw (WT_Result) [inline, protected]
 

Constructs a WT_XAML_Contour_Set object with the given data. Can be used as a copy constructor.

Parameters:
source  The contour set from which to copy.
copy  Whether the points should be copied or if their addresses should be used directly from the array.

Definition at line 72 of file XamlContour_Set.h.


Member Function Documentation

virtual WT_Contour_Set* WT_XAML_Contour_Set::copy WT_Boolean  copy = WD_True  )  [inline, protected, virtual]
 

Virtual abstract copy. Copies a WT_Contour_Set object.

Parameters:
copy  Whether the points should be copied or if their addresses should be used directly from the array.

Definition at line 80 of file XamlContour_Set.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:11 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5