Mac OS 9
CGContext.h File Reference

CoreGraphics context. More...

#include <CGBase.h>
#include <CGAffineTransform.h>
#include <CGColorSpace.h>
#include <CGFont.h>
#include <CGImage.h>
#include <CGPDFDocument.h>

Go to the source code of this file.

Typedefs

typedef struct CGContext * CGContextRef
 
typedef struct CGPattern * CGPatternRef
 
typedef enum CGLineJoin CGLineJoin
 
typedef enum CGLineCap CGLineCap
 
typedef enum CGPathDrawingMode CGPathDrawingMode
 
typedef enum CGTextDrawingMode CGTextDrawingMode
 
typedef enum CGTextEncoding CGTextEncoding
 
typedef enum CGInterpolationQuality CGInterpolationQuality
 

Enumerations

enum  CGLineJoin { kCGLineJoinMiter = 0 , kCGLineJoinRound = 1 , kCGLineJoinBevel = 2 }
 
enum  CGLineCap { kCGLineCapButt = 0 , kCGLineCapRound = 1 , kCGLineCapSquare = 2 }
 
enum  CGPathDrawingMode {
  kCGPathFill = 0 , kCGPathEOFill = 1 , kCGPathStroke = 2 , kCGPathFillStroke = 3 ,
  kCGPathEOFillStroke = 4
}
 
enum  CGTextDrawingMode {
  kCGTextFill = 0 , kCGTextStroke = 1 , kCGTextFillStroke = 2 , kCGTextInvisible = 3 ,
  kCGTextFillClip = 4 , kCGTextStrokeClip = 5 , kCGTextFillStrokeClip = 6 , kCGTextClip = 7
}
 
enum  CGTextEncoding { kCGEncodingFontSpecific = 0 , kCGEncodingMacRoman = 1 }
 
enum  CGInterpolationQuality { kCGInterpolationDefault = 0 , kCGInterpolationNone = 1 , kCGInterpolationLow = 2 , kCGInterpolationHigh = 3 }
 

Functions

void CGContextSaveGState (CGContextRef ctx)
 
void CGContextRestoreGState (CGContextRef ctx)
 
void CGContextScaleCTM (CGContextRef ctx, float sx, float sy)
 
void CGContextTranslateCTM (CGContextRef ctx, float tx, float ty)
 
void CGContextRotateCTM (CGContextRef ctx, float angle)
 
void CGContextConcatCTM (CGContextRef ctx, CGAffineTransform transform)
 
CGAffineTransform CGContextGetCTM (CGContextRef ctx)
 
void CGContextSetLineWidth (CGContextRef ctx, float width)
 
void CGContextSetLineCap (CGContextRef ctx, CGLineCap cap)
 
void CGContextSetLineJoin (CGContextRef ctx, CGLineJoin join)
 
void CGContextSetMiterLimit (CGContextRef ctx, float limit)
 
void CGContextSetLineDash (CGContextRef ctx, float phase, const float lengths[], size_t count)
 
void CGContextSetFlatness (CGContextRef ctx, float flatness)
 
void CGContextSetAlpha (CGContextRef ctx, float alpha)
 
void CGContextBeginPath (CGContextRef ctx)
 
void CGContextMoveToPoint (CGContextRef ctx, float x, float y)
 
void CGContextAddLineToPoint (CGContextRef ctx, float x, float y)
 
void CGContextAddCurveToPoint (CGContextRef ctx, float cp1x, float cp1y, float cp2x, float cp2y, float x, float y)
 
void CGContextAddQuadCurveToPoint (CGContextRef ctx, float cpx, float cpy, float x, float y)
 
void CGContextClosePath (CGContextRef ctx)
 
void CGContextAddRect (CGContextRef ctx, CGRect rect)
 
void CGContextAddRects (CGContextRef ctx, const CGRect rects[], size_t count)
 
void CGContextAddLines (CGContextRef ctx, const CGPoint points[], size_t count)
 
void CGContextAddArc (CGContextRef ctx, float x, float y, float radius, float startAngle, float endAngle, int clockwise)
 
void CGContextAddArcToPoint (CGContextRef ctx, float x1, float y1, float x2, float y2, float radius)
 
int CGContextIsPathEmpty (CGContextRef ctx)
 
CGPoint CGContextGetPathCurrentPoint (CGContextRef ctx)
 
