images::ImagePageAttrs Struct Reference

Represent render attributes. More...

#include <image_page.h>

Public Member Functions

 ImagePageAttrs ()
 Default constructor.
ImagePageAttrsoperator= (const ImagePageAttrs &right)
 Operator =.

Data Fields

int original_width
 The original image width.
int original_height
 The original image height.
int desired_width
 The desired image width.
int desired_height
 The desired image height.
int row_stride
 Image width 4 bytes alignment.
int original_color_depth
 The original color depth.
int desired_color_depth
 The desired color depth.
float zoom
 The zoom factor.
PluginRotationDegree rotation
 The rotation as requested by uds.
PluginRotationDegree final_rotation
 The rotation as decided by plugin.
unsigned char * data
 Image data.

Detailed Description

Represent render attributes.

Definition at line 45 of file image_page.h.


Constructor & Destructor Documentation

images::ImagePageAttrs::ImagePageAttrs (  )  [inline]

Default constructor.

Definition at line 64 of file image_page.h.

00065         : original_width(0)
00066         , original_height(0)
00067         , desired_width(0)
00068         , desired_height(0)
00069         , row_stride(0)
00070         , original_color_depth(0)
00071         , desired_color_depth(DEFAULT_COLOR_DEPTH)
00072         , zoom(DEFAULT_ZOOM_FACTOR)
00073         , rotation(DEFAULT_ROTATION)
00074         , final_rotation(DEFAULT_ROTATION)
00075         , data(0)
00076     {}


Member Function Documentation

ImagePageAttrs& images::ImagePageAttrs::operator= ( const ImagePageAttrs right  )  [inline]

Operator =.

Definition at line 79 of file image_page.h.

References data, desired_color_depth, desired_height, desired_width, final_rotation, original_height, original_width, rotation, row_stride, and zoom.

00080     {
00081         if (this != &right)
00082         {
00083             original_width = right.original_width;
00084             original_height = right.original_height;
00085             desired_width = right.desired_width;
00086             desired_height = right.desired_height;
00087             row_stride = right.row_stride;
00088             desired_color_depth = right.desired_color_depth;
00089             zoom = right.zoom;
00090             rotation = right.rotation;
00091             final_rotation = right.final_rotation;
00092             data = right.data;
00093         }
00094         return *this;
00095     }


Field Documentation

Image data.

Definition at line 61 of file image_page.h.

Referenced by operator=().

The desired color depth.

Definition at line 53 of file image_page.h.

Referenced by images::ImagePage::estimate_length(), images::ImagePage::ImagePage(), and operator=().

The rotation as decided by plugin.

Definition at line 60 of file image_page.h.

Referenced by images::ImagePage::calc_desired_dimension(), images::ImagePage::ImagePage(), and operator=().

The original color depth.

Definition at line 52 of file image_page.h.

Image width 4 bytes alignment.

Definition at line 51 of file image_page.h.

Referenced by images::ImagePage::length(), and operator=().


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.2-20100208