CGContext Reference
PDF
Overview
Functions by Task
Managing Graphics Contexts
Saving and Restoring the Current Graphics State
Getting and Setting Graphics State Parameters
Constructing Paths
Painting Paths
Getting Information About Paths
Modifying Clipping Paths
Setting Color, Color Space, and Shadow Values
Transforming User Space
Using Transparency Layers
Drawing an Image to a Graphics Context
Drawing PDF Content to a Graphics Context
Drawing With a Gradient
Drawing With a Shading
Setting Up a Page-Based Graphics Context
Drawing Glyphs
Drawing Text
Converting Between Device Space and User Space
Functions
CGContextAddArc
CGContextAddArcToPoint
CGContextAddCurveToPoint
CGContextAddEllipseInRect
CGContextAddLines
CGContextAddLineToPoint
CGContextAddPath
CGContextAddQuadCurveToPoint
CGContextAddRect
CGContextAddRects
CGContextBeginPage
CGContextBeginPath
CGContextBeginTransparencyLayer
CGContextBeginTransparencyLayerWithRect
CGContextClearRect
CGContextClip
CGContextClipToMask
CGContextClipToRect
CGContextClipToRects
CGContextClosePath
CGContextConcatCTM
CGContextConvertPointToDeviceSpace
CGContextConvertPointToUserSpace
CGContextConvertRectToDeviceSpace
CGContextConvertRectToUserSpace
CGContextConvertSizeToDeviceSpace
CGContextConvertSizeToUserSpace
CGContextDrawImage
CGContextDrawLinearGradient
CGContextDrawPath
CGContextDrawPDFDocument
CGContextDrawPDFPage
CGContextDrawRadialGradient
CGContextDrawShading
CGContextDrawTiledImage
CGContextEndPage
CGContextEndTransparencyLayer
CGContextEOClip
CGContextEOFillPath
CGContextFillEllipseInRect
CGContextFillPath
CGContextFillRect
CGContextFillRects
CGContextFlush
CGContextGetClipBoundingBox
CGContextGetCTM
CGContextGetInterpolationQuality
CGContextGetPathBoundingBox
CGContextGetPathCurrentPoint
CGContextGetTextMatrix
CGContextGetTextPosition
CGContextGetTypeID
CGContextGetUserSpaceToDeviceSpaceTransform
CGContextIsPathEmpty
CGContextMoveToPoint
CGContextPathContainsPoint
CGContextRelease
CGContextReplacePathWithStrokedPath
CGContextRestoreGState
CGContextRetain
CGContextRotateCTM
CGContextSaveGState
CGContextScaleCTM
CGContextSelectFont
CGContextSetAllowsAntialiasing
CGContextSetAlpha
CGContextSetBlendMode
CGContextSetCharacterSpacing
CGContextSetCMYKFillColor
CGContextSetCMYKStrokeColor
CGContextSetFillColor
CGContextSetFillColorSpace
CGContextSetFillColorWithColor
CGContextSetFillPattern
CGContextSetFlatness
CGContextSetFont
CGContextSetFontSize
CGContextSetGrayFillColor
CGContextSetGrayStrokeColor
CGContextSetInterpolationQuality
CGContextSetLineCap
CGContextSetLineDash
CGContextSetLineJoin
CGContextSetLineWidth
CGContextSetMiterLimit
CGContextSetPatternPhase
CGContextSetRenderingIntent
CGContextSetRGBFillColor
CGContextSetRGBStrokeColor
CGContextSetShadow
CGContextSetShadowWithColor
CGContextSetShouldAntialias
CGContextSetShouldSmoothFonts
CGContextSetStrokeColor
CGContextSetStrokeColorSpace
CGContextSetStrokeColorWithColor
CGContextSetStrokePattern
CGContextSetTextDrawingMode
CGContextSetTextMatrix
CGContextSetTextPosition
CGContextShowGlyphs
CGContextShowGlyphsAtPoint
CGContextShowGlyphsAtPositions
CGContextShowGlyphsWithAdvances
CGContextShowText
CGContextShowTextAtPoint
CGContextStrokeEllipseInRect
CGContextStrokeLineSegments
CGContextStrokePath
CGContextStrokeRect
CGContextStrokeRectWithWidth
CGContextSynchronize
CGContextTranslateCTM
Data Types
CGContextRef
Constants
Blend Modes
Interpolation Qualities
Line Cap Styles
Line Joins
Text Drawing Modes
Text Encodings
Revision History
Index
Companion Guide
Quartz 2D Programming Guide