harmony 鸿蒙drawing_point.h
drawing_point.h
Overview
The drawing_point.h file declares the functions related to the coordinate point in the drawing module.
File to include: <native_drawing/drawing_point.h>
Library: libnative_drawing.so
Since: 11
Related module: Drawing
Summary
Functions
Name | Description |
---|---|
OH_Drawing_Point * OH_Drawing_PointCreate (float x, float y) | Creates an OH_Drawing_Point object. |
OH_Drawing_ErrorCode OH_Drawing_PointGetX (const OH_Drawing_Point *point, float *x) | Obtains the X coordinate of a point. |
OH_Drawing_ErrorCode OH_Drawing_PointGetY (const OH_Drawing_Point *point, float *y) | Obtains the Y coordinate of a point. |
OH_Drawing_ErrorCode OH_Drawing_PointSet (OH_Drawing_Point *point, float x, float y) | Sets the X and Y coordinates of a point. |
void OH_Drawing_PointDestroy (OH_Drawing_Point *) | Destroys an OH_Drawing_Point object and reclaims the memory occupied by the object. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DisplaySoloist_ExpectedRateRange
harmony 鸿蒙NativeColorSpaceManager
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