Rendition attributes


Detailed Description

The BackgroundColor rendition attribute is a straightforward 32 bit color declaration ( RGBA) that is applied to drawables that require a background color. Note: Unlike the color attribute it does not work with a color map and requires that every definition of Background color have its entire RGBA (Red Green Blue Alpha) definition

Contains objects which describe attributes to be applied to geometry.

See also:
WT_Rendition, WT_Rendering_Options
Describes the Set_Fill_Pattern attribute in Rendition to be applied to subsequent Polygons and other filled geometry. This attribute is a user defined Fill based on image data. It is used by all the drawing opcodes that are affected by the Fill attribute.

Describes the User_Hatch_Pattern attribute in the file Rendition to be applied to subsequent Polygons and other filled geometry. This attribute is a user defined collection of Parrallel Line sets that is used by all the drawing opcodes that are affected by the Fill attribute. The attribute itself can be used in various ways. a) Only by defining a previously defined Hash pattern num - This allows the reuse of a Hatch Pattern attribute that was defined earlier in the file by specifing the same Hash pattern number it used. b) By Defining a unique Hash pattern number along with the X and Y size in points (i.e. pixel size on the screen) of how often the defined pattern repeats. Note: The Line set simply consists of a defualt straight line pattern. c) By Defining a unique Hash pattern number, X, Y values and any given number of reference counted Hatch_Pattern objects. Its important to note that the usage of this class differs from other "heavy" attributes such as WT_Line_Pattern. Each custom parralel line specification is constructed by using the reference counted inner class, Hatch_Pattern. The use of reference counting makes the copying of the attribute a relatively cheap affair. However, it is important that access to the reference counted object be properly controlled by setting the reference count correctly or using a suitable smart pointer. DWFCore provides one such "smart pointer" in the guise of the DWFCore::DWFCountedObjectPointer.


Classes

class  WT_Attribute_URL
 Rendition attribute describing the a single or multiple-target hyperlink to be applied to a subsequent attribute of a given type. More...
class  WT_BlockRef
 Rendition attribute describing the currrent block reference. More...
class  WT_Code_Page
 Rendition attribute specifying the current code page (can be to assist with displaying localized strings.). More...
class  WT_Color
 Rendition attribute describing the currrent color. More...
class  WT_Color_Map
 Rendition attribute describing the currrent color map. More...
class  WT_Contrast_Color
 Attribute class for specifying a Background color. More...
class  WT_Dash_Pattern
 Rendition attribute describing a user definable line pattern. More...
class  WT_Fill
 Rendition attribute describing the current fill state (on or off.). More...
class  WT_Fill_Pattern
 Rendition attribute describing the current fill pattern. More...
class  WT_Font
 Rendition attribute describing the current text font. More...
class  WT_Font_Extension
 Rendition attribute containing additional information for a font. More...
class  WT_Layer
 Rendition attribute describing a layer - a relation to a group of objects. More...
class  WT_Line_Pattern
 Rendition attribute describing the current line pattern to be applied to subsequent lines and arcs. More...
class  WT_Line_Style
 Describes the attributes which affect rendered lines, polylines, and arcs. More...
class  WT_Line_Weight
 Rendition attribute describing the current line weight to be applied to subsequent lines and arcs. More...
class  WT_Macro_Index
 Rendition attribute describing the current macro to be used. More...
class  WT_Macro_Scale
 Rendition attribute describing the current Macro scale. More...
class  WT_Marker_Size
 Rendition attribute describing the current marker symbol size. More...
class  WT_Marker_Symbol
 Rendition attribute describing the current marker symbol. More...
class  WT_Merge_Control
 Rendition attribute suggesting the rendering behavior of overlapping objects. More...
class  WT_Object_Node
 Rendition attribute describing the current object node - a relation to a group of objects (similar to objects on the same layer.). More...
class  WT_Pen_Pattern
 Rendition attribute describing the current pen pattern. More...
class  WT_Projection
 Rendition attribute describing the indicates what portion of the drawing space is to be rendered. More...