CGRect CGContextGetPathBoundingBox (CGContextRef ctx)
 
void CGContextDrawPath (CGContextRef ctx, CGPathDrawingMode mode)
 
void CGContextFillPath (CGContextRef ctx)
 
void CGContextEOFillPath (CGContextRef ctx)
 
void CGContextStrokePath (CGContextRef ctx)
 
void CGContextFillRect (CGContextRef ctx, CGRect rect)
 
void CGContextFillRects (CGContextRef ctx, const CGRect rects[], size_t count)
 
void CGContextStrokeRect (CGContextRef ctx, CGRect rect)
 
void CGContextStrokeRectWithWidth (CGContextRef ctx, CGRect rect, float width)
 
void CGContextClearRect (CGContextRef c, CGRect rect)
 
void CGContextClip (CGContextRef ctx)
 
void CGContextEOClip (CGContextRef ctx)
 
void CGContextClipToRect (CGContextRef ctx, CGRect rect)
 
void CGContextClipToRects (CGContextRef ctx, const CGRect rects[], size_t count)
 
void CGContextSetFillColorSpace (CGContextRef ctx, CGColorSpaceRef colorspace)
 
void CGContextSetStrokeColorSpace (CGContextRef ctx, CGColorSpaceRef colorspace)
 
void CGContextSetFillColor (CGContextRef c, const float components[])
 
void CGContextSetStrokeColor (CGContextRef c, const float components[])
 
void CGContextSetFillPattern (CGContextRef c, CGPatternRef pattern, const float components[])
 
void CGContextSetStrokePattern (CGContextRef c, CGPatternRef pattern, const float components[])
 
void CGContextSetGrayFillColor (CGContextRef ctx, float gray, float alpha)
 
void CGContextSetGrayStrokeColor (CGContextRef ctx, float gray, float alpha)
 
void CGContextSetRGBFillColor (CGContextRef ctx, float red, float green, float blue, float alpha)
 
void CGContextSetRGBStrokeColor (CGContextRef ctx, float red, float green, float blue, float alpha)
 
void CGContextSetCMYKFillColor (CGContextRef ctx, float cyan, float magenta, float yellow, float black, float alpha)
 
void CGContextSetCMYKStrokeColor (CGContextRef ctx, float cyan, float magenta, float yellow, float black, float alpha)
 
void CGContextSetRenderingIntent (CGContextRef c, CGColorRenderingIntent intent)
 
void CGContextDrawImage (CGContextRef ctx, CGRect rect, CGImageRef image)
 
CGInterpolationQuality CGContextGetInterpolationQuality (CGContextRef c)
 
void CGContextSetInterpolationQuality (CGContextRef c, CGInterpolationQuality quality)
 
void CGContextSetCharacterSpacing (CGContextRef ctx, float spacing)
 
void CGContextSetTextPosition (CGContextRef ctx, float x, float y)
 
CGPoint CGContextGetTextPosition (CGContextRef ctx)
 
void CGContextSetTextMatrix (CGContextRef ctx, CGAffineTransform transform)
 
CGAffineTransform CGContextGetTextMatrix (CGContextRef ctx)
 
void CGContextSetTextDrawingMode (CGContextRef ctx, CGTextDrawingMode mode)
 
void CGContextSetFont (CGContextRef ctx, CGFontRef font)
 
void CGContextSetFontSize (CGContextRef ctx, float size)
 
void CGContextSelectFont (CGContextRef ctx, const char *name, float size, CGTextEncoding textEncoding)
 
void CGContextShowText (CGContextRef ctx, const char *cstring, size_t length)
 
void CGContextShowGlyphs (CGContextRef ctx, const CGGlyph g[], size_t count)
 
void CGContextShowTextAtPoint (CGContextRef ctx, float x, float y, const char *cstring, size_t length)
 
void CGContextShowGlyphsAtPoint (CGContextRef ctx, float x, float y, const CGGlyph g[], size_t count)
 
void CGContextDrawPDFDocument (CGContextRef ctx, CGRect rect, CGPDFDocumentRef document, int page)
 
void CGContextBeginPage (CGContextRef ctx, const CGRect *mediaBox)
 
void CGContextEndPage (CGContextRef ctx)
 
CGContextRef CGContextRetain (CGContextRef ctx)
 
