harmony 鸿蒙drawing_record_cmd.h
drawing_record_cmd.h
Overview
The drawing_record_cmd.h file declares the functions related to a recording command object.
File to include: <native_drawing/drawing_record_cmd.h>
Library: libnative_drawing.so
Since: 13
Related module: Drawing
Summary
Functions
Name | Description |
---|---|
OH_Drawing_RecordCmdUtils * OH_Drawing_RecordCmdUtilsCreate (void) | Creates an OH_Drawing_RecordCmdUtils object. |
OH_Drawing_ErrorCode OH_Drawing_RecordCmdUtilsDestroy (OH_Drawing_RecordCmdUtils *recordCmdUtils) | Destroys an OH_Drawing_RecordCmdUtils object and reclaims the memory occupied by the object. |
OH_Drawing_ErrorCode OH_Drawing_RecordCmdUtilsBeginRecording (OH_Drawing_RecordCmdUtils *recordCmdUtils, int32_t width, int32_t height, OH_Drawing_Canvas **canvas) | Starts recording. This function must be used in pair with OH_Drawing_RecordCmdUtilsFinishRecording. The OH_Drawing_RecordCmdUtils object generates a canvas object of the recording type and calls the interface of the drawing object to record all drawing commands. |
OH_Drawing_ErrorCode OH_Drawing_RecordCmdUtilsFinishRecording (OH_Drawing_RecordCmdUtils *recordCmdUtils, OH_Drawing_RecordCmd **recordCmd) | Ends recording. This function must be called after OH_Drawing_RecordCmdUtilsBeginRecording. The OH_Drawing_RecordCmdUtils object ends recording and stores the drawing commands recorded by the canvas object of the recording type into the generated OH_Drawing_RecordCmdUtilsBeginRecording object. |
OH_Drawing_ErrorCode OH_Drawing_RecordCmdDestroy (OH_Drawing_RecordCmd *recordCmd) | Destroys an OH_Drawing_RecordCmd 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框自动聚焦