DynaPDF Manual - Page 254
Previous Page 253 Index Next Page 255

Function Reference
Page 254 of 821
CreateExtGState
Syntax:
SI32 pdfCreateExtGState(
const PPDF* IPDF,
// Instance pointer
struct TPDFExtGState* GS) // Extended graphics state structure
struct TPDFExtGState
{
UI32
AutoStrokeAdjust; // PDF_MAX_INT if not set
TBlendMode
BlendMode;
// Default bmNotSet
float
FlatnessTol;
// -1.0 if not set
UI32
OverPrintFill;
// PDF_MAX_INT if not set
UI32
OverPrintStroke;
// PDF_MAX_INT if not set
UI32
OverPrintMode;
// PDF_MAX_INT if not set
TRenderingIntent RenderingIntent;
// riNone if not set
float
SmoothnessTol;
// -1.0 if not set
float
FillAlpha;
// -1.0 if not set
float
StrokeAlpha;
// -1.0 if not set
UI32
AlphaIsShape;
// PDF_MAX_INT if not set
UI32
TextKnockout;
// PDF_MAX_INT if not set
LBOOL
SoftMaskNone;
// Disables a soft mask
void*
Reserved1;
void*
Reserved2;
void*
Reserved3;
void*
Reserved4;
void*
Reserved5;
void*
Reserved6;
void*
Reserved7;
void*
Reserved8;
};
typedef enum
{
bmNotSet
= 0,
bmNormal
= 1,
bmColor
= 2,
bmColorBurn
= 3,
bmColorDodge = 4,
bmDarken
= 5,
bmDifference = 6,
bmExclusion
= 7,
bmHardLight
= 8,
bmHue
= 9,
bmLighten
= 10,
bmLuminosity = 11,
bmMultiply
= 12,
bmOverlay
= 13,
bmSaturation = 14,
bmScreen
= 15,
bmSoftLight
= 16
}TBlendMode;
typedef enum
{
riAbsoluteColorimetric = 0,
riPerceptual
= 1,
riRelativeColorimetric = 2,
riSaturation
= 3,
riNone
= 4 // Internal
}TRenderingIntent;
Previous topic: Example 1:, Example 2:
Next topic: CreateGoToAction