PoDoFo  1.0.0-dev
Public Member Functions | Friends | List of all members
PoDoFo::PdfExtGState Class Referencefinal

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. More...

#include <PdfExtGState.h>

Inherits PoDoFo::PdfDictionaryElement.

Public Member Functions

void SetFillOpacity (nullable< double > opacity)
 Sets the opacity value to be used for fill operations. More...
 
void SetStrokeOpacity (nullable< double > opacity)
 Sets the opacity value to be used for stroking operations. More...
 
void SetBlendMode (nullable< PdfBlendMode > blendMode)
 Sets the transparency blend mode. More...
 
void SetOverprintEnabled (nullable< bool > enabled)
 Enables/Disables overprinting for both Fill & Stroke. More...
 
void SetFillOverprintEnabled (nullable< bool > enabled)
 Enables/Disables overprinting for Fill operations. More...
 
void SetStrokeOverprintEnabled (nullable< bool > enabled)
 Enables/Disables overprinting for Stroke operations. More...
 
void SetNonZeroOverprintEnabled (nullable< bool > enabled)
 Enables/Disables non-zero overprint mode. More...
 
void SetRenderingIntent (nullable< PdfRenderingIntent > intent)
 Set the Rendering Intent. More...
 
void SetFrequency (double frequency)
 Set the frequency for halftones. More...
 

Friends

class PdfDocument
 
class PdfGraphicsStateWrapper
 

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.

Member Function Documentation

◆ SetBlendMode()

void PdfExtGState::SetBlendMode ( nullable< PdfBlendMode blendMode)

Sets the transparency blend mode.

Parameters
blendModeone of the predefined blending modes (see PdfDeclarations.h)

◆ SetFillOpacity()

void PdfExtGState::SetFillOpacity ( nullable< double >  opacity)

Sets the opacity value to be used for fill operations.

Parameters
opacitya floating point value from 0 (transparent) to 1 (opaque)

◆ SetFillOverprintEnabled()

void PdfExtGState::SetFillOverprintEnabled ( nullable< bool >  enabled)

Enables/Disables overprinting for Fill operations.

Parameters
enableenable or disable

◆ SetFrequency()

void PdfExtGState::SetFrequency ( double  frequency)

Set the frequency for halftones.

Parameters
frequencyscreen frequency, measured in halftone cells per inch in device space

◆ SetNonZeroOverprintEnabled()

void PdfExtGState::SetNonZeroOverprintEnabled ( nullable< bool >  enabled)

Enables/Disables non-zero overprint mode.

Parameters
enableenable or disable

◆ SetOverprintEnabled()

void PdfExtGState::SetOverprintEnabled ( nullable< bool >  enabled)

Enables/Disables overprinting for both Fill & Stroke.

Parameters
enableenable or disable

◆ SetRenderingIntent()

void PdfExtGState::SetRenderingIntent ( nullable< PdfRenderingIntent intent)

Set the Rendering Intent.

Parameters
intentone of the predefined intents

◆ SetStrokeOpacity()

void PdfExtGState::SetStrokeOpacity ( nullable< double >  opacity)

Sets the opacity value to be used for stroking operations.

Parameters
opacitya floating point value from 0 (transparent) to 1 (opaque)

◆ SetStrokeOverprintEnabled()

void PdfExtGState::SetStrokeOverprintEnabled ( nullable< bool >  enabled)

Enables/Disables overprinting for Stroke operations.

Parameters
enableenable or disable

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