CPageInfo Class Reference

#include <PageInfo.h>

List of all members.

Public Member Functions

 CPageInfo (void)
 ~CPageInfo (void)
void initialize ()
void clear ()
GBool isSame (const int pn, const double zoom, const int rotate)
double calZoom ()

Public Attributes

double pageDx
double pageDy
int pageRotate
double pageZoom
double hDPI
double vDPI
int rotate
int pageNumber
int timestamp
int attributes
SplashBitmap * bitmap
Links * links
TextPage * text
double ctm [6]
double ictm [6]


Detailed Description

Definition at line 42 of file PageInfo.h.


Constructor & Destructor Documentation

CPageInfo::CPageInfo ( void   ) 

Definition at line 27 of file PageInfo.cpp.

00028 {
00029     initialize();
00030 }

Here is the call graph for this function:

CPageInfo::~CPageInfo ( void   ) 

Definition at line 32 of file PageInfo.cpp.

00033 {
00034     clear();
00035 }

Here is the call graph for this function:


Member Function Documentation

void CPageInfo::initialize (  ) 

Definition at line 37 of file PageInfo.cpp.

00038 {
00039     memset(this, 0, sizeof(CPageInfo));
00040 }

void CPageInfo::clear (  ) 

Definition at line 42 of file PageInfo.cpp.

00043 {
00044     if (bitmap)
00045     {
00046         delete bitmap; bitmap = NULL;
00047     }
00048     if (links) 
00049     {
00050         delete links; links = NULL;
00051     }
00052     if (text) 
00053     {
00054         delete text; text = NULL;
00055     }
00056 }

GBool CPageInfo::isSame ( const int  pn,
const double  zoom,
const int  rotate 
)

Definition at line 58 of file PageInfo.cpp.

00059 {
00060     if (pn == pageNumber && rot == rotate)
00061     {
00062         return (fabs(zoom - pageZoom) < e);
00063     }
00064     return gFalse;
00065 }

double CPageInfo::calZoom (  ) 

Definition at line 67 of file PageInfo.cpp.

00068 {
00069     return pageZoom;
00070 }


Member Data Documentation

Definition at line 49 of file PageInfo.h.

Definition at line 50 of file PageInfo.h.

Definition at line 51 of file PageInfo.h.

Definition at line 52 of file PageInfo.h.

Definition at line 53 of file PageInfo.h.

Definition at line 54 of file PageInfo.h.

Definition at line 55 of file PageInfo.h.

Definition at line 56 of file PageInfo.h.

Definition at line 57 of file PageInfo.h.

Definition at line 58 of file PageInfo.h.

SplashBitmap* CPageInfo::bitmap

Definition at line 61 of file PageInfo.h.

Definition at line 62 of file PageInfo.h.

TextPage* CPageInfo::text

Definition at line 63 of file PageInfo.h.

double CPageInfo::ctm[6]

Definition at line 64 of file PageInfo.h.

double CPageInfo::ictm[6]

Definition at line 65 of file PageInfo.h.


The documentation for this class was generated from the following files:

Generated on Wed Feb 4 18:26:11 2009 by  doxygen 1.5.6