<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureVideoPreviewLayer/layerPointConverted(fromCaptureDevicePoint:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureVideoPreviewLayer(im)pointForCaptureDevicePointOfInterest:"
  },
  "title" : "layerPointConverted(fromCaptureDevicePoint:)"
}
-->

# layerPointConverted(fromCaptureDevicePoint:)

Converts a point from the coordinate space of the capture device to the coordinate space of the layer.

```
func layerPointConverted(fromCaptureDevicePoint captureDevicePointOfInterest: CGPoint) -> CGPoint
```

## Parameters

`captureDevicePointOfInterest`

A point in capture device coordinates to convert.

## Return Value

A point in layer coordinates.

## Discussion

A capture device’s [`focusPointOfInterest`](/documentation/AVFoundation/AVCaptureDevice/focusPointOfInterest) and [`exposurePointOfInterest`](/documentation/AVFoundation/AVCaptureDevice/exposurePointOfInterest) properties provide a <doc://com.apple.documentation/documentation/CoreFoundation/CGPoint> value where `{0,0}` represents the top-left and `{1,1}` represents the bottom-right of the unrotated image.

The system takes the layer’s frame size and its [`videoGravity`](/documentation/AVFoundation/AVCaptureVideoPreviewLayer/videoGravity) into consideration when making the conversion.

---

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)