WT_Text_Option_Bounds Class Reference
[Text options]

#include <text_options.h>

Inheritance diagram for WT_Text_Option_Bounds:

Inheritance graph
[legend]
Collaboration diagram for WT_Text_Option_Bounds:

Collaboration graph
[legend]
List of all members.

Detailed Description

Text option class for specifying a text bounding box.

Note:
Use of a bounding box may cause the text to be tesselated in the consuming application which could reduce performance when viewing the WHIP! data.
See also:
WT_Text
TextBounding.png

Text baseline and bounding box details

Definition at line 140 of file text_options.h.

Public Member Functions

WT_Logical_Point const * bounds () const
 Returns the bounding rectangle (left-bottom, right-bottom, right-top, left-top).
virtual void de_relativize (WT_File &file)
 Returns the bounding box points to absolute values based on their relative position to last materialized point.
virtual void relativize (WT_File &file)
 Relativizes the bounding box points to the last serialized point.
virtual void transform (WT_Transform const &transform)
 Applies the given transform to the position and bounding box points.
WT_Result set (WT_Logical_Point const *bounds)
 Sets the bounding rectangle (left-bottom, right-bottom, right-top, left-top).
WT_Text_Option_Bounds const & operator= (WT_Text_Option_Bounds const &bounds) throw (WT_Result)
 Assignment operator. Copies the values from the given WT_Text_Option_Bounds to this one.
WT_ID object_id () const
 Returns the WT_ID for this object.
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_Text_Option_Bounds ()
 Constructs a WT_Text_Option_Bounds object.
 WT_Text_Option_Bounds (WT_Logical_Point const *pos) throw (WT_Result)
 Constructs a WT_Text_Option_Bounds object with the given bounding rectangle.
 WT_Text_Option_Bounds (WT_Text_Option_Bounds const &bounds) throw (WT_Result)
 Constructs a WT_Text_Option_Bounds object. Copy constructor.
virtual ~WT_Text_Option_Bounds ()
 Destroys a WT_Text_Option_Bounds object.

Friends

class WT_W2D_Class_Factory
class WT_Text


Constructor & Destructor Documentation

WT_Text_Option_Bounds::WT_Text_Option_Bounds WT_Logical_Point const *  pos  )  throw (WT_Result) [inline, protected]
 

Constructs a WT_Text_Option_Bounds object with the given bounding rectangle.

Parameters:
pos  Bounding rectangle (left-bottom, right-bottom, right-top, left-top.)

Definition at line 161 of file text_options.h.


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