27 #ifndef __CGAFFINETRANSFORM__
31 #ifndef __CGCOLORSPACE__
43 #ifndef __CGPDFDOCUMENT__
60 #if PRAGMA_STRUCT_ALIGN
61 #pragma options align = mac68k
62 #elif PRAGMA_STRUCT_PACKPUSH
64 #elif PRAGMA_STRUCT_PACK
68 #if PRAGMA_ENUM_ALWAYSINT
69 #if defined(__fourbyteints__) && !__fourbyteints__
70 #define __CGCONTEXT__RESTORE_TWOBYTEINTS
71 #pragma fourbyteints on
73 #pragma enumsalwaysint on
74 #elif PRAGMA_ENUM_OPTIONS
75 #pragma option enum =int
76 #elif PRAGMA_ENUM_PACK
77 #if __option(pack_enums)
78 #define __CGCONTEXT__RESTORE_PACKED_ENUMS
79 #pragma options(!pack_enums)
83 typedef struct CGContext *CGContextRef;
84 typedef struct CGPattern *CGPatternRef;
92 typedef enum CGLineJoin CGLineJoin;
101 typedef enum CGLineCap CGLineCap;
104 enum CGPathDrawingMode
109 kCGPathFillStroke = 3,
110 kCGPathEOFillStroke = 4
112 typedef enum CGPathDrawingMode CGPathDrawingMode;
115 enum CGTextDrawingMode
119 kCGTextFillStroke = 2,
120 kCGTextInvisible = 3,
122 kCGTextStrokeClip = 5,
123 kCGTextFillStrokeClip = 6,
126 typedef enum CGTextDrawingMode CGTextDrawingMode;
131 kCGEncodingFontSpecific = 0,
132 kCGEncodingMacRoman = 1
134 typedef enum CGTextEncoding CGTextEncoding;
136 enum CGInterpolationQuality
138 kCGInterpolationDefault = 0,
139 kCGInterpolationNone = 1,
140 kCGInterpolationLow = 2,
141 kCGInterpolationHigh = 3
143 typedef enum CGInterpolationQuality CGInterpolationQuality;
377 float cp2y,
float x,
float y);
458 float startAngle,
float endAngle,
int clockwise);
770 const float components[]);
788 const float components[]);
860 float yellow,
float black,
float alpha);
875 float yellow,
float black,
float alpha);
917 CGInterpolationQuality
931 CGInterpolationQuality quality);
1045 CGTextEncoding textEncoding);
1088 const char *cstring,
size_t length);
1102 const CGGlyph g[],
size_t count);
1118 CGPDFDocumentRef document,
int page);
1210 #if PRAGMA_ENUM_ALWAYSINT
1211 #pragma enumsalwaysint reset
1212 #ifdef __CGCONTEXT__RESTORE_TWOBYTEINTS
1213 #pragma fourbyteints off
1215 #elif PRAGMA_ENUM_OPTIONS
1216 #pragma option enum =reset
1217 #elif defined(__CGCONTEXT__RESTORE_PACKED_ENUMS)
1218 #pragma options(pack_enums)
1221 #if PRAGMA_STRUCT_ALIGN
1222 #pragma options align = reset
1223 #elif PRAGMA_STRUCT_PACKPUSH
1225 #elif PRAGMA_STRUCT_PACK
1229 #ifdef PRAGMA_IMPORT_OFF
1232 #pragma import reset
xxx put contents here xxx
CoreGraphics color space.
void CGContextClipToRects(CGContextRef ctx, const CGRect rects[], size_t count)
void CGContextRelease(CGContextRef ctx)
void CGContextRestoreGState(CGContextRef ctx)
void CGContextDrawPath(CGContextRef ctx, CGPathDrawingMode mode)
void CGContextAddQuadCurveToPoint(CGContextRef ctx, float cpx, float cpy, float x, float y)
void CGContextDrawPDFDocument(CGContextRef ctx, CGRect rect, CGPDFDocumentRef document, int page)
void CGContextSetCharacterSpacing(CGContextRef ctx, float spacing)
CGAffineTransform CGContextGetCTM(CGContextRef ctx)
CGPoint CGContextGetTextPosition(CGContextRef ctx)
void CGContextSetFillPattern(CGContextRef c, CGPatternRef pattern, const float components[])
CGAffineTransform CGContextGetTextMatrix(CGContextRef ctx)
void CGContextFlush(CGContextRef ctx)
void CGContextClip(CGContextRef ctx)
void CGContextStrokePath(CGContextRef ctx)
void CGContextAddCurveToPoint(CGContextRef ctx, float cp1x, float cp1y, float cp2x, float cp2y, float x, float y)
void CGContextFillPath(CGContextRef ctx)
void CGContextSetCMYKFillColor(CGContextRef ctx, float cyan, float magenta, float yellow, float black, float alpha)
void CGContextSetLineJoin(CGContextRef ctx, CGLineJoin join)
void CGContextAddRects(CGContextRef ctx, const CGRect rects[], size_t count)
void CGContextSetTextPosition(CGContextRef ctx, float x, float y)
void CGContextEndPage(CGContextRef ctx)
void CGContextDrawImage(CGContextRef ctx, CGRect rect, CGImageRef image)
void CGContextSetFlatness(CGContextRef ctx, float flatness)
void CGContextSetTextDrawingMode(CGContextRef ctx, CGTextDrawingMode mode)
void CGContextEOClip(CGContextRef ctx)
void CGContextScaleCTM(CGContextRef ctx, float sx, float sy)
void CGContextFillRect(CGContextRef ctx, CGRect rect)
CGInterpolationQuality CGContextGetInterpolationQuality(CGContextRef c)
void CGContextAddArc(CGContextRef ctx, float x, float y, float radius, float startAngle, float endAngle, int clockwise)
void CGContextSetShouldAntialias(CGContextRef ctx, int shouldAntialias)
void CGContextSetRenderingIntent(CGContextRef c, CGColorRenderingIntent intent)
int CGContextIsPathEmpty(CGContextRef ctx)
void CGContextAddRect(CGContextRef ctx, CGRect rect)
void CGContextShowTextAtPoint(CGContextRef ctx, float x, float y, const char *cstring, size_t length)
void CGContextSetLineCap(CGContextRef ctx, CGLineCap cap)
void CGContextSetMiterLimit(CGContextRef ctx, float limit)
void CGContextSetRGBStrokeColor(CGContextRef ctx, float red, float green, float blue, float alpha)
void CGContextAddLineToPoint(CGContextRef ctx, float x, float y)
void CGContextSetTextMatrix(CGContextRef ctx, CGAffineTransform transform)
void CGContextSetFont(CGContextRef ctx, CGFontRef font)
void CGContextClipToRect(CGContextRef ctx, CGRect rect)
void CGContextSynchronize(CGContextRef ctx)
CGContextRef CGContextRetain(CGContextRef ctx)
void CGContextFillRects(CGContextRef ctx, const CGRect rects[], size_t count)
void CGContextSetLineWidth(CGContextRef ctx, float width)
void CGContextTranslateCTM(CGContextRef ctx, float tx, float ty)
void CGContextRotateCTM(CGContextRef ctx, float angle)
void CGContextMoveToPoint(CGContextRef ctx, float x, float y)
void CGContextSetCMYKStrokeColor(CGContextRef ctx, float cyan, float magenta, float yellow, float black, float alpha)
void CGContextSetLineDash(CGContextRef ctx, float phase, const float lengths[], size_t count)
void CGContextStrokeRectWithWidth(CGContextRef ctx, CGRect rect, float width)
void CGContextClearRect(CGContextRef c, CGRect rect)
void CGContextSetGrayStrokeColor(CGContextRef ctx, float gray, float alpha)
void CGContextShowGlyphsAtPoint(CGContextRef ctx, float x, float y, const CGGlyph g[], size_t count)
void CGContextShowText(CGContextRef ctx, const char *cstring, size_t length)
void CGContextSetFillColorSpace(CGContextRef ctx, CGColorSpaceRef colorspace)
void CGContextSetGrayFillColor(CGContextRef ctx, float gray, float alpha)
void CGContextSetStrokeColor(CGContextRef c, const float components[])
void CGContextSetStrokePattern(CGContextRef c, CGPatternRef pattern, const float components[])
void CGContextClosePath(CGContextRef ctx)
void CGContextSetInterpolationQuality(CGContextRef c, CGInterpolationQuality quality)
void CGContextAddLines(CGContextRef ctx, const CGPoint points[], size_t count)
void CGContextEOFillPath(CGContextRef ctx)
void CGContextShowGlyphs(CGContextRef ctx, const CGGlyph g[], size_t count)
void CGContextBeginPage(CGContextRef ctx, const CGRect *mediaBox)
void CGContextSetFontSize(CGContextRef ctx, float size)
void CGContextSetAlpha(CGContextRef ctx, float alpha)
void CGContextSetFillColor(CGContextRef c, const float components[])
void CGContextBeginPath(CGContextRef ctx)
void CGContextSetRGBFillColor(CGContextRef ctx, float red, float green, float blue, float alpha)
CGRect CGContextGetPathBoundingBox(CGContextRef ctx)
CGPoint CGContextGetPathCurrentPoint(CGContextRef ctx)
void CGContextAddArcToPoint(CGContextRef ctx, float x1, float y1, float x2, float y2, float radius)
void CGContextStrokeRect(CGContextRef ctx, CGRect rect)
void CGContextSelectFont(CGContextRef ctx, const char *name, float size, CGTextEncoding textEncoding)
void CGContextSaveGState(CGContextRef ctx)
void CGContextConcatCTM(CGContextRef ctx, CGAffineTransform transform)
void CGContextSetStrokeColorSpace(CGContextRef ctx, CGColorSpaceRef colorspace)
xxx put contents here xxx
xxx put contents here xxx
Definition: CGGeometry.h:64
Definition: CGGeometry.h:78