PoDoFo 0.9.6
|
#include <PdfExtGState.h>
Public Member Functions | |
PdfExtGState (PdfVecObjects *pParent) | |
PdfExtGState (PdfDocument *pParent) | |
const PdfName & | GetIdentifier () const |
void | SetFillOpacity (float opac) |
void | SetStrokeOpacity (float opac) |
void | SetBlendMode (const char *blendMode) |
void | SetOverprint (bool enable=true) |
void | SetFillOverprint (bool enable=true) |
void | SetStrokeOverprint (bool enable=true) |
void | SetNonZeroOverprint (bool enable=true) |
void | SetRenderingIntent (const char *intent) |
void | SetFrequency (double frequency) |
![]() | |
PdfObject * | GetObject () |
const PdfObject * | GetObject () const |
Additional Inherited Members | |
![]() | |
PdfElement (const char *pszType, PdfVecObjects *pParent) | |
PdfElement (const char *pszType, PdfDocument *pParent) | |
PdfElement (const char *pszType, PdfObject *pObject) | |
PdfElement (EPdfDataType eExpectedDataType, PdfObject *pObject) | |
const char * | TypeNameForIndex (int i, const char **ppTypes, long lLen) const |
int | TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const |
PdfObject * | CreateObject (const char *pszType=NULL) |
PdfObject * | GetNonConstObject () const |
This class wraps the ExtGState object used in the Resource Dictionary of a Content-supporting element (page, Pattern, etc.) The main usage is for transparency, but it also support a variety of prepress features.
PoDoFo::PdfExtGState::PdfExtGState | ( | PdfVecObjects * | pParent | ) |
Create a new PdfExtGState object which will introduce itself automatically to every page object it is used on.
pParent | parent vector of objects |
PoDoFo::PdfExtGState::PdfExtGState | ( | PdfDocument * | pParent | ) |
Create a new PdfExtGState object which will introduce itself automatically to every page object it is used on.
pParent | parent document |
|
inline |
Returns the identifier of this ExtGState how it is known in the pages resource dictionary.
void PoDoFo::PdfExtGState::SetBlendMode | ( | const char * | blendMode | ) |
Sets the transparency blend mode
blendMode | one of the predefined blending modes (see PodofoDefines.h) |
void PoDoFo::PdfExtGState::SetFillOpacity | ( | float | opac | ) |
Sets the opacity value to be used for fill operations
opac | a floating point value from 0 (transparent) to 1 (opaque) |
void PoDoFo::PdfExtGState::SetFillOverprint | ( | bool | enable = true | ) |
Enables/Disables overprinting for Fill operations
enable | enable or disable |
void PoDoFo::PdfExtGState::SetFrequency | ( | double | frequency | ) |
Set the frequency for halftones
frequency | screen frequency, measured in halftone cells per inch in device space |
void PoDoFo::PdfExtGState::SetNonZeroOverprint | ( | bool | enable = true | ) |
Enables/Disables non-zero overprint mode
enable | enable or disable |
void PoDoFo::PdfExtGState::SetOverprint | ( | bool | enable = true | ) |
Enables/Disables overprinting for both Fill & Stroke
enable | enable or disable |
void PoDoFo::PdfExtGState::SetRenderingIntent | ( | const char * | intent | ) |
Set the Rendering Intent
intent | one of the predefined intents (see Podofo.h) |
void PoDoFo::PdfExtGState::SetStrokeOpacity | ( | float | opac | ) |
Sets the opacity value to be used for stroking operations
opac | a floating point value from 0 (transparent) to 1 (opaque) |
void PoDoFo::PdfExtGState::SetStrokeOverprint | ( | bool | enable = true | ) |
Enables/Disables overprinting for Stroke operations
enable | enable or disable |