Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions

PoDoFo::PdfImage Class Reference

#include <PdfImage.h>

Inheritance diagram for PoDoFo::PdfImage:
Inheritance graph
[legend]
Collaboration diagram for PoDoFo::PdfImage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddColorResource (const PdfColor &rColor)
void AddResource (const PdfName &rIdentifier, const PdfReference &rRef, const PdfName &rName)
virtual PdfObjectGetContents () const
virtual PdfObjectGetContentsForAppending () const
double GetHeight () const
const PdfNameGetIdentifier () const
const PdfObjectGetObject () const
PdfObjectGetObject ()
const PdfReferenceGetObjectReference () const
virtual const PdfRect GetPageSize () const
virtual PdfObjectGetResources () const
double GetWidth () const
void LoadFromFile (const char *pszFilename)
 PdfImage (PdfVecObjects *pParent, const char *pszPrefix=NULL)
 PdfImage (PdfDocument *pParent, const char *pszPrefix=NULL)
 PdfImage (PdfObject *pObject)
void SetImageChromaKeyMask (pdf_int64 r, pdf_int64 g, pdf_int64 b, pdf_int64 threshold=0)
void SetImageColorSpace (EPdfColorSpace eColorSpace)
void SetImageData (unsigned int nWidth, unsigned int nHeight, unsigned int nBitsPerComponent, PdfInputStream *pStream)
void SetImageData (unsigned int nWidth, unsigned int nHeight, unsigned int nBitsPerComponent, PdfInputStream *pStream, const TVecFilters &vecFilters)
void SetImageICCProfile (PdfInputStream *pStream, long lColorComponents, EPdfColorSpace eAlternateColorSpace=ePdfColorSpace_DeviceRGB)
void SetImageSoftmask (const PdfImage *pSoftmask)
void SetInterpolate (bool bValue)

Static Public Member Functions

static const PdfArrayGetProcSet ()
static const char ** GetSupportedFormats ()

Protected Member Functions

PdfObjectCreateObject (const char *pszType=NULL)
PdfObjectGetNonConstObject () const
void InitXObject (const PdfRect &rRect, const char *pszPrefix=NULL)
const char * TypeNameForIndex (int i, const char **ppTypes, long lLen) const
int TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const

Protected Attributes

PdfRect m_rRect

Private Member Functions

void SetImageDataRaw (unsigned int nWidth, unsigned int nHeight, unsigned int nBitsPerComponent, PdfInputStream *pStream)

Static Private Member Functions

static const char * ColorspaceToName (EPdfColorSpace eColorSpace)

Detailed Description

A PdfImage object is needed when ever you want to embedd an image file into a PDF document. The PdfImage object is embedded once and can be drawn as often as you want on any page in the document using a PdfImageRef object which has to be retrieved from the PdfImage object before drawing.

See also:
GetImageReference
PdfPainter::DrawImage
SetImageData

Definition at line 46 of file PdfImage.h.


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

Generated by  Doxygen 1.6.0   Back to index