WT_Rendition Class Reference
[File I/O objects]

#include <rendition.h>

Collaboration diagram for WT_Rendition:

Collaboration graph
[legend]
List of all members.

Detailed Description

Contains attributes to be applied to geometry.

The WT_File::desired_rendition() should be used when setting rendition attributes during file writing. When reading a file, WT_File::rendition() should be used.

See also:
WT_File, Drawable objects, Rendition attributes, WT_Rendering_Options

Definition at line 121 of file rendition.h.

Public Types

enum  WT_Attribute_Bits
 Used in identifying which rendition attributes are applicable to a given object and/or which have changed and need to be serialized if needed.

Public Member Functions

 WT_Rendition ()
 Constructs a WT_Rendition object.
 WT_Rendition (WT_Rendition const &other)
 Copies a WT_Rendition object from another.
virtual ~WT_Rendition ()
 Destroys a WT_Rendition object.
WT_Renditionoperator= (WT_Rendition const &other)
 Assigns the contents of a WT_Rendition from another.
virtual WHIP_ATTRIBUTE_LIST
WT_Result 
sync (WT_File &file, WT_Integer32 required=0)
 Serializes pending changed rendition settings to the file, if necessary.
virtual WT_Drawing_Infodrawing_info ()
 Returns a writable reference to the local WT_Drawing_Info object for this rendition.
virtual WT_Rendering_Optionsrendering_options ()
 Returns a writable reference to the local WT_Rendering_Options object for this rendition.
virtual WT_Plot_Infoplot_info ()
 Returns a writable reference to the local WT_Plot_Info object for this rendition.
virtual WT_URL_Listurl_lookup_list ()
 Returns a writable reference to the local WT_URL_List object for this rendition.

Protected Attributes

WT_Integer32 m_changed_flags
WT_Rendering_Options m_rendering_options
WT_Drawing_Info m_drawing_info
WT_Plot_Info m_plot_info
WT_URL_List m_url_lookup_list


Member Function Documentation

virtual WHIP_ATTRIBUTE_LIST WT_Result WT_Rendition::sync WT_File file,
WT_Integer32  required = 0
[inline, virtual]
 

Serializes pending changed rendition settings to the file, if necessary.

Only outputs relevant desired rendition changes to the file.

Warning:
This is used by the framework and should not be called by client code.
Return values:
WT_Result::Success The operation was successful.

Definition at line 268 of file rendition.h.


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