1# drawing_point.h 2 3 4## Overview 5 6The **drawing_point.h** file declares the functions related to the coordinate point in the drawing module. 7 8**File to include**: <native_drawing/drawing_point.h> 9 10**Library**: libnative_drawing.so 11 12**Since**: 11 13 14**Related module**: [Drawing](_drawing.md) 15 16 17## Summary 18 19 20### Functions 21 22| Name| Description| 23| -------- | -------- | 24| [OH_Drawing_Point](_drawing.md#oh_drawing_point) \* [OH_Drawing_PointCreate](_drawing.md#oh_drawing_pointcreate) (float x, float y) | Creates an **OH_Drawing_Point** object.| 25| [OH_Drawing_ErrorCode](_drawing.md#oh_drawing_errorcode) [OH_Drawing_PointGetX](_drawing.md#oh_drawing_pointgetx) (const [OH_Drawing_Point](_drawing.md#oh_drawing_point) \*point, float \*x) | Obtains the X coordinate of a point.| 26| [OH_Drawing_ErrorCode](_drawing.md#oh_drawing_errorcode) [OH_Drawing_PointGetY](_drawing.md#oh_drawing_pointgety) (const [OH_Drawing_Point](_drawing.md#oh_drawing_point) \*point, float \*y) | Obtains the Y coordinate of a point.| 27| [OH_Drawing_ErrorCode](_drawing.md#oh_drawing_errorcode) [OH_Drawing_PointSet](_drawing.md#oh_drawing_pointset) ([OH_Drawing_Point](_drawing.md#oh_drawing_point) \*point, float x, float y) | Sets the X and Y coordinates of a point.| 28| void [OH_Drawing_PointDestroy](_drawing.md#oh_drawing_pointdestroy) ([OH_Drawing_Point](_drawing.md#oh_drawing_point) \*) | Destroys an **OH_Drawing_Point** object and reclaims the memory occupied by the object.| 29