class  WT_URL
 Rendition attribute describing the current single or multiple-target hyperlink to be applied to subsequent geometry. More...
class  WT_User_Fill_Pattern
 Attribute class for specifying a user defined fill pattern. More...
class  WT_User_Fill_Pattern::Fill_Pattern
class  WT_User_Hatch_Pattern
 Attribute class for specifying a user defined hatch pattern. More...
class  WT_User_Hatch_Pattern::Hatch_Pattern
class  WT_Viewport
 Rendition attribute defining the current viewport receiving the subsequent graphics. More...
class  WT_Visibility
 Rendition attribute which indicates whether subsequent graphics are to be visible. More...
WT_ID WT_Macro_Scale::object_id () const
 Returns the WT_ID for this object.
WT_Result WT_Macro_Scale::materialize (WT_Opcode const &opcode, WT_File &file)
 Materializes the contents of the object from the file and the given opcode.
WT_Result WT_Macro_Scale::process (WT_File &file)
 Calls the configured action handler for this object (passes in the file reference.).
WT_Result WT_Macro_Scale::skip_operand (WT_Opcode const &opcode, WT_File &file)
 Causes the file reading to proceed to the end of this object.
WT_Result WT_Macro_Scale::serialize (WT_File &file) const
 Forces the serialization of the object to the file.
WT_Result WT_Macro_Scale::sync (WT_File &file) const
 Serializes the attribute out to the file, if necessary.
WT_Boolean WT_Macro_Scale::operator== (WT_Attribute const &attrib) const
 Returns WD_True if the attributes are equal.
WT_ID WT_Marker_Size::object_id () const
 Returns the WT_ID for this object.
WT_Result WT_Marker_Size::materialize (WT_Opcode const &opcode, WT_File &file)
 Materializes the contents of the object from the file and the given opcode.
WT_Result WT_Marker_Size::process (WT_File &file)
 Calls the configured action handler for this object (passes in the file reference.).
WT_Result WT_Marker_Size::skip_operand (WT_Opcode const &opcode, WT_File &file)
 Causes the file reading to proceed to the end of this object.
WT_Result WT_Marker_Size::serialize (WT_File &file) const
 Forces the serialization of the object to the file.
WT_Result WT_Marker_Size::sync (WT_File &file) const
 Serializes the attribute out to the file, if necessary.
WT_Boolean WT_Marker_Size::operator== (WT_Attribute const &attrib) const
 Returns WD_True if the attributes are equal.

Functions

 WT_Attribute_URL::WT_Attribute_URL ()
 Constructs a WT_Attribute_URL object.
 WT_Attribute_URL::WT_Attribute_URL (WT_Attribute &attribute)
 Constructs a WT_Attribute_URL object with the given dependent attribute.
 WT_Attribute_URL::WT_Attribute_URL (WT_Attribute &attribute, WT_URL_Item &item)
 Constructs a WT_Attribute_URL object with the given dependent attribute and initial URL item.
 WT_Attribute_URL::WT_Attribute_URL (WT_Attribute &attribute, WT_Integer32 index, WT_Unsigned_Integer16 const *address, WT_Unsigned_Integer16 const *friendly_name)
 Constructs a WT_Attribute_URL object with the given initial data.
 WT_Attribute_URL::WT_Attribute_URL (WT_Attribute_URL const &url)
 Copy Constructor.
virtual WT_Attribute_URL::~WT_Attribute_URL ()
 WT_Contrast_Color::WT_Contrast_Color ()
 Default Constructor.
 WT_Contrast_Color::WT_Contrast_Color (WT_RGBA32 color)
 Constructor with WT_RGBA32 structure.
 WT_Contrast_Color::WT_Contrast_Color (int red, int green, int blue, int alpha=255)
 Constructor with individual color and alpha values.
 WT_Contrast_Color::WT_Contrast_Color (const WT_Contrast_Color &color)
 Copy Constructor.
