Contents

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