WT_XAML_PNG_Group4_Image Class Reference
[GroupDrawable]

#include <XamlPNGGroup4Image.h>

List of all members.


Detailed Description

A drawable describing an image (PNG and bitonal).

An example of creating all of the different image types is provided in the sample app W2DTest accompanying the WHIP! Toolkit source distribution. It is too lengthy to be included here in this API doc.

Definition at line 40 of file XamlPNGGroup4Image.h.

Public Member Functions

WT_Result parseAttributeList (XamlXML::tAttributeMap &rMap, WT_XAML_File &rFile)
 partial materialization of shell from W2X

Protected Member Functions

 WT_XAML_PNG_Group4_Image ()
 Constructs a WT_PNG_Group4_Image object.
 WT_XAML_PNG_Group4_Image (int image_type)
 WT_XAML_PNG_Group4_Image (WT_Unsigned_Integer16 rows, WT_Unsigned_Integer16 columns, WT_PNG_Group4_Image_Format format, WT_Integer32 identifier, WT_Color_Map const *color_map, WT_Integer32 data_size, WT_Byte *data, WT_Logical_Point const &min_corner, WT_Logical_Point const &max_corner, WT_Boolean copy, WT_Integer32 dpi=-1) throw (WT_Result)
 Constructs a WT_XAML_PNG_Group4_Image object with the given data.
WT_XAML_PNG_Group4_Imageoperator= (WT_XAML_PNG_Group4_Image const &)
virtual ~WT_XAML_PNG_Group4_Image ()
 Destroys a WT_XAML_PNG_Group4_Image object.

Friends

class WT_XAML_Class_Factory


Constructor & Destructor Documentation

WT_XAML_PNG_Group4_Image::WT_XAML_PNG_Group4_Image int  image_type  )  [inline, protected]
 

Constructs a WT_XAML_PNG_Group4_Image object. Constructs a WT_XAML_PNG_Group4_Image object of the given type (one of enum WT_PNG_Group4_Image_Format.)

Definition at line 66 of file XamlPNGGroup4Image.h.

WT_XAML_PNG_Group4_Image::WT_XAML_PNG_Group4_Image WT_Unsigned_Integer16  rows,
WT_Unsigned_Integer16  columns,
WT_PNG_Group4_Image_Format  format,
WT_Integer32  identifier,
WT_Color_Map const *  color_map,
WT_Integer32  data_size,
WT_Byte *  data,
WT_Logical_Point const &  min_corner,
WT_Logical_Point const &  max_corner,
WT_Boolean  copy,
WT_Integer32  dpi = -1
throw (WT_Result) [inline, protected]
 

Constructs a WT_XAML_PNG_Group4_Image object with the given data.

Parameters:
rows  Height of the image in pixels.
columns  Width of the image in pixels.
format  The image format (one of enum WT_PNG_Group4_Image_Format.)
identifier  The unique numeric identifier of the image in the graphics collection.
color_map  The color map the image should use (if any.)
data_size  The size (in bytes) of the raw image data contained in the data argument.
data  The raw pixel data.
min_corner  The lower-left corner of the image.
max_corner  The upper-right corner of the image.
copy  Whether the pixel data should be copied or if it should be used directly from the buffer.
dpi  Scanned resolution for the image.

Definition at line 72 of file XamlPNGGroup4Image.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:14 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5