virtual WT_Contrast_Color::~WT_Contrast_Color ()
WT_RGBA32 const & WT_Contrast_Color::color () const
WT_RGBA32WT_Contrast_Color::color ()
WT_Contrast_Color const & WT_Contrast_Color::operator= (WT_RGBA32 const &oColor)
void WT_Contrast_Color::set (int red, int green, int blue, int alpha)
 Sets the color with the given color and optional mapping mode.
void WT_Contrast_Color::set (int red, int green, int blue)
 Sets the color with the given color and optional mapping mode.
void WT_Contrast_Color::set (WT_RGBA32 color)
 Sets the color with the given color and optional mapping mode.
 WT_Fill::WT_Fill ()
 Constructs a WT_Fill object.
 WT_Fill::WT_Fill (WT_Boolean fill)
 Constructs a WT_Fill object with the given fill setting.
 WT_Fill::WT_Fill (WT_Fill const &fill)
 Copy Constructor.
virtual WT_Fill::~WT_Fill ()
 WT_Fill_Pattern::WT_Fill_Pattern ()
 Constructs a WT_Fill_Pattern object.
 WT_Fill_Pattern::WT_Fill_Pattern (WT_Pattern_ID n)
 Constructs a WT_Fill_Pattern with the given ID.
 WT_Fill_Pattern::WT_Fill_Pattern (WT_Fill_Pattern const &pattern)
 Copy Constructor.
virtual WT_Fill_Pattern::~WT_Fill_Pattern ()
 WT_Font::WT_Font ()
 Constructs a WT_Font object.
 WT_Font::WT_Font (WT_String name, WT_Boolean bold, WT_Boolean italic, WT_Boolean underline, WT_Byte charset, WT_Byte pitch, WT_Byte family, WT_Integer32 height, WT_Unsigned_Integer16 rotation, WT_Unsigned_Integer16 width_scale, WT_Unsigned_Integer16 spacing, WT_Unsigned_Integer16 oblique, WT_Integer32 flags=0)
 Constructs a WT_Font object from the given data.
 WT_Font::WT_Font (WT_Font const &font)
 Copy Constructor.
virtual WT_Font::~WT_Font ()
 WT_Font_Extension::WT_Font_Extension ()
 Constructs a WT_Font_Extension object.
 WT_Font_Extension::WT_Font_Extension (WT_String logfont_name, WT_String cannonical_name)
 Constructs a WT_Font_Extension object with the given data.
virtual WT_Font_Extension::~WT_Font_Extension ()
 WT_Line_Pattern::WT_Line_Pattern ()
 Constructs a WT_Line_Pattern object.
 WT_Line_Pattern::WT_Line_Pattern (WT_Pattern_ID id)
 Constructs a WT_Line_Pattern object with the given predefined pattern ID.
 WT_Line_Pattern::WT_Line_Pattern (WT_Line_Pattern const &pat)
virtual WT_Line_Pattern::~WT_Line_Pattern ()
 WT_Line_Weight::WT_Line_Weight ()
 Constructs a WT_Line_Weight object.
 WT_Line_Weight::WT_Line_Weight (WT_Integer32 weight)
 Constructs a WT_Line_Weight object with the given line weight.
 WT_Line_Weight::WT_Line_Weight (WT_Line_Weight const &copy)
 Constructs a WT_Line_Weight object with the given line weight.
virtual WT_Line_Weight::~WT_Line_Weight ()
 WT_Macro_Index::WT_Macro_Index ()
 Constructs a WT_Macro_Index object.
 WT_Macro_Index::WT_Macro_Index (WT_Integer32 macro)
 WT_Macro_Index::WT_Macro_Index (WT_Macro_Index const &index)
 Copy Constructor.
virtual WT_Macro_Index::~WT_Macro_Index ()
 WT_Macro_Scale::WT_Macro_Scale ()
 Constructs a WT_Macro_Scale object.
 WT_Macro_Scale::WT_Macro_Scale (WT_Integer32 macro_scale)
 Constructs a WT_Macro_Scale object with the given size (in drawing units.).
 WT_Macro_Scale::WT_Macro_Scale (WT_Macro_Scale const &scale)
 Copy Constructor.
