Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PoDoFo::PdfExtGState Class Reference

#include <PdfExtGState.h>

Inheritance diagram for PoDoFo::PdfExtGState:

PoDoFo::PdfElement List of all members.

Public Member Functions

 PdfExtGState (PdfVecObjects *pParent)
 PdfExtGState (PdfDocument *pParent)
const PdfNameGetIdentifier () const
void SetFillOpacity (float opac)
void SetStrokeOpacity (float opac)
void SetBlendMode (char *blendMode)
void SetOverprint (bool enable=true)
void SetFillOverprint (bool enable=true)
void SetStrokeOverprint (bool enable=true)
void SetNonZeroOverprint (bool enable=true)
void SetRenderingIntent (char *intent)
void SetFrequency (double frequency)

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

PoDoFo::PdfExtGState::PdfExtGState PdfVecObjects pParent  ) 
 

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:
pParent parent document


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:
enable enable or disable

void PoDoFo::PdfExtGState::SetFrequency double  frequency  ) 
 

Set the frequency for halftones

Parameters:
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

Parameters:
enable enable or disable

void PoDoFo::PdfExtGState::SetOverprint bool  enable = true  ) 
 

Enables/Disables overprinting for both Fill & Stroke

Parameters:
enable enable or disable

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:
enable enable or disable


Generated on Sun Feb 12 13:22:49 2012 for PoDoFo by  doxygen 1.3.9.1