void CGContextRelease (CGContextRef ctx)
 
void CGContextFlush (CGContextRef ctx)
 
void CGContextSynchronize (CGContextRef ctx)
 
void CGContextSetShouldAntialias (CGContextRef ctx, int shouldAntialias)
 

Detailed Description

CoreGraphics context.

Introduced In: CoreGraphics-122 (Mac OS X 10.1)
Avaliable From: Universal Interfaces 3.4.1
Copyright: � 2000-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ CGContextAddArc()

void CGContextAddArc ( CGContextRef  ctx,
float  x,
float  y,
float  radius,
float  startAngle,
float  endAngle,
int  clockwise 
)

CGContextAddArc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddArcToPoint()

void CGContextAddArcToPoint ( CGContextRef  ctx,
float  x1,
float  y1,
float  x2,
float  y2,
float  radius 
)

CGContextAddArcToPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddCurveToPoint()

void CGContextAddCurveToPoint ( CGContextRef  ctx,
float  cp1x,
float  cp1y,
float  cp2x,
float  cp2y,
float  x,
float  y 
)

CGContextAddCurveToPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddLines()

void CGContextAddLines ( CGContextRef  ctx,
const CGPoint  points[],
size_t  count 
)

CGContextAddLines()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddLineToPoint()

void CGContextAddLineToPoint ( CGContextRef  ctx,
float  x,
float  y 
)

CGContextAddLineToPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddQuadCurveToPoint()

void CGContextAddQuadCurveToPoint ( CGContextRef  ctx,
float  cpx,
float  cpy,
float  x,
float  y 
)

CGContextAddQuadCurveToPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddRect()

void CGContextAddRect ( CGContextRef  ctx,
CGRect  rect 
)

Path construction convenience functions. CGContextAddRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextAddRects()

void CGContextAddRects ( CGContextRef  ctx,
const CGRect  rects[],
size_t  count 
)

CGContextAddRects()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextBeginPage()

void CGContextBeginPage ( CGContextRef  ctx,
const CGRect mediaBox 
)

Page functions. CGContextBeginPage()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextBeginPath()

void CGContextBeginPath ( CGContextRef  ctx)

Path construction functions. CGContextBeginPath()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextClearRect()

void CGContextClearRect ( CGContextRef  c,
CGRect  rect 
)

CGContextClearRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextClip()

void CGContextClip ( CGContextRef  ctx)

Clipping functions. CGContextClip()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextClipToRect()

void CGContextClipToRect ( CGContextRef  ctx,
CGRect  rect 
)

Clipping convenience functions. CGContextClipToRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextClipToRects()

void CGContextClipToRects ( CGContextRef  ctx,
const CGRect  rects[],
size_t  count 
)

CGContextClipToRects()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextClosePath()

void CGContextClosePath ( CGContextRef  ctx)

CGContextClosePath()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextConcatCTM()

void CGContextConcatCTM ( CGContextRef  ctx,
CGAffineTransform  transform 
)

CGContextConcatCTM()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextDrawImage()

void CGContextDrawImage ( CGContextRef  ctx,
CGRect  rect,
CGImageRef  image 
)

Image functions. CGContextDrawImage()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextDrawPath()

void CGContextDrawPath ( CGContextRef  ctx,
CGPathDrawingMode  mode 
)

Path drawing functions. CGContextDrawPath()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextDrawPDFDocument()

void CGContextDrawPDFDocument ( CGContextRef  ctx,
CGRect  rect,
CGPDFDocumentRef  document,
int  page 
)

PDF document functions. CGContextDrawPDFDocument()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextEndPage()

void CGContextEndPage ( CGContextRef  ctx)

CGContextEndPage()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextEOClip()

void CGContextEOClip ( CGContextRef  ctx)

CGContextEOClip()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextEOFillPath()

void CGContextEOFillPath ( CGContextRef  ctx)

CGContextEOFillPath()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextFillPath()

void CGContextFillPath ( CGContextRef  ctx)

Path drawing convenience functions. CGContextFillPath()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextFillRect()

void CGContextFillRect ( CGContextRef  ctx,
CGRect  rect 
)

CGContextFillRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextFillRects()

void CGContextFillRects ( CGContextRef  ctx,
const CGRect  rects[],
size_t  count 
)

CGContextFillRects()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextFlush()

