1e41f4b71Sopenharmony_ci# drawing_point.h
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## Overview
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ciThe **drawing_point.h** file declares the functions related to the coordinate point in the drawing module.
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci**File to include**: <native_drawing/drawing_point.h>
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci**Library**: libnative_drawing.so
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci**Since**: 11
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci**Related module**: [Drawing](_drawing.md)
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci## Summary
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci### Functions
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci| Name| Description|
23e41f4b71Sopenharmony_ci| -------- | -------- |
24e41f4b71Sopenharmony_ci| [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.|
25e41f4b71Sopenharmony_ci| [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.| 
26e41f4b71Sopenharmony_ci| [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.| 
27e41f4b71Sopenharmony_ci| [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.| 
28e41f4b71Sopenharmony_ci| 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