virtual WT_Macro_Scale::~WT_Macro_Scale ()
const WT_Integer32WT_Macro_Scale::scale () const
 Returns the macro scale factor(in drawing units.).
WT_Integer32WT_Macro_Scale::scale ()
WT_Macro_Scale const & WT_Macro_Scale::operator= (WT_Integer32 nScale)
static WT_Result WT_Macro_Scale::default_process (WT_Macro_Scale &item, WT_File &file)
 Provides a default action handler for this attribute (e.g. sets the current rendition's corresponding attribute.).
 WT_Marker_Size::WT_Marker_Size ()
 Constructs a WT_Marker_Size object.
 WT_Marker_Size::WT_Marker_Size (WT_Integer32 marker_size)
 Constructs a WT_Marker_Size object with the given size (in drawing units.).
virtual WT_Marker_Size::~WT_Marker_Size ()
void WT_Marker_Size::set (WT_Integer32 size)
WT_Integer32 WT_Marker_Size::size () const
 Returns the marker size (in drawing units.).
static WT_Result WT_Marker_Size::default_process (WT_Marker_Size &item, WT_File &file)
 Provides a default action handler for this attribute (e.g. sets the current rendition's corresponding attribute.).
 WT_Marker_Symbol::WT_Marker_Symbol ()
 Constructs a WT_Marker_Symbol object.
 WT_Marker_Symbol::WT_Marker_Symbol (WT_Integer32 marker_symbol)
 Constructs a WT_Marker_Symbol object using the predefined symbol ID.
virtual WT_Marker_Symbol::~WT_Marker_Symbol ()
 WT_Merge_Control::WT_Merge_Control ()
 Constructs a WT_Merge_Control object.
 WT_Merge_Control::WT_Merge_Control (WT_Merge_Format merge)
 Constructs a WT_Merge_Control object with the given format.
 WT_Merge_Control::WT_Merge_Control (WT_Merge_Control const &merge_control)
 Copy Constuctor.
virtual WT_Merge_Control::~WT_Merge_Control ()
 WT_Pen_Pattern::WT_Pen_Pattern ()
 Constructs a WT_Pen_Pattern object.
 WT_Pen_Pattern::WT_Pen_Pattern (WT_Pattern_ID pattern_id)
 Constructs a WT_Pen_Pattern object with the given predefined pattern ID.
 WT_Pen_Pattern::WT_Pen_Pattern (WT_Pattern_ID pattern_id, WT_Unsigned_Integer32 screening_percentage, WT_Boolean colormap_flag, WT_Color_Map const *color_map, WT_Boolean copy) throw (WT_Result)
 Constructs a WT_Pen_Pattern object with the given data.
 WT_Pen_Pattern::WT_Pen_Pattern (WT_Pen_Pattern const &pattern) throw (WT_Result)
 Constructs a WT_Pen_Pattern object. Copy constructor.
virtual WT_Pen_Pattern::~WT_Pen_Pattern ()
 Destroys a a WT_Pen_Pattern object.
 WT_URL::WT_URL ()
 Constructs a WT_URL object.
 WT_URL::WT_URL (WT_URL_Item &item)
 Constructs a WT_URL object with the given initial URL item.
 WT_URL::WT_URL (WT_Integer32 index, WT_Unsigned_Integer16 const *address, WT_Unsigned_Integer16 const *friendly_name)
 Constructs a WT_URL object with the given initial hyperlink data.
 WT_URL::WT_URL (WT_URL const &url)
 Copy Constructor.
virtual WT_URL::~WT_URL ()
 WT_User_Fill_Pattern::WT_User_Fill_Pattern ()
 Constructs a WT_User_Fill_Pattern object.
 WT_User_Fill_Pattern::WT_User_Fill_Pattern (WT_Integer16 pattern_num)
 Constructs a WT_User_Fill_Pattern with the given ID.
 WT_User_Fill_Pattern::WT_User_Fill_Pattern (WT_Integer16 pattern_num, WT_Unsigned_Integer16 rows, WT_Unsigned_Integer16 columns, WT_Unsigned_Integer32 data_size, WT_Byte const *data)
 Constructs a WT_User_Fill_Pattern with a user defined bitonal bitmap passing in all the parameters.
 WT_User_Fill_Pattern::WT_User_Fill_Pattern (WT_Integer16 pattern_num, Fill_Pattern *fill_pattern)
 Constructs a WT_User_Fill_Pattern with a user defined bitonal bitmap using the reference counted Fill_Pattern class.
 WT_User_Fill_Pattern::WT_User_Fill_Pattern (WT_User_Fill_Pattern const &)
 Copy Constructor for the WT_User_Fill_Pattern.
virtual WT_User_Fill_Pattern::~WT_User_Fill_Pattern ()
 Destroys a WT_User_Fill_Pattern object.
 WT_User_Hatch_Pattern::WT_User_Hatch_Pattern ()
 Default Constructor.
 WT_User_Hatch_Pattern::WT_User_Hatch_Pattern (WT_Integer16 hashpatnum)
 WT_User_Hatch_Pattern::WT_User_Hatch_Pattern (WT_Integer16 hashpatnum, WT_Unsigned_Integer16 xsize, WT_Unsigned_Integer16 ysize)
 WT_User_Hatch_Pattern::WT_User_Hatch_Pattern (WT_User_Hatch_Pattern const &pattern)
 Copy constructor.
 WT_Viewport::WT_Viewport ()
 Constructs a WT_Viewport object.
 WT_Viewport::WT_Viewport (WT_Viewport const &vport) throw (WT_Result)
 Constructs a WT_Viewport object. Copy constructor.
 WT_Viewport::WT_Viewport (WT_File &file, char const *name, int num_points, WT_Logical_Point const *points, WT_Boolean copy=WD_True) throw (WT_Result)
 Constructs a WT_Viewport object with the given data.
 WT_Viewport::WT_Viewport (WT_File &file, WT_Unsigned_Integer16 const *name, int num_points, WT_Logical_Point const *points, WT_Boolean copy=WD_True) throw (WT_Result)
 Constructs a WT_Viewport object with the given data.
 WT_Viewport::WT_Viewport (WT_File &file, WT_String const &name, WT_Contour_Set const &boundary, WT_Boolean copy=WD_True) throw (WT_Result)
 Constructs a WT_Viewport object with the given data.
virtual WT_Viewport::~WT_Viewport ()
 Destroys a WT_Viewport object.
 WT_Visibility::WT_Visibility ()
 Constructs a WT_Visibility object.
 WT_Visibility::WT_Visibility (WT_Boolean visible)
 Constructs a WT_Visibility object with the given value.
 WT_Visibility::WT_Visibility (WT_Visibility const &visibility)
 Copy Constructor.


Function Documentation

static WT_Result WT_Marker_Size::default_process WT_Marker_Size item,
WT_File file
[static, inherited]
 

Provides a default action handler for this attribute (e.g. sets the current rendition's corresponding attribute.).

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

static WT_Result WT_Macro_Scale::default_process WT_Macro_Scale item,
WT_File file
[static, inherited]
 

Provides a default action handler for this attribute (e.g. sets the current rendition's corresponding attribute.).

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

WT_Result WT_Marker_Size::materialize WT_Opcode const &  opcode,
WT_File file
[virtual, inherited]
 

Materializes the contents of the object from the file and the given opcode.

Reads in the object data and causes the file reading to proceed to the end of this object.

Warning:
This is used by the framework and should not be called by client code.
Return values:
WT_Result::Success The operation was successful.
WT_Result::Opcode_Not_Valid_For_This_Object The object does not support the opcode type.
WT_Result::Internal_Error Something went very wrong.

Implements WT_Object.

WT_Result WT_Macro_Scale::materialize WT_Opcode const &  opcode,
WT_File file
[virtual, inherited]
 

Materializes the contents of the object from the file and the given opcode.

Reads in the object data and causes the file reading to proceed to the end of this object.

Warning:
This is used by the framework and should not be called by client code.
Return values:
WT_Result::Success The operation was successful.
WT_Result::Opcode_Not_Valid_For_This_Object The object does not support the opcode type.
WT_Result::Internal_Error Something went very wrong.

Implements WT_Object.

WT_Result WT_Marker_Size::process WT_File file  )  [virtual, inherited]
 

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_Macro_Scale::process WT_File file  )  [virtual, inherited]
 

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_Marker_Size::serialize WT_File file  )  const [virtual, inherited]
 

Forces the serialization of the object 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.

Implements WT_Attribute.

WT_Result WT_Macro_Scale::serialize WT_File file  )  const [virtual, inherited]
 