void CGContextFlush ( CGContextRef  ctx)

CGContextFlush()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextGetCTM()

CGAffineTransform CGContextGetCTM ( CGContextRef  ctx)

CGContextGetCTM()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextGetInterpolationQuality()

CGInterpolationQuality CGContextGetInterpolationQuality ( CGContextRef  c)

CGContextGetInterpolationQuality()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.1 and later

◆ CGContextGetPathBoundingBox()

CGRect CGContextGetPathBoundingBox ( CGContextRef  ctx)

CGContextGetPathBoundingBox()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextGetPathCurrentPoint()

CGPoint CGContextGetPathCurrentPoint ( CGContextRef  ctx)

CGContextGetPathCurrentPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextGetTextMatrix()

CGAffineTransform CGContextGetTextMatrix ( CGContextRef  ctx)

CGContextGetTextMatrix()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextGetTextPosition()

CGPoint CGContextGetTextPosition ( CGContextRef  ctx)

CGContextGetTextPosition()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextIsPathEmpty()

int CGContextIsPathEmpty ( CGContextRef  ctx)

Path information functions. CGContextIsPathEmpty()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextMoveToPoint()

void CGContextMoveToPoint ( CGContextRef  ctx,
float  x,
float  y 
)

CGContextMoveToPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextRelease()

void CGContextRelease ( CGContextRef  ctx)

CGContextRelease()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextRestoreGState()

void CGContextRestoreGState ( CGContextRef  ctx)

CGContextRestoreGState()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextRetain()

CGContextRef CGContextRetain ( CGContextRef  ctx)

Context functions. CGContextRetain()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextRotateCTM()

void CGContextRotateCTM ( CGContextRef  ctx,
float  angle 
)

CGContextRotateCTM()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSaveGState()

void CGContextSaveGState ( CGContextRef  ctx)

Graphics state functions. CGContextSaveGState()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextScaleCTM()

void CGContextScaleCTM ( CGContextRef  ctx,
float  sx,
float  sy 
)

Coordinate space transformations. CGContextScaleCTM()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSelectFont()

void CGContextSelectFont ( CGContextRef  ctx,
const char *  name,
float  size,
CGTextEncoding  textEncoding 
)

CGContextSelectFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetAlpha()

void CGContextSetAlpha ( CGContextRef  ctx,
float  alpha 
)

CGContextSetAlpha()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetCharacterSpacing()

void CGContextSetCharacterSpacing ( CGContextRef  ctx,
float  spacing 
)

Text functions. CGContextSetCharacterSpacing()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetCMYKFillColor()

void CGContextSetCMYKFillColor ( CGContextRef  ctx,
float  cyan,
float  magenta,
float  yellow,
float  black,
float  alpha 
)

CGContextSetCMYKFillColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetCMYKStrokeColor()

void CGContextSetCMYKStrokeColor ( CGContextRef  ctx,
float  cyan,
float  magenta,
float  yellow,
float  black,
float  alpha 
)

CGContextSetCMYKStrokeColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetFillColor()

void CGContextSetFillColor ( CGContextRef  c,
const float  components[] 
)

Color functions. CGContextSetFillColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetFillColorSpace()

void CGContextSetFillColorSpace ( CGContextRef  ctx,
CGColorSpaceRef  colorspace 
)

Colorspace functions. CGContextSetFillColorSpace()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetFillPattern()

void CGContextSetFillPattern ( CGContextRef  c,
CGPatternRef  pattern,
const float  components[] 
)

Pattern functions. CGContextSetFillPattern()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.1 and later

◆ CGContextSetFlatness()

void CGContextSetFlatness ( CGContextRef  ctx,
float  flatness 
)

CGContextSetFlatness()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetFont()

void CGContextSetFont ( CGContextRef  ctx,
CGFontRef  font 
)

CGContextSetFont()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetFontSize()

void CGContextSetFontSize ( CGContextRef  ctx,
float  size 
)

CGContextSetFontSize()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetGrayFillColor()

void CGContextSetGrayFillColor ( CGContextRef  ctx,
float  gray,
float  alpha 
)

Color convenience functions. CGContextSetGrayFillColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetGrayStrokeColor()

void CGContextSetGrayStrokeColor ( CGContextRef  ctx,
float  gray,
float  alpha 
)

CGContextSetGrayStrokeColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetInterpolationQuality()

