CGContextSetTextPosition
Sets the location at which text is drawn.
Declaration
extern void CGContextSetTextPosition(CGContextRef c, CGFloat x, CGFloat y);Parameters
- c:
A graphics context.
- x:
A value for the x-coordinate at which to draw the text, in user space coordinates.
- y:
A value for the y-coordinate at which to draw the text, in user space coordinates.
See Also
Drawing Text
textMatrixCGContextSetTextMatrixCGContextGetTextPositionselectFont(name:size:textEncoding:)setCharacterSpacing(_:)setFont(_:)setFontSize(_:)setTextDrawingMode(_:)setAllowsFontSmoothing(_:)setAllowsFontSubpixelPositioning(_:)setAllowsFontSubpixelQuantization(_:)setShouldSmoothFonts(_:)setShouldSubpixelPositionFonts(_:)setShouldSubpixelQuantizeFonts(_:)showGlyphs(g:count:)