Forces the serialization of the object 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.

Implements WT_Attribute.

void WT_Contrast_Color::set WT_RGBA32  color  )  [inline, inherited]
 

Sets the color with the given color and optional mapping mode.

Parameters:
color  New color value.

Definition at line 103 of file contrastcolor.h.

void WT_Contrast_Color::set int  red,
int  green,
int  blue
[inline, inherited]
 

Sets the color with the given color and optional mapping mode.

Parameters:
red  Red coponent of RGBA color.
green  Green coponent of RGBA color.
blue  Blue coponent of RGBA color.

Definition at line 95 of file contrastcolor.h.

void WT_Contrast_Color::set int  red,
int  green,
int  blue,
int  alpha
[inline, inherited]
 

Sets the color with the given color and optional mapping mode.

Parameters:
red  Red coponent of RGBA color.
green  Green coponent of RGBA color.
blue  Blue coponent of RGBA color.

Definition at line 86 of file contrastcolor.h.

WT_Result WT_Marker_Size::skip_operand WT_Opcode const &  opcode,
WT_File file
[virtual, inherited]
 

Causes the file reading to proceed to the end of this object.

Warning:
This is used by the framework and should not be called by client code.
Bug:
Not all objects perform skip_operand() correctly; this is a known problem. For best results, if client code must use WT_File::get_next_object_shell() manually, it should also call the corresponding WT_Object::materialize() method to avoid this problem.
See also:
WT_File::get_next_object_shell(), WT_File_Heuristics::set_deferred_delete().

