Skip to main content

OH_PixelMap_InitNativePixelMap

Function OH_PixelMap_InitNativePixelMap 

Source
pub unsafe extern "C" fn OH_PixelMap_InitNativePixelMap(
    env: napi_env,
    source: napi_value,
) -> *mut NativePixelMap
Expand description

@brief Initializes a NativePixelMap object.

@param env Pointer to the NAPI environment. @param source PixelMap object at the application layer. @return Pointer to the NativePixelMap object. @see InitNativePixelMap @since 10 @version 1.0