#include <PdfXObject.h>
Inheritance diagram for PoDoFo::PdfXObject:
Public Member Functions | |
PdfXObject (const PdfRect &rRect, PdfDocument *pParent, const char *pszPrefix=NULL) | |
PdfXObject (const PdfRect &rRect, PdfVecObjects *pParent, const char *pszPrefix=NULL) | |
PdfXObject (const PdfMemDocument &rSourceDoc, int nPage, PdfDocument *pParent, const char *pszPrefix=NULL, bool bUseTrimBox=false) | |
PdfXObject (PdfObject *pObject) | |
virtual PdfObject * | GetContents () const |
virtual PdfObject * | GetContentsForAppending () const |
virtual PdfObject * | GetResources () const |
virtual const PdfRect | GetPageSize () const |
const PdfName & | GetIdentifier () const |
const PdfReference & | GetObjectReference () const |
You can draw on a XObject like you would draw onto a page and can draw this XObject later again using a PdfPainter.
|
Create a new XObject with a specified dimension in a given document
|
|
Create a new XObject with a specified dimension in a given vector of PdfObjects
|
|
Create a new XObject from a page of another document in a given document
|
|
Create a XObject from an existing PdfObject
|
|
Get access to the contents object of this page. If you want to draw onto the page, you have to add drawing commands to the stream of the Contents object. The contents object is a this pointer in this case.
Implements PoDoFo::PdfCanvas. |
|
Get access to the contents object of this page. If you want to draw onto the page, you have to add drawing commands to the stream of the Contents object. The contents object is a this pointer in this case.
Implements PoDoFo::PdfCanvas. |
|
Get the identifier used for drawig this object
|
|
Get the reference to the XObject in the PDF file without having to access the PdfObject. This allows to work with XObjects which have been written to disk already.
|
|
Get the current page size in PDF Units
Implements PoDoFo::PdfCanvas. |
|
Get access to the resources object of this page. This is most likely an internal object.
Implements PoDoFo::PdfCanvas. |