PDFPage Class Reference

Class implements a page of a pdf document. More...

#include <PDFgraphing.h>

List of all members.

Public Member Functions

 PDFPage ()
 ~PDFPage ()
void writeContents (ostream &os)
 Write the contents of the page into a stream using PDF format.
void addObject (PDFPageObject *obj)
 Add a pdf object to a page.

Static Public Member Functions

static int width ()
 The actual width of the page (no margins).
static int height ()
 The actual height of the page (no margins).
static int mWidth ()
 Width of the page excluding margins.
static int mHeight ()
 Height of the page excluding margins.
static int mRightEnd ()
 Coordinate of the right end of the page (excluding right margin).
static int mBottomEnd ()
 Coordinate of the bottom end of the page (excluding the margin).
static int lMargin ()
 Left margin.
static int rMargin ()
 Right margin.
static int tMargin ()
 Top margin.
static int bMargin ()
 Bottom margin.

Private Attributes

vector< PDFPageObject * > theObjects

Detailed Description

Class implements a page of a pdf document.

Definition at line 375 of file PDFgraphing.h.


Constructor & Destructor Documentation

PDFPage::PDFPage (  )  [inline]

Definition at line 385 of file PDFgraphing.h.

PDFPage::~PDFPage (  )  [inline]

Definition at line 386 of file PDFgraphing.h.

References theObjects.


Member Function Documentation

void PDFPage::addObject ( PDFPageObject obj  )  [inline]

Add a pdf object to a page.

Definition at line 398 of file PDFgraphing.h.

References theObjects.

static int PDFPage::bMargin (  )  [inline, static]

Bottom margin.

Definition at line 421 of file PDFgraphing.h.

Referenced by mHeight().

static int PDFPage::height (  )  [inline, static]

The actual height of the page (no margins).

Definition at line 403 of file PDFgraphing.h.

Referenced by mHeight().

static int PDFPage::lMargin (  )  [inline, static]

Left margin.

Definition at line 415 of file PDFgraphing.h.

Referenced by BraidDrawPDF::drawGenerator(), BraidDrawPDF::drawGrid(), mRightEnd(), and mWidth().

static int PDFPage::mBottomEnd (  )  [inline, static]

Coordinate of the bottom end of the page (excluding the margin).

Definition at line 412 of file PDFgraphing.h.

References mHeight(), and tMargin().

static int PDFPage::mHeight (  )  [inline, static]

Height of the page excluding margins.

Definition at line 408 of file PDFgraphing.h.

References bMargin(), height(), and tMargin().

Referenced by mBottomEnd(), and BraidDrawPDF::stripesInPage().

static int PDFPage::mRightEnd (  )  [inline, static]

Coordinate of the right end of the page (excluding right margin).

Definition at line 410 of file PDFgraphing.h.

References lMargin(), and mWidth().

static int PDFPage::mWidth (  )  [inline, static]

Width of the page excluding margins.

Definition at line 406 of file PDFgraphing.h.

References lMargin(), rMargin(), and width().

Referenced by BraidDrawPDF::drawGrid(), mRightEnd(), and BraidDrawPDF::posInPage().

static int PDFPage::rMargin (  )  [inline, static]

Right margin.

Definition at line 417 of file PDFgraphing.h.

Referenced by mWidth().

static int PDFPage::tMargin (  )  [inline, static]

Top margin.

Definition at line 419 of file PDFgraphing.h.

Referenced by BraidDrawPDF::drawGrid(), mBottomEnd(), mHeight(), and BraidDrawPDF::stripPosition().

static int PDFPage::width (  )  [inline, static]

The actual width of the page (no margins).

Definition at line 401 of file PDFgraphing.h.

Referenced by mWidth().

void PDFPage::writeContents ( ostream &  os  )  [inline]

Write the contents of the page into a stream using PDF format.

Definition at line 392 of file PDFgraphing.h.

References theObjects.


Member Data Documentation

vector< PDFPageObject* > PDFPage::theObjects [private]

Definition at line 430 of file PDFgraphing.h.

Referenced by addObject(), writeContents(), and ~PDFPage().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:49 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1