PoDoFo  1.0.0-dev
Public Member Functions | Static Public Member Functions | Friends | List of all members
PoDoFo::PdfXObject Class Referenceabstract

A XObject is a content stream with several drawing commands and data which can be used throughout a PDF document. More...

#include <PdfXObject.h>

Inheritance diagram for PoDoFo::PdfXObject:
PoDoFo::PdfImage

Public Member Functions

virtual Rect GetRect () const =0
 
Matrix GetMatrix () const
 
PdfXObjectType GetType () const
 

Static Public Member Functions

static bool TryCreateFromObject (PdfObject &obj, std::unique_ptr< PdfXObject > &xobj)
 
static bool TryCreateFromObject (const PdfObject &obj, std::unique_ptr< const PdfXObject > &xobj)
 
template<typename XObjectT >
static bool TryCreateFromObject (PdfObject &obj, std::unique_ptr< XObjectT > &xobj)
 
template<typename XObjectT >
static bool TryCreateFromObject (const PdfObject &obj, std::unique_ptr< const XObjectT > &xobj)
 

Friends

class PdfXObjectForm
 
class PdfImage
 
class PdfXObjectPostScript
 
class PdfContentStreamReader
 

Detailed Description

A XObject is a content stream with several drawing commands and data which can be used throughout a PDF document.

You can draw on a XObject like you would draw onto a page and can draw this XObject later again using a PdfPainter.

See also
PdfPainter

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