Represent render attributes. More...
#include <image_page.h>
Public Member Functions | |
ImagePageAttrs () | |
Default constructor. | |
ImagePageAttrs & | operator= (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. |
Represent render attributes.
Definition at line 45 of file image_page.h.
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 {}
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 }
unsigned char* images::ImagePageAttrs::data |
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 desired image height.
Definition at line 50 of file image_page.h.
Referenced by images::ImagePage::calc_desired_dimension(), images::ImagePage::estimate_length(), images::ImagesRenderer::get_page(), images::ImagePage::ImagePage(), images::ImagePage::length(), main(), and operator=().
The desired image width.
Definition at line 49 of file image_page.h.
Referenced by images::ImagePage::calc_desired_dimension(), images::ImagePage::estimate_length(), images::ImagesRenderer::get_page(), images::ImagePage::ImagePage(), main(), 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.
The original image height.
Definition at line 48 of file image_page.h.
Referenced by images::ImagePage::calc_desired_dimension(), images::ImagesRenderer::can_render(), images::ImagePage::estimate_length(), images::ImagePage::ImagePage(), and operator=().
The original image width.
Definition at line 47 of file image_page.h.
Referenced by images::ImagePage::calc_desired_dimension(), images::ImagesRenderer::can_render(), images::ImagePage::estimate_length(), images::ImagePage::ImagePage(), and operator=().
The rotation as requested by uds.
Definition at line 59 of file image_page.h.
Referenced by images::ImagePage::calc_desired_dimension(), images::ImageRenderTask::execute(), images::ImagesRenderer::get_page(), images::ImagePage::ImagePage(), main(), images::ImagePage::operator()(), operator=(), images::ImagePage::operator==(), and images::ImagesRenderer::render().
Image width 4 bytes alignment.
Definition at line 51 of file image_page.h.
Referenced by images::ImagePage::length(), and operator=().
The zoom factor.
Definition at line 54 of file image_page.h.
Referenced by images::ImagePage::calc_desired_dimension(), images::ImageRenderTask::execute(), images::ImagesRenderer::get_page(), images::ImagePage::ImagePage(), main(), images::ImagePage::operator()(), operator=(), images::ImagePage::operator==(), and images::ImagesRenderer::render().