3#ifndef PDFSDK_GRAPHICS_H_INCLUDED_
4#define PDFSDK_GRAPHICS_H_INCLUDED_
14#include <pdfsdk/core/api_macro.h>
40typedef uint32_t GXColorValue;
42#define GXColorValueGetA(argb) (static_cast<uint8_t>((static_cast<GXColorValue>(argb) >> 24) & 0xFF) / 255.f)
43#define GXColorValueGetR(argb) (static_cast<uint8_t>((static_cast<GXColorValue>(argb) >> 16) & 0xFF) / 255.f)
44#define GXColorValueGetG(argb) (static_cast<uint8_t>((static_cast<GXColorValue>(argb) >> 8) & 0xFF) / 255.f)
45#define GXColorValueGetB(argb) (static_cast<uint8_t>((static_cast<GXColorValue>(argb) >> 0) & 0xFF) / 255.f)
83 unsigned int rowLength;
226enum { kGXDashPatternMaxSize = 15 };
230 float pattern[kGXDashPatternMaxSize];
260 GXColorValue bgColor;
272 GXColorValue bgColor;
311typedef PDErrCode(PDFSDK_CALLCONV* GXRegionRectEnumProc)(
void* userdata,
const PDRectI* rect);
313typedef unsigned int GXCacheEntryID;
315typedef void* GXObject;
316typedef struct GXBitmapRec_* GXBitmap;
317typedef struct GXBrushRec_* GXBrush;
318typedef struct GXFontFaceRec_* GXFontFace;
319typedef struct GXGeometryRec_* GXGeometry;
320typedef struct GXGradientRec_* GXGradient;
321typedef struct GXPaletteRec_* GXPalette;
322typedef struct GXRegionRec_* GXRegion;
323typedef struct GXRenderTargetRec_* GXRenderTarget;
324typedef struct GXHwContextRec_* GXHwContext;
331PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXObjectAcquire(GXObject
object);
332PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXObjectRelease(GXObject
object);
339 GXPalette* ppalette);
340PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXPaletteGetNumColors(GXPalette palette,
size_t* pnum_colors);
341PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXPaletteGetColor(GXPalette palette,
343 GXColorValue* pcolor);
344PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXPaletteGetColors(GXPalette palette,
345 const GXColorValue** pcolors);
352PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBitmapFromFile(
const wchar_t* filename, GXBitmap* pbitmap);
353PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBitmapFromFileFrame(
const wchar_t* filename,
354 uint32_t frame_index,
355 uint32_t* ptotal_frames,
357PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBitmapFromMemory(
void const* data,
360PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBitmapFromMemoryFrame(
const void* data,
362 uint32_t frame_index,
363 uint32_t* ptotal_frames,
365PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapSaveToFile(GXBitmap bitmap,
const wchar_t* filename);
367PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBitmapFromHBITMAP(
void* hbitmap, GXBitmap* pbitmap);
368PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapSaveToHBITMAP(GXBitmap bitmap,
void** phbitmap);
371PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapGetSize(GXBitmap bitmap,
PDSizeI* psize);
372PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapGetDpiX(GXBitmap bitmap,
float* pdpix);
373PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapGetDpiY(GXBitmap bitmap,
float* pdpiy);
374PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapSetPalette(GXBitmap bitmap, GXPalette palette);
375PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapGetPalette(GXBitmap bitmap, GXPalette* ppalette);
376PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapLock(GXBitmap bitmap,
380PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapUnlock(GXBitmap bitmap);
381PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCopyFromBitmap(GXBitmap bitmap,
385PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCopyFromMemory(GXBitmap bitmap,
388PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCopyToMemory(GXBitmap bitmap,
391PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapColorFill(GXBitmap bitmap,
394PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapNotifyChanged(GXBitmap bitmap);
395PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapSetOffscreenPainting(GXBitmap bitmap,
bool offscreen);
401PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCacheGetMemoryQuota(
size_t* pquota);
402PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCacheGetMemoryInUse(
size_t* pinuse);
403PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCachePut(GXBitmap bitmap, GXCacheEntryID* pid);
404PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCacheGet(GXCacheEntryID
id, GXBitmap* pbitmap);
405PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXBitmapCacheRemove(GXCacheEntryID
id);
411 GXGradient* pgradient);
413 GXGradient* pgradient);
416 GXColorValue bgcolor,
417 GXGradient* pgradient);
423PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBrushSolidARGB(GXColorValue argb, GXBrush* pbrush);
424PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBrushBitmap(GXBitmap bitmap,
429PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateBrushGradient(GXGradient gradient,
439 GXFontFace* pfontface);
440PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateFontFaceFromFile(
const wchar_t* filename,
442 uint32_t* ptotalfaces,
443 GXFontFace* pfontface);
444PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateFontFaceFromMemory(
const void* data,
448 uint32_t* ptotalfaces,
449 GXFontFace* pfontface);
450PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXFontFaceCalculateTextBound(GXFontFace font,
459PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometrySetFillRule(GXGeometry geom,
GXFillRule fillrule);
460PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetFillRule(GXGeometry geom,
GXFillRule* pfillrule);
461PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryEmpty(GXGeometry geom,
bool* pempty);
462PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryPointsEqual(GXGeometry geomA,
465PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetCurrentPoint(GXGeometry geom,
PDPointF* ppoint);
466PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetBound(GXGeometry geom,
469PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryBeginFigure(GXGeometry geom,
const PDPointF* point);
470PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryEndFigure(GXGeometry geom);
471PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryEndFigureClose(GXGeometry geom);
472PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryLineTo(GXGeometry geom,
const PDPointF* to);
473PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryConicCurveTo(GXGeometry geom,
476PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryCubicCurveTo(GXGeometry geom,
480PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryRectangle(GXGeometry geom,
const PDRectF* rect);
481PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryEllipse(GXGeometry geom,
const PDRectF* bound);
482PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryRoundRectangle(GXGeometry geom,
486PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryCopy(GXGeometry geom, GXGeometry* pcopy);
487PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryTransform(GXGeometry geom,
489 GXGeometry* presult);
490PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryWiden(GXGeometry geom,
494 GXGeometry* presult);
495PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryCombine(GXGeometry geomA,
500 GXGeometry* presult);
501PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryHitTest(GXGeometry geom,
504PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometrySimplify(GXGeometry geom,
506 GXGeometry* presult);
507PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryIsRectangle(GXGeometry geom,
511PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetNumFigures(GXGeometry geom,
size_t* pnumfigures);
512PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetFigureNumSegments(GXGeometry geom,
size_t figureindex,
size_t* pnumsegs);
513PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetFigureNumPoints(GXGeometry geom,
size_t figureindex,
size_t* pnumpoints);
514PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetFigurePointsPtr(GXGeometry geom,
size_t figureindex,
const PDPointF** ppoints);
515PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryIsFigureSegmentCurve(GXGeometry geom,
size_t figureindex,
size_t segindex,
bool* iscurve);
516PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryGetFigureSegmentPointsIndex(GXGeometry geom,
size_t figureindex,
size_t segindex,
size_t* ppointsindex);
517PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXGeometryIsFigureClosed(GXGeometry geom,
size_t figureindex,
bool* pisclosed);
523PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateRegionFromRect(
const PDRectI* rect, GXRegion* pregion);
524PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionIsAreaEmpty(GXRegion region,
bool* pempty);
525PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionGetBound(GXRegion region,
PDRectI* pbound);
526PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionContainsPoint(GXRegion region,
529PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionContainsRect(GXRegion region,
532PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionContains(GXRegion region,
533 GXRegion that_region,
535PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionHasIntersection(GXRegion region,
536 GXRegion that_region,
538PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionHasIntersectionWithRect(GXRegion region,
541PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionOffset(GXRegion region,
int x,
int y);
542PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionCombine(GXRegion region,
543 GXRegion that_region,
546PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionCombineRect(GXRegion region,
550PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRegionEnumRects(GXRegion region,
551 GXRegionRectEnumProc proc,
558 GXRenderTarget* ptarget);
559PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateRenderTargetExtBuf(
void* pixels,
562 GXRenderTarget* ptarget);
565PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateRenderTargetHWND(
void* hwnd,
567 GXRenderTarget* ptarget);
568PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateRenderTargetPrintDC(
void* hdc, GXRenderTarget* ptarget);
569PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateRenderTargetHDC(
void* hdc,
571 GXRenderTarget* ptarget);
575PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXCreateRenderTargetNSView(
void* nsview,
577 GXRenderTarget* ptarget);
580PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetGetPixelFormat(GXRenderTarget target,
582PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetGetSize(GXRenderTarget target,
PDSizeI* psize);
583PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetClear(GXRenderTarget target,
584 GXColorValue clear_color);
585PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetBeginPaint(GXRenderTarget target);
586PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetEndPaint(GXRenderTarget target);
587PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetPushState(GXRenderTarget target);
588PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetPopState(GXRenderTarget target);
589PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetGetCTM(GXRenderTarget target,
PDMatrix* pctm);
590PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetSetCTM(GXRenderTarget target,
const PDMatrix* ctm);
591PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetConcatCTM(GXRenderTarget target,
593PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetRotateCTM(GXRenderTarget target,
float radians);
594PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetScaleCTM(GXRenderTarget target,
float sx,
float sy);
595PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetTranslateCTM(GXRenderTarget target,
598PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetSetBlendMode(GXRenderTarget target,
600PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetSetStrokeAdjustment(GXRenderTarget target,
602PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetGetStrokeAdjustment(GXRenderTarget target,
604PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetSetOpacityMask(GXRenderTarget target,
607PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetSetShapeMask(GXRenderTarget target,
610PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetBeginLayer(GXRenderTarget target,
612PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetEndLayer(GXRenderTarget target);
613PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetFillGeometry(GXRenderTarget target,
616PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetFillTextGeometry(GXRenderTarget target,
619PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetFillRect(GXRenderTarget target,
622PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetFillEllipse(GXRenderTarget target,
625PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetStrokeGeometry(GXRenderTarget target,
630PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetStrokeLine(GXRenderTarget target,
636PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetStrokeRect(GXRenderTarget target,
641PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetStrokeEllipse(GXRenderTarget target,
646PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetClipGeometry(GXRenderTarget target, GXGeometry geom);
647PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetClipRect(GXRenderTarget target,
const PDRectF* rect);
648PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetClipEllipse(GXRenderTarget target,
650PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetDrawBitmap(GXRenderTarget target,
654PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetStretchBitmap(GXRenderTarget target,
659PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetDrawGradient(GXRenderTarget target,
662PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetFillMask(GXRenderTarget target,
666PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetInvertRect(GXRenderTarget target,
668PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetInvertLine(GXRenderTarget target,
671PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetFillText(GXRenderTarget target,
677PDF_CORE_API
PDErrCode PDFSDK_CALLCONV GXRenderTargetGetDrawBounds(GXRenderTarget target,
PDRectI* pbounds);
int32_t PDErrCode
Definition errors.h:44
GXLockMode
Defines the level of access and control over the graphics content.
Definition graphics.h:75
@ kGXLockModeWrite
Definition graphics.h:77
@ kGXLockModeRead
Definition graphics.h:76
@ kGXLockModeReadWrite
Definition graphics.h:78
GXLineCap
Determines the style used to finish the ends of lines in a graphics context.
Definition graphics.h:201
@ kGXLineCapRound
Definition graphics.h:204
@ kGXLineCapSquare
Definition graphics.h:205
@ kGXLineCapFlat
Definition graphics.h:202
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateRenderTargetBitmap(GXBitmap bitmap, GXRenderTarget *ptarget)
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateBitmap(const GXBitmapAttrs *attrs, GXBitmap *pbitmap)
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateSystemFontFace(const wchar_t *family, GXFontStyle style, GXFontFace *pfontface)
GXFillRule
Determines how a path (a series or points that define a shape) is filled with color.
Definition graphics.h:105
@ kGXFillRuleNonZero
Definition graphics.h:106
@ kGXFillRuleEvenOdd
Definition graphics.h:110
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXBitmapCacheSetMemoryQuota(size_t quota)
GXInterpolationMode
Defines the way through which pixel values are estimated or interpolated.
Definition graphics.h:92
@ kGXInterpolationModeNearestNeighbor
Definition graphics.h:93
@ kGXInterpolationModeAreaAverage
Definition graphics.h:95
@ kGXInterpolationModeLinear
Definition graphics.h:94
GXRuntimeMode
Defines the runtime modes for the Graphics application.
Definition graphics.h:27
@ kGXRuntimeModePrint
Definition graphics.h:30
@ kGXRuntimeModeSoftware
Definition graphics.h:29
@ kGXRuntimeModeHardware
Definition graphics.h:28
GXBlendMode
Determines the way in which colors of overlapping objects are combined.
Definition graphics.h:124
@ kGXBlendModeDifference
Definition graphics.h:140
@ kGXBlendModeSaturation
Definition graphics.h:144
@ kGXBlendModeNormal
Definition graphics.h:125
@ kGXBlendModeExclusion
Definition graphics.h:141
@ kGXBlendModeColor
Definition graphics.h:146
@ kGXBlendModeLighten
Definition graphics.h:133
@ kGXBlendModeSoftLight
Definition graphics.h:138
@ kGXBlendModeDarken
Definition graphics.h:132
@ kGXBlendModeMultiply
Definition graphics.h:126
@ kGXBlendModeOverlay
Definition graphics.h:130
@ kGXBlendModeColorBurn
Definition graphics.h:134
@ kGXBlendModeColorDodge
Definition graphics.h:135
@ kGXBlendModeHardLight
Definition graphics.h:136
@ kGXBlendModeHue
Definition graphics.h:142
@ kGXBlendModeScreen
Definition graphics.h:128
@ kGXBlendModeLuminosity
Definition graphics.h:148
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateBrushSolid(const GXColor *color, GXBrush *pbrush)
GXCombineMode
Determines how the areas of different graphics interact with each other.
Definition graphics.h:178
@ kGXCombineModeComplement
Definition graphics.h:183
@ kGXCombineModeUnion
Definition graphics.h:180
@ kGXCombineModeExclude
Definition graphics.h:182
@ kGXCombineModeDifference
Definition graphics.h:181
@ kGXCombineModeIntersect
Definition graphics.h:179
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreatePalette(const GXColorValue *colors, size_t num_colors, GXPalette *ppalette)
GXFontStyle
Defines the various styles that can be applied to text within a PDF document.
Definition graphics.h:304
@ kGXFontStyleRegular
Definition graphics.h:305
@ kGXFontStyleItalic
Definition graphics.h:306
@ kGXFontStyleBoldItalic
Definition graphics.h:308
@ kGXFontStyleBold
Definition graphics.h:307
GXMaskMode
Determines the type of mask used to control which parts of an image or graphical element are visible ...
Definition graphics.h:159
@ kGXMaskModeInverseAlpha
Definition graphics.h:163
@ kGXMaskModeLuminosity
Definition graphics.h:166
@ kGXMaskModeInverseLuminosity
Definition graphics.h:168
@ kGXMaskModeAlpha
Definition graphics.h:160
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateGradientLinear(const GXLinearGradientAttrs *attrs, GXGradient *pgradient)
GXPixelFormat
Defines the pixel format of the graphics application.
Definition graphics.h:52
@ kGXPixelFormatP8
Definition graphics.h:63
@ kGXPixelFormatA8
Definition graphics.h:62
@ kGXPixelFormatXRGB8
Definition graphics.h:60
@ kGXPixelFormatARGB8p
Definition graphics.h:55
@ kGXPixelFormatUnknown
Definition graphics.h:53
@ kGXPixelFormatL1
Definition graphics.h:67
@ kGXPixelFormatRGB8
Definition graphics.h:54
@ kGXPixelFormatA1
Definition graphics.h:65
@ kGXPixelFormatL8
Definition graphics.h:64
@ kGXPixelFormatP1
Definition graphics.h:66
@ kGXPixelFormatARGB8
Definition graphics.h:58
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateRegion(GXRegion *pregion)
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXEnableHWAccelerationForThread()
GXExtendMode
Defines the way embedded images or patterns within a PDF file are handled.
Definition graphics.h:285
@ kGXExtendModeClamp
Definition graphics.h:286
@ kGXExtendModeWrap
Definition graphics.h:288
@ kGXExtendModeMirror
Definition graphics.h:289
PDF_CORE_API PDErrCode PDFSDK_CALLCONV GXCreateGeometry(GXGeometry *pgeom)
GXLineJoin
Determines the shape that is used to connect the endpoints of two line segments that meet at a corner...
Definition graphics.h:215
@ kGXLineJoinRound
Definition graphics.h:217
@ kGXLineJoinBevel
Definition graphics.h:218
@ kGXLineJoinMiter
Definition graphics.h:216
Definition graphics.h:241
Definition graphics.h:293
Definition graphics.h:228
Definition graphics.h:248
Definition graphics.h:186
Definition graphics.h:253
Definition graphics.h:275
Definition graphics.h:263
Definition graphics.h:234
Definition math_types.h:60
Definition math_types.h:12
Definition math_types.h:18
Definition math_types.h:30
Definition math_types.h:44
Definition math_types.h:24
Definition math_types.h:38