pub unsafe extern "C" fn OH_NativeImage_GetTransformMatrix(
image: *mut OH_NativeImage,
matrix: *mut f32,
) -> i32👎Deprecated since 12
Available on crate feature
native_image only.Expand description
Return the transform matrix of the texture image set by the most recent call to
OH_NativeImage_UpdateSurfaceImage.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeImage
§Arguments
-
image- Indicates the pointer to a OH_NativeImage instance. -
matrix- Indicates the retrieved 4*4 transform matrix .
§Returns
- Returns an error code, 0 is success, otherwise, failed.
Available since API-level: 9
Version: 1.0
Deprecated since 12 OH_NativeImage_GetTransformMatrixV2