#include <pdf_page.h>
Public Member Functions | |
PDFRenderAttributes () | |
PDFRenderAttributes (const PDFRenderAttributes &attr) | |
~PDFRenderAttributes () | |
PDFRenderAttributes & | operator= (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 |
Definition at line 39 of file pdf_page.h.
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.
pdf::PDFRenderAttributes::~PDFRenderAttributes | ( | ) | [inline] |
Definition at line 54 of file pdf_page.h.
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().
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().
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().
PDFRenderAttributes& pdf::PDFRenderAttributes::operator= | ( | const PDFRenderAttributes & | right | ) | [inline] |
Definition at line 56 of file pdf_page.h.
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.
void pdf::PDFRenderAttributes::set_rotate | ( | int | r | ) | [inline] |
Definition at line 79 of file pdf_page.h.
void pdf::PDFRenderAttributes::set_zoom_setting | ( | double | z | ) | [inline] |
Definition at line 76 of file pdf_page.h.