Home
last modified time | relevance | path

Searched refs:saved_page (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdf_transformpage_embeddertest.cpp254 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
255 ASSERT_TRUE(saved_page); in TEST_F()
258 EXPECT_TRUE(FPDFPage_GetCropBox(saved_page, &cropbox.left, &cropbox.bottom, in TEST_F()
264 const int page_width = static_cast<int>(FPDF_GetPageWidth(saved_page)); in TEST_F()
265 const int page_height = static_cast<int>(FPDF_GetPageHeight(saved_page)); in TEST_F()
268 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F()
271 CloseSavedPage(saved_page); in TEST_F()
333 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
334 ASSERT_TRUE(saved_page); in TEST_F()
337 EXPECT_TRUE(FPDFPage_GetMediaBox(saved_page, &mediabox.left, in TEST_F()
[all …]
Dfpdf_edit_embeddertest.cpp597 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
598 EXPECT_EQ(2, FPDFPage_CountObjects(saved_page)); in TEST_F()
600 ScopedFPDFBitmap page_bitmap = RenderPage(saved_page); in TEST_F()
604 CloseSavedPage(saved_page); in TEST_F()
851 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
852 EXPECT_EQ(11, FPDFPage_CountObjects(saved_page)); in TEST_F()
855 ScopedFPDFBitmap page_bitmap = RenderPage(saved_page); in TEST_F()
859 CloseSavedPage(saved_page); in TEST_F()
908 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
910 CheckMarkCounts(saved_page, 1, kExpectedObjectCount, 0, 4, 9, 1); in TEST_F()
[all …]
Dfpdf_editpage_embeddertest.cpp60 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
61 ASSERT_TRUE(saved_page); in TEST_F()
63 EXPECT_EQ(1, FPDFPage_GetRotation(saved_page)); in TEST_F()
64 const int page_width = static_cast<int>(FPDF_GetPageWidth(saved_page)); in TEST_F()
65 const int page_height = static_cast<int>(FPDF_GetPageHeight(saved_page)); in TEST_F()
68 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F()
71 CloseSavedPage(saved_page); in TEST_F()
Dfpdf_annot_embeddertest.cpp1767 FPDF_PAGE saved_page = LoadSavedPage(0); in TEST_F() local
1768 ASSERT_TRUE(saved_page); in TEST_F()
1770 EXPECT_EQ(2, FPDFPage_GetAnnotCount(saved_page)); in TEST_F()
1772 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(saved_page, 0)); in TEST_F()
1783 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(saved_page, 0)); in TEST_F()
1794 CloseSavedPage(saved_page); in TEST_F()