mirror of
https://github.com/openharmony/interface_sdk_c.git
synced 2026-08-26 18:56:40 -04:00
多段注释合并
Signed-off-by: ZouQianshun <zouqianshun@h-partners.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%]
This commit is contained in:
@@ -15038,21 +15038,6 @@ int32_t OH_ArkUI_UnregisterLayoutCallbackOnNodeHandle(ArkUI_NodeHandle node);
|
||||
*/
|
||||
int32_t OH_ArkUI_UnregisterDrawCallbackOnNodeHandle(ArkUI_NodeHandle node);
|
||||
|
||||
/**
|
||||
* @brief Get the snapshot pixelmap for the given node synchronously, will get error if the node is not on the
|
||||
* tree or is not rendered yet.
|
||||
* Note: the pixelmap should be released through OH_PixelmapNative_Release when it's not used any more.
|
||||
*
|
||||
* @param node Indicates the target node.
|
||||
* @param snapshotOptions the given configuration for taking snapshot, can be null for using default.
|
||||
* @param pixelmap Pixelmap pointer created by system, it's the out result.
|
||||
* @return Returns the result code.
|
||||
* Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful.
|
||||
* Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs.
|
||||
* Returns {@link ARKUI_ERROR_CODE_INTERNAL_ERROR} if the snapshot taking failed will null pixelmap returned.
|
||||
* Returns {@link ARKUI_ERROR_CODE_COMPONENT_SNAPSHOT_TIMEOUT} if the snapshot taking is timeout.
|
||||
* @since 15
|
||||
*/
|
||||
/**
|
||||
* @brief Obtains a snapshot of a given component. If the node is not in the component tree or has not been rendered,
|
||||
* the snapshot operation will fail. When the <b>Pixelmap</b> object created is no longer in use, it should be released
|
||||
@@ -15074,7 +15059,7 @@ int32_t OH_ArkUI_UnregisterDrawCallbackOnNodeHandle(ArkUI_NodeHandle node);
|
||||
* dynamic range mode is not supported.
|
||||
* Returns {@link ARKUI_ERROR_CODE_COMPONENT_SNAPSHOT_AUTO_NOT_SUPPORTED} if the isAuto parameter of the color
|
||||
* space or dynamic range mode is set to true for offscreen node snapshot.
|
||||
* @since 23
|
||||
* @since 15
|
||||
*/
|
||||
int32_t OH_ArkUI_GetNodeSnapshot(ArkUI_NodeHandle node, ArkUI_SnapshotOptions* snapshotOptions,
|
||||
OH_PixelmapNative** pixelmap);
|
||||
|
||||
@@ -12985,21 +12985,6 @@ int32_t OH_ArkUI_UnregisterLayoutCallbackOnNodeHandle(ArkUI_NodeHandle node);
|
||||
*/
|
||||
int32_t OH_ArkUI_UnregisterDrawCallbackOnNodeHandle(ArkUI_NodeHandle node);
|
||||
|
||||
/**
|
||||
* @brief Get the snapshot pixelmap for the given node synchronously, will get error if the node is not on the
|
||||
* tree or is not rendered yet.
|
||||
* Note: the pixelmap should be released through OH_PixelmapNative_Release when it's not used any more.
|
||||
*
|
||||
* @param node Indicates the target node.
|
||||
* @param snapshotOptions the given configuration for taking snapshot, can be null for using default.
|
||||
* @param pixelmap Pixelmap pointer created by system, it's the out result.
|
||||
* @return Returns the result code.
|
||||
* Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful.
|
||||
* Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs.
|
||||
* Returns {@link ARKUI_ERROR_CODE_INTERNAL_ERROR} if the snapshot taking failed will null pixelmap returned.
|
||||
* Returns {@link ARKUI_ERROR_CODE_COMPONENT_SNAPSHOT_TIMEOUT} if the snapshot taking is timeout.
|
||||
* @since 15
|
||||
*/
|
||||
/**
|
||||
* @brief Obtains a snapshot of a given component. If the node is not in the component tree or has not been rendered,
|
||||
* the snapshot operation will fail. When the <b>Pixelmap</b> object created is no longer in use, it should be released
|
||||
@@ -13021,7 +13006,7 @@ int32_t OH_ArkUI_UnregisterDrawCallbackOnNodeHandle(ArkUI_NodeHandle node);
|
||||
* dynamic range mode is not supported.
|
||||
* Returns {@link ARKUI_ERROR_CODE_COMPONENT_SNAPSHOT_AUTO_NOT_SUPPORTED} if the isAuto parameter of the color
|
||||
* space or dynamic range mode is set to true for offscreen node snapshot.
|
||||
* @since 23
|
||||
* @since 15
|
||||
*/
|
||||
int32_t OH_ArkUI_GetNodeSnapshot(ArkUI_NodeHandle node, ArkUI_SnapshotOptions* snapshotOptions,
|
||||
OH_PixelmapNative** pixelmap);
|
||||
|
||||
Reference in New Issue
Block a user