Reimplemented from WT_Object.

WT_Result WT_Macro_Scale::skip_operand WT_Opcode const &  opcode,
WT_File file
[virtual, inherited]
 

Causes the file reading to proceed to the end of this object.

Warning:
This is used by the framework and should not be called by client code.
Bug:
Not all objects perform skip_operand() correctly; this is a known problem. For best results, if client code must use WT_File::get_next_object_shell() manually, it should also call the corresponding WT_Object::materialize() method to avoid this problem.
See also:
WT_File::get_next_object_shell(), WT_File_Heuristics::set_deferred_delete().

Reimplemented from WT_Object.

WT_Result WT_Marker_Size::sync WT_File file  )  const [virtual, inherited]
 

Serializes the attribute out 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.
See also:
WT_File::desired_rendition().

Implements WT_Attribute.

WT_Result WT_Macro_Scale::sync WT_File file  )  const [virtual, inherited]
 

Serializes the attribute out 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.
See also:
WT_File::desired_rendition().

Implements WT_Attribute.

WT_Attribute_URL::WT_Attribute_URL WT_Attribute attribute,
WT_Integer32  index,
WT_Unsigned_Integer16 const *  address,
WT_Unsigned_Integer16 const *  friendly_name
[inherited]
 

Constructs a WT_Attribute_URL object with the given initial data.

Parameters:
attribute  Attribute to which this object's URLs apply.
index  Unique index for this hyperlink.
address  Machine-readable target for this hyperlink.
friendly_name  Human-readable friendly name for this hyperlink.

WT_Contrast_Color::WT_Contrast_Color int  red,
int  green,
int  blue,
int  alpha = 255
[inline, inherited]
 

Constructor with individual color and alpha values.

