<!--
{
  "availability" : [
    "FxPlug: 3.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxOnScreenControlAPI/convertPoint(fromSpace:fromX:fromY:toSpace:toX:toY:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxOnScreenControlAPI(im)convertPointFromSpace:fromX:fromY:toSpace:toX:toY:"
  },
  "title" : "convertPoint(fromSpace:fromX:fromY:toSpace:toX:toY:)"
}
-->

# convertPoint(fromSpace:fromX:fromY:toSpace:toX:toY:)

Converts a position from object space to canvas space.

```
func convertPoint(fromSpace: FxDrawingCoordinates, fromX: Double, fromY: Double, toSpace: FxDrawingCoordinates, toX: UnsafeMutablePointer<Double>!, toY: UnsafeMutablePointer<Double>!)
```

## Parameters

`fromSpace`

The coordinate space to convert from.

`fromX`

The X coordinate of the position to convert from.

`fromY`

The Y coordinate of the position to convert from.

`toSpace`

The coordinate space to convert to.

`toX`

Returns, by-reference, the X coordinate of the computed position.

`toY`

Returns, by-reference, the Y coordinate of the computed position.

---

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)