pdf::PDFRenderAttributes Class Reference

#include <pdf_page.h>

Public Member Functions

 PDFRenderAttributes ()
 PDFRenderAttributes (const PDFRenderAttributes &attr)
 ~PDFRenderAttributes ()
PDFRenderAttributesoperator= (const PDFRenderAttributes &right)
bool operator== (const PDFRenderAttributes &right) const
void set_zoom_setting (double z)
double get_zoom_setting () const
void set_rotate (int r)
int get_rotate () const
void set_real_zoom_value (double z)
double get_real_zoom_value () const

Detailed Description

Definition at line 39 of file pdf_page.h.


Constructor & Destructor Documentation

pdf::PDFRenderAttributes::PDFRenderAttributes (  )  [inline]

Definition at line 42 of file pdf_page.h.

00043         : zoom_setting(PLUGIN_ZOOM_DEFAULT)
00044         , real_zoom_value(PLUGIN_ZOOM_DEFAULT)
00045         , rotate(0)
00046     {}

pdf::PDFRenderAttributes::PDFRenderAttributes ( const PDFRenderAttributes attr  )  [inline]

Definition at line 48 of file pdf_page.h.

00049         : zoom_setting(attr.zoom_setting)
00050         , real_zoom_value(attr.real_zoom_value)
00051         , rotate(attr.rotate)
00052     {}

pdf::PDFRenderAttributes::~PDFRenderAttributes (  )  [inline]

Definition at line 54 of file pdf_page.h.

00054 {}


Member Function Documentation

double pdf::PDFRenderAttributes::get_real_zoom_value (  )  const [inline]

Definition at line 83 of file pdf_page.h.

Referenced by pdf::PDFRenderTask::execute(), pdf::PDFPage::render_splash_map(), and pdf::PDFPage::render_text().

00083 {return real_zoom_value;}

Here is the caller graph for this function:

int pdf::PDFRenderAttributes::get_rotate (  )  const [inline]

Definition at line 80 of file pdf_page.h.

Referenced by pdf::PDFPage::render_splash_map(), pdf::PDFPage::render_text(), and pdf::PluginRenderSettingsImpl::rotation().

00080 {return rotate;}

Here is the caller graph for this function:

double pdf::PDFRenderAttributes::get_zoom_setting (  )  const [inline]

Definition at line 77 of file pdf_page.h.

Referenced by pdf::PDFRenderer::post_render_task(), and pdf::PluginRenderSettingsImpl::zoom().

00077 {return zoom_setting;}

Here is the caller graph for this function:

PDFRenderAttributes& pdf::PDFRenderAttributes::operator= ( const PDFRenderAttributes right  )  [inline]

Definition at line 56 of file pdf_page.h.

00057     {
00058         if (*this == right)
00059         {
00060             return *this;
00061         }
00062 
00063         zoom_setting = right.zoom_setting;
00064         real_zoom_value = right.real_zoom_value;
00065         rotate = right.rotate;
00066         return *this;
00067     }

bool pdf::PDFRenderAttributes::operator== ( const PDFRenderAttributes right  )  const [inline]

Definition at line 69 of file pdf_page.h.

References ZERO_RANGE.

00070     {
00071         return ((fabs(this->zoom_setting - right.zoom_setting) < ZERO_RANGE) &&
00072                 (fabs(this->real_zoom_value - right.real_zoom_value) < ZERO_RANGE) &&
00073                 this->rotate == right.rotate);
00074     }

void pdf::PDFRenderAttributes::set_real_zoom_value ( double  z  )  [inline]

Definition at line 82 of file pdf_page.h.

00082 {real_zoom_value = z;}

void pdf::PDFRenderAttributes::set_rotate ( int  r  )  [inline]

Definition at line 79 of file pdf_page.h.

00079 {rotate = r;}

void pdf::PDFRenderAttributes::set_zoom_setting ( double  z  )  [inline]

Definition at line 76 of file pdf_page.h.

00076 {zoom_setting = z;}


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