Function pdfium_render::bindgen::FPDFBitmap_GetBuffer
source · [−]pub unsafe extern "C" fn FPDFBitmap_GetBuffer(
bitmap: FPDF_BITMAP
) -> *mut c_voidExpand description
Function: FPDFBitmap_GetBuffer Get data buffer of a bitmap. Parameters: bitmap - Handle to the bitmap. Returned by FPDFBitmap_Create or FPDFImageObj_GetBitmap. Return value: The pointer to the first byte of the bitmap buffer. Comments: The stride may be more than width * number of bytes per pixel
Applications can use this function to get the bitmap buffer pointer,
then manipulate any color and/or alpha values for any pixels in the
bitmap.
The data is in BGRA format. Where the A maybe unused if alpha was
not specified.