pub unsafe extern "C" fn OH_PixelMap_IsSupportAlpha(
native: *const NativePixelMap,
alpha: *mut i32,
) -> i32Expand description
@brief Checks whether a NativePixelMap object supports alpha channels.
@param native Pointer to a NativePixelMap object. @param alpha Pointer to the support for alpha channels. @return Result code defined in {@link IRNdkErrCode}:
- {@link IMAGE_RESULT_SUCCESS}: The operation is successful.
- {@link IMAGE_RESULT_BAD_PARAMETER}: A parameter is incorrect.
- {@link IMAGE_RESULT_JNI_ENV_ABNORMAL}: The JNI environment is abnormal.
- {@link IMAGE_RESULT_INVALID_PARAMETER}: A parameter is invalid.
- {@link IMAGE_RESULT_DATA_ABNORMAL}: The image input data is incorrect.
- {@link IMAGE_RESULT_DATA_UNSUPPORT}: The attribute is invalid or the image data is not supported.