Skip to main content

OH_Drawing_PixelMapGetFromOhPixelMapNative

Function OH_Drawing_PixelMapGetFromOhPixelMapNative 

Source
pub unsafe extern "C" fn OH_Drawing_PixelMapGetFromOhPixelMapNative(
    pixelmapNative: *mut OH_PixelmapNative,
) -> *mut OH_Drawing_PixelMap
Expand description

@brief Gets an OH_Drawing_PixelMap object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param pixelmapNative Indicates a pointer to the OH_PixelmapNative object supported by image framework. @return Returns the pointer to the OH_Drawing_PixelMap object. If nullptr is returned, the get operation fails. The possible cause of the failure is that a nullptr is passed. @since 12 @version 1.0