WT_User_Fill_Pattern::Fill_Pattern Class Reference
[Rendition attributes]

#include <usrfillpat.h>

Inheritance diagram for WT_User_Fill_Pattern::Fill_Pattern:

Inheritance graph
[legend]
Collaboration diagram for WT_User_Fill_Pattern::Fill_Pattern:

Collaboration graph
[legend]
List of all members.

Detailed Description

Reference counted class Fill_Pattern consists of a user defined Bitonal Bitmap This is used to ensure that the bitmap data is not copied around along with the parent WT_User_Fill_Pattern class.

Definition at line 49 of file usrfillpat.h.

Public Member Functions

WHIPTK_API WT_Unsigned_Integer16 rows () const
 Returns the height of the bitonal bitmap used in this fill pattern.
WHIPTK_API WT_Unsigned_Integer16 columns () const
 Returns the width of the bitonal bitmap used in this fill pattern.
WHIPTK_API WT_Unsigned_Integer32 data_size () const
 Returns the size in WT_Byte's of the bitmap data.
WHIPTK_API const WT_Bytedata () const
 Returns a const pointer to the data.
WHIPTK_API WT_Boolean operator== (Fill_Pattern const &) const
 Comparison operator.
WHIPTK_API WT_Boolean operator!= (Fill_Pattern const &pattern)
 Not equal to operator.

Static Public Member Functions

static Fill_PatternConstruct (WT_Unsigned_Integer16 rows, WT_Unsigned_Integer16 columns, WT_Unsigned_Integer32 data_size=0, WT_Byte const *data=WD_Null)
 Static construct method that creates this reference counted object on the heap.

Protected Member Functions

WHIPTK_API Fill_Pattern (WT_Unsigned_Integer16 rows, WT_Unsigned_Integer16 columns, WT_Unsigned_Integer32 data_size, WT_Byte const *data) throw ()
 Protected Costructor.
virtual WHIPTK_API ~Fill_Pattern () throw ()
 Protected Destructor is called only from the base class.


Constructor & Destructor Documentation

WHIPTK_API WT_User_Fill_Pattern::Fill_Pattern::Fill_Pattern WT_Unsigned_Integer16  rows,
WT_Unsigned_Integer16  columns,
WT_Unsigned_Integer32  data_size,
WT_Byte const *  data
throw () [protected]
 

Protected Costructor.

The raw pixel data.

Parameters:
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.


Member Function Documentation

static Fill_Pattern* WT_User_Fill_Pattern::Fill_Pattern::Construct WT_Unsigned_Integer16  rows,
WT_Unsigned_Integer16  columns,
WT_Unsigned_Integer32  data_size = 0,
WT_Byte const *  data = WD_Null
[inline, static]
 

Static construct method that creates this reference counted object on the heap.

Parameters:
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.
data  The raw pixel data.

Definition at line 53 of file usrfillpat.h.


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