Contents

CGContextMoveToPoint

Begins a new subpath at the point you specify.

Declaration

extern void CGContextMoveToPoint(CGContextRef c, CGFloat x, CGFloat y);

Parameters

  • c:

    A graphics context.

  • x:

    The x-value, in user space coordinates, for the point.

  • y:

    The y-value, in user space coordinates, for the point.

Discussion

This point you specify becomes the start point of a new subpath. The current point is set to this start point.

See Also

Constructing a Current Graphics Path