1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
| CFTypeID CGContextGetTypeID(void);
void CGContextSaveGState(CGContextRef cg_nullable c);
void CGContextRestoreGState(CGContextRef cg_nullable c);
void CGContextScaleCTM(CGContextRef cg_nullable c, CGFloat sx, CGFloat sy);
void CGContextTranslateCTM(CGContextRef cg_nullable c, CGFloat tx, CGFloat ty);
void CGContextRotateCTM(CGContextRef cg_nullable c, CGFloat angle);
void CGContextConcatCTM(CGContextRef cg_nullable c,CGAffineTransform transform);
CGAffineTransform CGContextGetCTM(CGContextRef cg_nullable c);
void CGContextSetLineWidth(CGContextRef cg_nullable c, CGFloat width);
void CGContextSetLineCap(CGContextRef cg_nullable c, CGLineCap cap);
void CGContextSetLineJoin(CGContextRef cg_nullable c, CGLineJoin join);
void CGContextSetMiterLimit(CGContextRef cg_nullable c, CGFloat limit);
void CGContextSetLineDash(CGContextRef cg_nullable c, CGFloat phase, const CGFloat * __nullable lengths, size_t count);
void CGContextSetFlatness(CGContextRef cg_nullable c, CGFloat flatness);
void CGContextSetAlpha(CGContextRef cg_nullable c, CGFloat alpha);
void CGContextSetBlendMode(CGContextRef cg_nullable c, CGBlendMode mode);
void CGContextBeginPath(CGContextRef cg_nullable c);
void CGContextMoveToPoint(CGContextRef cg_nullable c, CGFloat x, CGFloat y);
void CGContextAddLineToPoint(CGContextRef cg_nullable c,CGFloat x, CGFloat y);
void CGContextAddCurveToPoint(CGContextRef cg_nullable c, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y);
void CGContextAddQuadCurveToPoint(CGContextRef cg_nullable c, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y);
void CGContextClosePath(CGContextRef cg_nullable c);
void CGContextAddRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextAddRects(CGContextRef cg_nullable c, const CGRect * __nullable rects, size_t count);
void CGContextAddLines(CGContextRef cg_nullable c, const CGPoint * __nullable points, size_t count);
CGContextAddEllipseInRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextAddArc(CGContextRef cg_nullable c, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, int clockwise); void CGContextAddArcToPoint(CGContextRef cg_nullable c, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius);
void CGContextAddPath(CGContextRef cg_nullable c, CGPathRef cg_nullable path);
void CGContextReplacePathWithStrokedPath(CGContextRef cg_nullable c);
bool CGContextIsPathEmpty(CGContextRef cg_nullable c);
CGPoint CGContextGetPathCurrentPoint(CGContextRef cg_nullable c);
CGRect CGContextGetPathBoundingBox(CGContextRef cg_nullable c);
CGPathRef __nullable CGContextCopyPath(CGContextRef cg_nullable c);
bool CGContextPathContainsPoint(CGContextRef cg_nullable c, CGPoint point, CGPathDrawingMode mode);
void CGContextDrawPath(CGContextRef cg_nullable c, CGPathDrawingMode mode);
void CGContextFillPath(CGContextRef cg_nullable c);
void CGContextEOFillPath(CGContextRef cg_nullable c);
void CGContextStrokePath(CGContextRef cg_nullable c);
void CGContextFillRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextFillRects(CGContextRef cg_nullable c, const CGRect * __nullable rects, size_t count);
void CGContextStrokeRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextStrokeRectWithWidth(CGContextRef cg_nullable c, CGRect rect, CGFloat width);
void CGContextClearRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextFillEllipseInRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextStrokeEllipseInRect(CGContextRef cg_nullable c,CGRect rect);
void CGContextStrokeLineSegments(CGContextRef cg_nullable c, const CGPoint * __nullable points, size_t count);
void CGContextClip(CGContextRef cg_nullable c);
void CGContextEOClip(CGContextRef cg_nullable c);
void CGContextClipToMask(CGContextRef cg_nullable c, CGRect rect, CGImageRef cg_nullable mask);
CGRect CGContextGetClipBoundingBox(CGContextRef cg_nullable c);
void CGContextClipToRect(CGContextRef cg_nullable c, CGRect rect);
void CGContextClipToRects(CGContextRef cg_nullable c, const CGRect * rects, size_t count);
void CGContextSetFillColorWithColor(CGContextRef cg_nullable c, CGColorRef cg_nullable color);
void CGContextSetStrokeColorWithColor(CGContextRef cg_nullable c, CGColorRef cg_nullable color);
void CGContextSetFillColorSpace(CGContextRef cg_nullable c,CGColorSpaceRef cg_nullable space);
void CGContextSetStrokeColorSpace(CGContextRef cg_nullable c, CGColorSpaceRef cg_nullable space);
void CGContextSetFillColor(CGContextRef cg_nullable c, const CGFloat * cg_nullable components); void CGContextSetStrokeColor(CGContextRef cg_nullable c, const CGFloat * cg_nullable components); void CGContextSetFillPattern(CGContextRef cg_nullable c, CGPatternRef cg_nullable pattern, const CGFloat * cg_nullable components); void CGContextSetStrokePattern(CGContextRef cg_nullable c, CGPatternRef cg_nullable pattern, const CGFloat * cg_nullable components); void CGContextSetPatternPhase(CGContextRef cg_nullable c, CGSize phase); void CGContextSetGrayFillColor(CGContextRef cg_nullable c, CGFloat gray, CGFloat alpha); void CGContextSetGrayStrokeColor(CGContextRef cg_nullable c, CGFloat gray, CGFloat alpha); void CGContextSetRGBFillColor(CGContextRef cg_nullable c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha); void CGContextSetRGBStrokeColor(CGContextRef cg_nullable c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha); void CGContextSetCMYKFillColor(CGContextRef cg_nullable c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha); void CGContextSetCMYKStrokeColor(CGContextRef cg_nullable c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
void CGContextSetRenderingIntent(CGContextRef cg_nullable c, CGColorRenderingIntent intent);
void CGContextDrawImage(CGContextRef cg_nullable c, CGRect rect, CGImageRef cg_nullable image);
void CGContextDrawTiledImage(CGContextRef cg_nullable c, CGRect rect, CGImageRef cg_nullable image);
CGInterpolationQuality CGContextGetInterpolationQuality(CGContextRef cg_nullable c);
void CGContextSetInterpolationQuality(CGContextRef cg_nullable c, CGInterpolationQuality quality);
void CGContextSetShadowWithColor(CGContextRef cg_nullable c, CGSize offset, CGFloat blur, CGColorRef __nullable color); void CGContextSetShadow(CGContextRef cg_nullable c, CGSize offset, CGFloat blur);
void CGContextDrawLinearGradient(CGContextRef cg_nullable c, CGGradientRef cg_nullable gradient, CGPoint startPoint, CGPoint endPoint, CGGradientDrawingOptions options);
void CGContextDrawRadialGradient(CGContextRef cg_nullable c, CGGradientRef cg_nullable gradient, CGPoint startCenter, CGFloat startRadius, CGPoint endCenter, CGFloat endRadius, CGGradientDrawingOptions options);
void CGContextDrawShading(CGContextRef cg_nullable c, cg_nullable CGShadingRef shading);
void CGContextSetCharacterSpacing(CGContextRef cg_nullable c, CGFloat spacing);
void CGContextSetTextPosition(CGContextRef cg_nullable c, CGFloat x, CGFloat y);
CGPoint CGContextGetTextPosition(CGContextRef cg_nullable c);
void CGContextSetTextMatrix(CGContextRef cg_nullable c, CGAffineTransform t);
CGAffineTransform CGContextGetTextMatrix(CGContextRef cg_nullable c);
void CGContextSetTextDrawingMode(CGContextRef cg_nullable c, CGTextDrawingMode mode);
void CGContextSetFont(CGContextRef cg_nullable c, CGFontRef cg_nullable font);
void CGContextSetFontSize(CGContextRef cg_nullable c, CGFloat size); void CGContextShowGlyphsAtPositions(CGContextRef cg_nullable c, const CGGlyph * cg_nullable glyphs, const CGPoint * cg_nullable Lpositions, size_t count);
void CGContextShowGlyphsAtPositions(CGContextRef cg_nullable c, const CGGlyph * cg_nullable glyphs, const CGPoint * cg_nullable Lpositions, size_t count);
void CGContextDrawPDFPage(CGContextRef cg_nullable c, CGPDFPageRef cg_nullable page);
void CGContextBeginPage(CGContextRef cg_nullable c, const CGRect * __nullable mediaBox);
void CGContextEndPage(CGContextRef cg_nullable c);
CGContextRef cg_nullable CGContextRetain(CGContextRef cg_nullable c);
void CGContextRelease(CGContextRef cg_nullable c);
void CGContextFlush(CGContextRef cg_nullable c);
void CGContextSynchronize(CGContextRef cg_nullable c);
void CGContextSetShouldAntialias(CGContextRef cg_nullable c, bool shouldAntialias);
void CGContextSetAllowsAntialiasing(CGContextRef cg_nullable c, bool allowsAntialiasing);
void CGContextSetShouldSmoothFonts(CGContextRef cg_nullable c, bool shouldSmoothFonts);
void CGContextSetAllowsFontSmoothing(CGContextRef cg_nullable c, bool allowsFontSmoothing);
void CGContextSetShouldSubpixelPositionFonts(CGContextRef cg_nullable c, bool shouldSubpixelPositionFonts);
void CGContextSetAllowsFontSubpixelPositioning(CGContextRef cg_nullable c, bool allowsFontSubpixelPositioning);
void CGContextBeginTransparencyLayer(CGContextRef cg_nullable c, CFDictionaryRef __nullable auxiliaryInfo);
void CGContextBeginTransparencyLayerWithRect(CGContextRef cg_nullable c, CGRect rect, CFDictionaryRef __nullable auxInfo);
void CGContextEndTransparencyLayer(CGContextRef cg_nullable c);
CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform(CGContextRef cg_nullable c);
CGPoint CGContextConvertPointToDeviceSpace(CGContextRef cg_nullable c, CGPoint point);
CGPoint CGContextConvertPointToUserSpace(CGContextRef cg_nullable c, CGPoint point);
CGSize CGContextConvertSizeToDeviceSpace(CGContextRef cg_nullable c, CGSize size);
CGSize CGContextConvertSizeToUserSpace(CGContextRef cg_nullable c, CGSize size);
CGRect CGContextConvertRectToDeviceSpace(CGContextRef cg_nullable c, CGRect rect);
CGRect CGContextConvertRectToUserSpace(CGContextRef cg_nullable c, CGRect rect);
void CGContextSelectFont(CGContextRef cg_nullable c, const char * cg_nullable name, CGFloat size, CGTextEncoding textEncoding);
void CGContextShowText(CGContextRef cg_nullable c, const char * cg_nullable string, size_t length);
void CGContextShowTextAtPoint(CGContextRef cg_nullable c, CGFloat x, CGFloat y, const char * cg_nullable string, size_t length);
void CGContextShowGlyphs(CGContextRef cg_nullable c, const CGGlyph * __nullable g, size_t count);
void CGContextShowGlyphsAtPoint(CGContextRef cg_nullable c, CGFloat x, CGFloat y, const CGGlyph * __nullable glyphs, size_t count);
void CGContextShowGlyphsWithAdvances(CGContextRef cg_nullable c, const CGGlyph * __nullable glyphs, const CGSize * __nullable advances, size_t count);
void CGContextDrawPDFDocument(CGContextRef cg_nullable c, CGRect rect, CGPDFDocumentRef cg_nullable document, int page);
|