Parameters:
red  Red coponent of RGBA color.
green  Green coponent of RGBA color.
blue  Blue coponent of RGBA color.
alpha  Alpha component of RGBA color (0 = transparent, 255 = opaque.)

Definition at line 62 of file contrastcolor.h.

WT_Font::WT_Font WT_String  name,
WT_Boolean  bold,
WT_Boolean  italic,
WT_Boolean  underline,
WT_Byte  charset,
WT_Byte  pitch,
WT_Byte  family,
WT_Integer32  height,
WT_Unsigned_Integer16  rotation,
WT_Unsigned_Integer16  width_scale,
WT_Unsigned_Integer16  spacing,
WT_Unsigned_Integer16  oblique,
WT_Integer32  flags = 0
[inherited]
 

Constructs a WT_Font object from the given data.

Parameters:
name  Font name.
bold  Boldface option.
italic  Italics option.
underline  Underline option.
charset  Character set code as defined in WT_Font_Option_Charset::Font_Charset_Code.
pitch  Pitch bitmask as defined in WT_Font_Option_Pitch::Font_Pitch_Flags.
family  Font family as defined in WT_Font_Option_Pitch::Font_Family_Flags.
height  Font height in drawing units.
rotation  Font rotation in 360/65636ths of a degree.
width_scale  The desired width scaling (multiplied by 1024) to be applied to the font. A value of 1024 indicates no scaling, whereas 2048 indicates a font twice as wide as normal, and 512 indicates a font 1/2 as wide as normal. May range from a value of one (1/1024 of normal) to 65535 (64 times normal).
spacing  The desired inter-character spacing scale (multiplied by 1024) to be applied to the font. A value of 1024 indicates normal inter-character spacing, whereas 2048 indicates spacing that is twice as wide as normal, and 512 indicates spacing that is 1/2 as wide as normal. May range from a value of one (1/1024 of normal) to 65535 (64 times normal).
oblique  The desired rotation of the individual characters within the font in 360/65636ths of a degree. Note that rotation describes how the entire string is rotated, whereas oblique rotates the characters in place.
flags  RESERVED. The font flags are rarely used.

WT_Font_Extension::WT_Font_Extension WT_String  logfont_name,
WT_String  cannonical_name
[inline, inherited]
 

Constructs a WT_Font_Extension object with the given data.

Parameters:
logfont_name  The font name as it would appear in a LOGFONT structure.
cannonical_name  The cannonical font name.

Definition at line 68 of file font_extension.h.

WT_Line_Weight::WT_Line_Weight WT_Line_Weight const &  copy  )  [inline, inherited]
 

Constructs a WT_Line_Weight object with the given line weight.

Parameters:
copy  The line weight, in drawing units (0 indicates a 1-pixel line. Negative values are undefined.)

Definition at line 63 of file lweight.h.

WT_Line_Weight::WT_Line_Weight WT_Integer32  weight  )  [inline, inherited]
 

Constructs a WT_Line_Weight object with the given line weight.

Parameters:
weight  The line weight, in drawing units (0 indicates a 1-pixel line. Negative values are undefined.)

Definition at line 55 of file lweight.h.

WT_Macro_Index::WT_Macro_Index WT_Integer32  macro  )  [inline, inherited]
 

Constructs a WT_Macro_Index object using the Macro index. if the macro dosent exist it will be ignored

Definition at line 56 of file macro_index.h.

WT_Marker_Size::WT_Marker_Size  )  [inline, inherited]
 

Constructs a WT_Marker_Size object.

Warning:
This is provided as a service for objects that extend WT_Marker_Size

Definition at line 54 of file marksize.h.

WT_Pen_Pattern::WT_Pen_Pattern WT_Pattern_ID  pattern_id,
WT_Unsigned_Integer32  screening_percentage,
WT_Boolean  colormap_flag,
WT_Color_Map const *  color_map,
WT_Boolean  copy
throw (WT_Result) [inherited]
 

Constructs a WT_Pen_Pattern object with the given data.

