PoDoFo::PdfExtGState Class Reference
#include <PdfExtGState.h>
List of all members.
Detailed Description
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.
Constructor & Destructor Documentation
Create a new PdfExtGState object which will introduce itself automatically to every page object it is used on.
- Parameters:
-
| 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.
- Parameters:
-
Member Function Documentation
const PdfName & PoDoFo::PdfExtGState::GetIdentifier |
( |
|
) |
const [inline] |
Returns the identifier of this ExtGState how it is known in the pages resource dictionary.
- Returns:
- PdfName containing the identifier (e.g. /ExtGS13)
void PoDoFo::PdfExtGState::SetBlendMode |
( |
char * |
blendMode |
) |
|
Sets the transparency blend mode
- Parameters:
-
| blendMode | one of the predefined blending modes (see Podofo.h) |
void PoDoFo::PdfExtGState::SetFillOpacity |
( |
float |
opac |
) |
|
Sets the opacity value to be used for fill operations
- Parameters:
-
| opac | a floating point value from 0 (transparent) to 1 (opaque) |
void PoDoFo::PdfExtGState::SetFillOverprint |
( |
bool |
enable = true |
) |
|
Enables/Disables overprinting for Fill operations
- Parameters:
-
void PoDoFo::PdfExtGState::SetFrequency |
( |
double |
frequency |
) |
|
Set the frequency for halftones
- Parameters:
-
| screen | frequency, measured in halftone cells per inch in device space |
void PoDoFo::PdfExtGState::SetNonZeroOverprint |
( |
bool |
enable = true |
) |
|
Enables/Disables non-zero overprint mode
- Parameters:
-
void PoDoFo::PdfExtGState::SetOverprint |
( |
bool |
enable = true |
) |
|
Enables/Disables overprinting for both Fill & Stroke
- Parameters:
-
void PoDoFo::PdfExtGState::SetRenderingIntent |
( |
char * |
intent |
) |
|
Set the Rendering Intent
- Parameters:
-
| 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
- Parameters:
-
| opac | a floating point value from 0 (transparent) to 1 (opaque) |
void PoDoFo::PdfExtGState::SetStrokeOverprint |
( |
bool |
enable = true |
) |
|
Enables/Disables overprinting for Stroke operations
- Parameters:
-