31 ASSERT_FALSE(file_path.empty());
34 std::make_unique<CPDF_DocPageData>());
35 ASSERT_EQ(document->LoadDoc(
41 document->GetMutablePageDictionary(0);
42 ASSERT_TRUE(page_dict);
44 pdfium::MakeRetain<CPDF_Page>(document.get(),
std::move(page_dict));
45 page->AddPageImageCache();
49 ASSERT_TRUE(page_image_cache);
52 ASSERT_TRUE(page_obj);
60 while (should_continue)
69 while (should_continue)
74 ASSERT_GT(bitmap_large->GetWidth(), bitmap_small->GetWidth());
75 ASSERT_GT(bitmap_large->GetHeight(), bitmap_small->GetHeight());
77 ASSERT_TRUE(page->AsPDFPage());
78 page->AsPDFPage()->ClearView();
bool StartGetCachedBitmap(RetainPtr< CPDF_Image > pImage, const CPDF_Dictionary *pFormResources, const CPDF_Dictionary *pPageResources, bool bStdCS, CPDF_ColorSpace::Family eFamily, bool bLoadMask, const CFX_Size &max_size_required)
bool Continue(PauseIndicatorIface *pPause)
virtual CPDF_ImageObject * AsImage()