Lines Matching defs:bitmap
785 FPDFBitmap_Destroy(progressive_paints_[i].bitmap);
1041 FPDF_BITMAP bitmap = FPDFBitmap_CreateEx(bitmap_size.width(),
1047 // Clear the bitmap
1049 bitmap, 0, 0, bitmap_size.width(), bitmap_size.height(), 0xFFFFFFFF);
1052 FPDF_RenderPageBitmap(bitmap,
1067 // Add the bitmap to an image object and add the image object to the output
1070 FPDFImageObj_SetBitmap(&temp_page, 1, temp_img, bitmap);
1077 FPDFBitmap_Destroy(bitmap);
2008 FPDF_BITMAP bitmap = FPDFBitmap_CreateEx(
2013 FPDFBitmap_FillRect(bitmap, 0, 0, image_data->size().width(),
2017 bitmap, pages_[index]->GetPage(), 0, 0, image_data->size().width(),
2020 FPDFBitmap_FillRect(bitmap, 0, 0, image_data->size().width(),
2024 FPDFBitmap_Destroy(bitmap);
2406 progressive.bitmap = NULL;
2421 if (progressive_paints_[progressive_index].bitmap) {
2426 progressive_paints_[progressive_index].bitmap = CreateBitmap(dirty,
2431 FPDFBitmap_FillRect(progressive_paints_[progressive_index].bitmap, start_x,
2434 progressive_paints_[progressive_index].bitmap,
2446 FPDF_BITMAP bitmap = progressive_paints_[progressive_index].bitmap;
2453 form_, bitmap, pages_[page_index]->GetPage(), start_x, start_y, size_x,
2464 FPDFBitmap_Destroy(bitmap);
2473 FPDFBitmap_Destroy(progressive_paints_[i].bitmap);
2481 FPDF_BITMAP bitmap = progressive_paints_[progressive_index].bitmap;
2492 FPDFBitmap_FillRect(bitmap, left.x() - dirty_in_screen.x(),
2506 FPDFBitmap_FillRect(bitmap, right.x() - dirty_in_screen.x(),
2518 FPDFBitmap_FillRect(bitmap, bottom.x() - dirty_in_screen.x(),
2591 FPDF_BITMAP bitmap = CreateBitmap(dirty, image_data);
2592 FPDFBitmap_FillRect(bitmap, start_x, start_y, size_x, size_y,
2599 FPDFBitmap_Destroy(bitmap);
2652 // Since we use this rect for creating the PDFium bitmap, also include other
3397 // bitmap. Note that this code does not kick in for PDFs printed from Chrome
3414 // render to a bitmap and then blit the bitmap to the DC if we have been
3419 FPDF_BITMAP bitmap = FPDFBitmap_Create(dest.width(), dest.height(),
3421 // Clear the bitmap
3422 FPDFBitmap_FillRect(bitmap, 0, 0, dest.width(), dest.height(), 0xFFFFFFFF);
3424 bitmap, page, 0, 0, dest.width(), dest.height(), rotate,
3426 int stride = FPDFBitmap_GetStride(bitmap);
3438 FPDFBitmap_GetBuffer(bitmap), &bmi, DIB_RGB_COLORS, SRCCOPY);
3439 FPDFBitmap_Destroy(bitmap);
3469 FPDF_BITMAP bitmap =
3473 // Clear the bitmap
3474 FPDFBitmap_FillRect(bitmap, 0, 0, settings.bounds.width(),
3479 bitmap, page, dest.x(), dest.y(), dest.width(), dest.height(), rotate,
3481 FPDFBitmap_Destroy(bitmap);