<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGContextMoveToPoint",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGContextMoveToPoint"
  },
  "title" : "CGContextMoveToPoint"
}
-->

# CGContextMoveToPoint

Begins a new subpath at the point you specify.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)