WT_Outline_Ellipse Class Reference
[Drawable objects]

#include <ellipse.h>

Inheritance diagram for WT_Outline_Ellipse:

Inheritance graph
[legend]
Collaboration diagram for WT_Outline_Ellipse:

Collaboration graph
[legend]
List of all members.

Detailed Description

A drawable describing an unfilled ellipse, or elliptal arc.

CircleStartEnd.png

Circular arc (major==minor) start/end angle details

EllipseStartEnd.png

Elliptical arc (major!=minor) start/end angle details

Examples:

WhipExamples/OutlineEllipse.cpp.

Definition at line 274 of file ellipse.h.

Public Member Functions

 WT_Outline_Ellipse ()
 Constructs a WT_Outline_Ellipse object.
 WT_Outline_Ellipse (WT_Integer32 x, WT_Integer32 y, WT_Integer32 major, WT_Integer32 minor, WT_Unsigned_Integer16 start=0, WT_Unsigned_Integer16 end=0, WT_Unsigned_Integer16 tilt=0)
 Constructs a WT_Outline_Ellipse object with the given data.
 WT_Outline_Ellipse (WT_Logical_Point const &pos, WT_Integer32 major, WT_Integer32 minor, WT_Unsigned_Integer16 start=0, WT_Unsigned_Integer16 end=0, WT_Unsigned_Integer16 tilt=0)
 Constructs a WT_Outline_Ellipse object with the given data.
virtual ~WT_Outline_Ellipse ()
WT_ID object_id () const
 Returns the WT_ID for this object.
WT_Result serialize (WT_File &file) const
 Causes the serialization of the object to the file.
WT_Result process (WT_File &file)
 Calls the configured action handler for this object (passes in the file reference.).

Static Public Member Functions

static WT_Result default_process (WT_Outline_Ellipse &item, WT_File &file)
 Provides a default action handler for this object.

Friends

class WT_W2D_Class_Factory
class WT_Opcode


Constructor & Destructor Documentation

WT_Outline_Ellipse::WT_Outline_Ellipse WT_Integer32  x,
WT_Integer32  y,
WT_Integer32  major,
WT_Integer32  minor,
WT_Unsigned_Integer16  start = 0,
WT_Unsigned_Integer16  end = 0,
WT_Unsigned_Integer16  tilt = 0
[inline]
 

Constructs a WT_Outline_Ellipse object with the given data.

Parameters:
x  Horizontal component of the center point of ellipse.
y  Vertical component of the center point of ellipse.
major  Major axis radius.
minor  Minor axis radius.
start  Optional start angle (in 360/65,536ths of a degree.)
end  End angle (in 360/65,536ths of a degree.)
tilt  Rotation angle (in 360/65,536ths of a degree.)

Definition at line 286 of file ellipse.h.

WT_Outline_Ellipse::WT_Outline_Ellipse WT_Logical_Point const &  pos,
WT_Integer32  major,
WT_Integer32  minor,
WT_Unsigned_Integer16  start = 0,
WT_Unsigned_Integer16  end = 0,
WT_Unsigned_Integer16  tilt = 0
[inline]
 

Constructs a WT_Outline_Ellipse object with the given data.

Parameters:
pos  Center point of ellipse.
major  Major axis radius.
minor  Minor axis radius.
start  Optional start angle (in 360/65,536ths of a degree.)
end  End angle (in 360/65,536ths of a degree.)
tilt  Rotation angle (in 360/65,536ths of a degree.)

Definition at line 299 of file ellipse.h.


Member Function Documentation

static WT_Result WT_Outline_Ellipse::default_process WT_Outline_Ellipse item,
WT_File file
[static]
 

Provides a default action handler for this object.

Warning:
This is used by the framework and should not be called by client code.
Parameters:
item  The object to process.
file  The file being read.

WT_Result WT_Outline_Ellipse::process WT_File file  )  [virtual]
 

Calls the configured action handler for this object (passes in the file reference.).

Warning:
This is used by the framework and should not be called by client code.

Implements WT_Object.

WT_Result WT_Outline_Ellipse::serialize WT_File file  )  const [virtual]
 

Causes the serialization of the object to the file.

If this is a WT_Drawable derived object, this method may cause the object to be delayed (in case a coincident like-object follows) and/or merged (in case a coincident like-object preceeded) so as to optimize the output.

Return values:
WT_Result::Success The operation was successful.

Implements WT_Object.

Examples:
WhipExamples/OutlineEllipse.cpp.


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