Implements a pdf document consisting of several pages. More...
#include <PDFgraphing.h>
Public Member Functions | |
| PDFStructure () | |
| ~PDFStructure () | |
| void | save (const char *filename) |
| Save pdf document into a file "filename". | |
| void | newPage () |
| Create a new page. | |
| void | addObject (int p, PDFPageObject *obj) |
| Add a new object to the page. | |
Private Member Functions | |
| pair< const char *, int > | preparePageContents (int p) const |
Private Attributes | |
| vector< PDFPage * > | thePages |
Implements a pdf document consisting of several pages.
Definition at line 441 of file PDFgraphing.h.
| PDFStructure::PDFStructure | ( | ) | [inline] |
Definition at line 452 of file PDFgraphing.h.
| PDFStructure::~PDFStructure | ( | ) | [inline] |
Definition at line 453 of file PDFgraphing.h.
References thePages.
| void PDFStructure::addObject | ( | int | p, | |
| PDFPageObject * | obj | |||
| ) | [inline] |
Add a new object to the page.
| p | - page naumber | |
| obj | - pointer to the new pdf object instance |
Definition at line 479 of file PDFgraphing.h.
References thePages.
Referenced by BraidDrawPDF::drawGenerator(), and BraidDrawPDF::drawGrid().
| void PDFStructure::newPage | ( | ) | [inline] |
Create a new page.
Definition at line 470 of file PDFgraphing.h.
References thePages.
Referenced by BraidDrawPDF::draw(), and BraidDrawPDF::drawCompressedBraid().
| pair< const char* , int > PDFStructure::preparePageContents | ( | int | p | ) | const [private] |
| void PDFStructure::save | ( | const char * | filename | ) |
Save pdf document into a file "filename".
Referenced by BraidDrawPDF::save().
vector< PDFPage* > PDFStructure::thePages [private] |
Definition at line 499 of file PDFgraphing.h.
Referenced by addObject(), newPage(), and ~PDFStructure().
1.6.1