pub unsafe extern "C" fn OH_Drawing_PixelMapGetFromNativePixelMap(
nativePixelMap: *mut NativePixelMap_,
) -> *mut OH_Drawing_PixelMapExpand description
@brief Obtains the pixel map defined by this module from a pixel map defined by the image framework.
@param nativePixelMap Pointer to a {@link NativePixelMap_} object, which is the pixel map defined by the image framework. @return Returns the pointer to an {@link OH_Drawing_PixelMap} object, which is the pixel map defined by this module. If NULL is returned, the creation fails. The possible failure cause is that NativePixelMap_ is NULL. @since 12 @version 1.0