---
title: "convertPoint(toImagePoint:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimageview/convertpoint(toimagepoint:)"
---

# convertPoint(toImagePoint:)

Converts an image view coordinate to an image coordinate.

## Declaration

```swift
func convertPoint(toImagePoint viewPoint: NSPoint) -> NSPoint
```

## Parameters

- `viewPoint`: A point specified in coordinates relative to the image view.

## Return Value

Return Value The point specified in coordinates relative to the image.

## See Also

### Converting Points and Rectangles

- [convertRect(toImageRect:)](quartz/ikimageview/convertrect(toimagerect:).md)
- [convertImagePoint(toViewPoint:)](quartz/ikimageview/convertimagepoint(toviewpoint:).md)
- [convertImageRect(toViewRect:)](quartz/ikimageview/convertimagerect(toviewrect:).md)