Parameters:
pattern_id  The pen or face pattern ID, one of enum WT_Pattern_ID.
screening_percentage  If specified, pattern_id must be one of Screening_Black, Screening_Alternate, Screening_Block, Screening_Dots, Screening_Big_Dots.
colormap_flag  Indicates whether the color_map contains valid content.
color_map  A 2-color map, indicating background and foreground colors respectively.

WT_URL::WT_URL WT_Integer32  index,
WT_Unsigned_Integer16 const *  address,
WT_Unsigned_Integer16 const *  friendly_name
[inherited]
 

Constructs a WT_URL object with the given initial hyperlink data.

Parameters:
index  Unique index for this hyperlink.
address  Machine-readable target for this hyperlink.
friendly_name  Human-readable friendly name for this hyperlink.

WT_User_Fill_Pattern::WT_User_Fill_Pattern WT_Integer16  pattern_num,
Fill_Pattern fill_pattern
[inherited]
 

Constructs a WT_User_Fill_Pattern with a user defined bitonal bitmap using the reference counted Fill_Pattern class.

Parameters:
pattern_num  The unique numeric identifier of the fill pattern in the graphics collection.

WT_User_Fill_Pattern::WT_User_Fill_Pattern WT_Integer16  pattern_num,
WT_Unsigned_Integer16  rows,
WT_Unsigned_Integer16  columns,
WT_Unsigned_Integer32  data_size,
WT_Byte const *  data
[inherited]
 

Constructs a WT_User_Fill_Pattern with a user defined bitonal bitmap passing in all the parameters.

The raw pixel data that will be copied.

Parameters:
pattern_num  The unique numeric identifier of the fill pattern in the graphics collection.
rows  Height of the bitonal bitmap in pixels.
columns  Width of the bitonal bitmap in pixels.
data_size  The size (in bytes) of the raw image data contained in the data argument.

WT_User_Hatch_Pattern::WT_User_Hatch_Pattern WT_Integer16  hashpatnum,
WT_Unsigned_Integer16  xsize,
WT_Unsigned_Integer16  ysize
[inline, inherited]
 

Constructor using a unique hashpatnum along with the X and Y size of the line patterns in points. Note: If the haspatnum is not unique it will replace the previously occuring WT_User_Hatch_Pattern atrribute for any subsequent usage of this attribute with the hashpatnum.

Definition at line 169 of file usrhatchpat.h.

WT_User_Hatch_Pattern::WT_User_Hatch_Pattern WT_Integer16  hashpatnum  )  [inline, inherited]
 

Constructor using a previously defined hashpatnum. Note: if the haspatnum is unique the DWF Viewer will simply ignore this attribute.

Definition at line 159 of file usrhatchpat.h.

WT_Viewport::WT_Viewport WT_File file,
WT_String const &  name,
WT_Contour_Set const &  boundary,
WT_Boolean  copy = WD_True
throw (WT_Result) [inherited]
 

Constructs a WT_Viewport object with the given data.

Parameters:
file  The file being written.
name  The viewport name.
boundary  A contour set defining the viewport.
copy  Whether the points should be copied or if their addresses should be used directly from the array.

WT_Viewport::WT_Viewport WT_File file,
WT_Unsigned_Integer16 const *  name,
int  num_points,
WT_Logical_Point const *  points,
WT_Boolean  copy = WD_True
throw (WT_Result) [inherited]
 

Constructs a WT_Viewport object with the given data.

Parameters:
file  The file being written.
name  The viewport name.
num_points  The number of points in the viewport.
points  An array of points defining the viewport.
copy  Whether the points should be copied or if their addresses should be used directly from the array.

WT_Viewport::WT_Viewport WT_File file,
char const *  name,
int  num_points,
WT_Logical_Point const *  points,
WT_Boolean  copy = WD_True
throw (WT_Result) [inherited]
 

Constructs a WT_Viewport object with the given data.

Parameters:
file  The file being written.
name  The viewport name.
num_points  The number of points in the viewport.
points  An array of points defining the viewport.
copy  Whether the points should be copied or if their addresses should be used directly from the array.


Generated on Tue Jan 6 22:41:29 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5