void CGContextSetInterpolationQuality ( CGContextRef  c,
CGInterpolationQuality  quality 
)

CGContextSetInterpolationQuality()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.1 and later

◆ CGContextSetLineCap()

void CGContextSetLineCap ( CGContextRef  ctx,
CGLineCap  cap 
)

CGContextSetLineCap()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetLineDash()

void CGContextSetLineDash ( CGContextRef  ctx,
float  phase,
const float  lengths[],
size_t  count 
)

CGContextSetLineDash()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetLineJoin()

void CGContextSetLineJoin ( CGContextRef  ctx,
CGLineJoin  join 
)

CGContextSetLineJoin()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetLineWidth()

void CGContextSetLineWidth ( CGContextRef  ctx,
float  width 
)

Drawing attribute functions. CGContextSetLineWidth()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetMiterLimit()

void CGContextSetMiterLimit ( CGContextRef  ctx,
float  limit 
)

CGContextSetMiterLimit()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetRenderingIntent()

void CGContextSetRenderingIntent ( CGContextRef  c,
CGColorRenderingIntent  intent 
)

Rendering intent. CGContextSetRenderingIntent()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetRGBFillColor()

void CGContextSetRGBFillColor ( CGContextRef  ctx,
float  red,
float  green,
float  blue,
float  alpha 
)

CGContextSetRGBFillColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetRGBStrokeColor()

void CGContextSetRGBStrokeColor ( CGContextRef  ctx,
float  red,
float  green,
float  blue,
float  alpha 
)

CGContextSetRGBStrokeColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetShouldAntialias()

void CGContextSetShouldAntialias ( CGContextRef  ctx,
int  shouldAntialias 
)

Antialiasing functions. CGContextSetShouldAntialias()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetStrokeColor()

void CGContextSetStrokeColor ( CGContextRef  c,
const float  components[] 
)

CGContextSetStrokeColor()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetStrokeColorSpace()

void CGContextSetStrokeColorSpace ( CGContextRef  ctx,
CGColorSpaceRef  colorspace 
)

CGContextSetStrokeColorSpace()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetStrokePattern()

void CGContextSetStrokePattern ( CGContextRef  c,
CGPatternRef  pattern,
const float  components[] 
)

CGContextSetStrokePattern()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.1 and later

◆ CGContextSetTextDrawingMode()

void CGContextSetTextDrawingMode ( CGContextRef  ctx,
CGTextDrawingMode  mode 
)

CGContextSetTextDrawingMode()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetTextMatrix()

void CGContextSetTextMatrix ( CGContextRef  ctx,
CGAffineTransform  transform 
)

CGContextSetTextMatrix()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSetTextPosition()

void CGContextSetTextPosition ( CGContextRef  ctx,
float  x,
float  y 
)

CGContextSetTextPosition()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextShowGlyphs()

void CGContextShowGlyphs ( CGContextRef  ctx,
const CGGlyph  g[],
size_t  count 
)

CGContextShowGlyphs()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextShowGlyphsAtPoint()

void CGContextShowGlyphsAtPoint ( CGContextRef  ctx,
float  x,
float  y,
const CGGlyph  g[],
size_t  count 
)

CGContextShowGlyphsAtPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextShowText()

void CGContextShowText ( CGContextRef  ctx,
const char *  cstring,
size_t  length 
)

CGContextShowText()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextShowTextAtPoint()

void CGContextShowTextAtPoint ( CGContextRef  ctx,
float  x,
float  y,
const char *  cstring,
size_t  length 
)

Text convenience functions. CGContextShowTextAtPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextStrokePath()

void CGContextStrokePath ( CGContextRef  ctx)

CGContextStrokePath()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextStrokeRect()

void CGContextStrokeRect ( CGContextRef  ctx,
CGRect  rect 
)

CGContextStrokeRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextStrokeRectWithWidth()

void CGContextStrokeRectWithWidth ( CGContextRef  ctx,
CGRect  rect,
float  width 
)

CGContextStrokeRectWithWidth()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextSynchronize()

void CGContextSynchronize ( CGContextRef  ctx)

CGContextSynchronize()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGContextTranslateCTM()

void CGContextTranslateCTM ( CGContextRef  ctx,
float  tx,
float  ty 
)

CGContextTranslateCTM()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later