pdf::PDFViewAttributes Class Reference

#include <pdf_renderer.h>

Public Member Functions

 PDFViewAttributes ()
 PDFViewAttributes (const PDFViewAttributes &attr)
 ~PDFViewAttributes ()
PDFViewAttributesoperator= (const PDFViewAttributes &right)
bool operator== (const PDFViewAttributes &right)
void set_device_dpi_h (double h)
double get_device_dpi_h () const
void set_device_dpi_v (double v)
double get_device_dpi_v () const
void set_display_width (const int w)
int get_display_width () const
void set_display_height (const int h)
int get_display_height () const
void set_color_depth (const unsigned int c)
unsigned int get_color_depth () const

Detailed Description

Definition at line 44 of file pdf_renderer.h.


Constructor & Destructor Documentation

pdf::PDFViewAttributes::PDFViewAttributes (  )  [inline]

Definition at line 47 of file pdf_renderer.h.

00048         : display_width(200)
00049         , display_height(200)
00050         , color_depth(8)
00051         , device_dpi_v(72.0)
00052         , device_dpi_h(72.0)
00053     {}

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

Definition at line 55 of file pdf_renderer.h.

00056         : display_width(attr.display_width)
00057         , display_height(attr.display_height)
00058         , color_depth(attr.color_depth)
00059         , device_dpi_v(attr.device_dpi_v)
00060         , device_dpi_h(attr.device_dpi_h)
00061     {}

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

Definition at line 63 of file pdf_renderer.h.

00063 {}


Member Function Documentation

unsigned int pdf::PDFViewAttributes::get_color_depth (  )  const [inline]

Definition at line 101 of file pdf_renderer.h.

00101 {return color_depth;}

double pdf::PDFViewAttributes::get_device_dpi_h (  )  const [inline]

Definition at line 91 of file pdf_renderer.h.

Referenced by pdf::PDFPage::get_content_area(), pdf::PDFController::get_page_crop_width(), pdf::PDFPage::render_splash_map(), and pdf::PDFPage::render_text().

00091 {return device_dpi_h;}

Here is the caller graph for this function:

double pdf::PDFViewAttributes::get_device_dpi_v (  )  const [inline]

Definition at line 93 of file pdf_renderer.h.

Referenced by pdf::PDFPage::get_content_area(), pdf::PDFController::get_page_crop_height(), pdf::PDFPage::render_splash_map(), and pdf::PDFPage::render_text().

00093 {return device_dpi_v;}

Here is the caller graph for this function:

int pdf::PDFViewAttributes::get_display_height (  )  const [inline]

Definition at line 98 of file pdf_renderer.h.

00098 {return display_height;}

int pdf::PDFViewAttributes::get_display_width (  )  const [inline]

Definition at line 96 of file pdf_renderer.h.

00096 {return display_width;}

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

Definition at line 65 of file pdf_renderer.h.

00066     {
00067         if (*this == right)
00068         {
00069             return *this;
00070         }
00071 
00072         display_width = right.display_width;
00073         display_height = right.display_height;
00074         color_depth  = right.color_depth;
00075         device_dpi_v = right.device_dpi_v;
00076         device_dpi_h = right.device_dpi_h;
00077 
00078         return *this;
00079     }

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

Definition at line 81 of file pdf_renderer.h.

00082     {
00083         return (this->display_width == right.display_width
00084             && this->display_height == right.display_height
00085             && this->color_depth == right.color_depth
00086             && this->device_dpi_v == right.device_dpi_v
00087             && this->device_dpi_h == right.device_dpi_h);
00088     }

void pdf::PDFViewAttributes::set_color_depth ( const unsigned int  c  )  [inline]

Definition at line 100 of file pdf_renderer.h.

00100 {color_depth = c;}

void pdf::PDFViewAttributes::set_device_dpi_h ( double  h  )  [inline]

Definition at line 90 of file pdf_renderer.h.

00090 {device_dpi_h = h;}

void pdf::PDFViewAttributes::set_device_dpi_v ( double  v  )  [inline]

Definition at line 92 of file pdf_renderer.h.

00092 {device_dpi_v = v;}

void pdf::PDFViewAttributes::set_display_height ( const int  h  )  [inline]

Definition at line 97 of file pdf_renderer.h.

00097 {display_height = h;}

void pdf::PDFViewAttributes::set_display_width ( const int  w  )  [inline]

Definition at line 95 of file pdf_renderer.h.

00095 {display_width = w;}


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