/external/pdfium/fpdfsdk/ |
D | fpdf_transformpage_embeddertest.cpp | 218 const int page_height = static_cast<int>(FPDF_GetPageHeight(page)); in TEST_F() local 220 EXPECT_EQ(300, page_height); in TEST_F() 222 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F() 239 const int page_height = static_cast<int>(FPDF_GetPageHeight(page)); in TEST_F() local 241 EXPECT_EQ(130, page_height); in TEST_F() 243 CompareBitmap(bitmap.get(), page_width, page_height, kCroppedMD5); in TEST_F() 265 const int page_height = static_cast<int>(FPDF_GetPageHeight(saved_page)); in TEST_F() local 267 EXPECT_EQ(130, page_height); in TEST_F() 269 CompareBitmap(bitmap.get(), page_width, page_height, kCroppedMD5); in TEST_F() 297 const int page_height = static_cast<int>(FPDF_GetPageHeight(page)); in TEST_F() local [all …]
|
D | fpdf_editpage_embeddertest.cpp | 30 const int page_height = static_cast<int>(FPDF_GetPageHeight(page)); in TEST_F() local 32 EXPECT_EQ(300, page_height); in TEST_F() 34 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F() 45 const int page_height = static_cast<int>(FPDF_GetPageHeight(page)); in TEST_F() local 47 EXPECT_EQ(200, page_height); in TEST_F() 49 CompareBitmap(bitmap.get(), page_width, page_height, kRotatedMD5); in TEST_F() 65 const int page_height = static_cast<int>(FPDF_GetPageHeight(saved_page)); in TEST_F() local 67 EXPECT_EQ(200, page_height); in TEST_F() 69 CompareBitmap(bitmap.get(), page_width, page_height, kRotatedMD5); in TEST_F()
|
D | fpdf_view_embeddertest.cpp | 785 const int page_height = static_cast<int>(FPDF_GetPageHeightF(page)); in TEST_F() local 787 EXPECT_EQ(300, page_height); in TEST_F() 790 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F() 792 FS_RECTF page_rect{0, 0, page_width, page_height}; in TEST_F() 797 TestRenderPageBitmapWithMatrix(page, page_width, page_height, identity_matrix, in TEST_F() 801 FS_RECTF middle_of_page_rect{page_width / 4, page_height / 4, in TEST_F() 802 page_width * 3 / 4, page_height * 3 / 4}; in TEST_F() 803 TestRenderPageBitmapWithMatrix(page, page_width, page_height, identity_matrix, in TEST_F() 808 TestRenderPageBitmapWithMatrix(page, page_width, page_height, in TEST_F() 815 TestRenderPageBitmapWithMatrix(page, page_width, page_height, in TEST_F() [all …]
|
D | fpdf_view.cpp | 347 double page_height = pPage->GetPageHeight(); in GetScaling() local 348 if (page_width < kEpsilonSize || page_height < kEpsilonSize) in GetScaling() 353 *scale_y = size_y / page_height; in GetScaling() 356 *scale_y = size_x / page_height; in GetScaling()
|
/external/libcups/filter/ |
D | rastertopwg.c | 45 page_height, /* Actual page height */ in main() local 128 page_height = (unsigned)(inheader.cupsPageSize[1] * inheader.HWResolution[1] / 72.0); in main() 131 page_top = page_height - page_bottom - inheader.cupsHeight; in main() 135 if (page_left > page_width || page_top > page_height || page_bottom > page_height) in main() 198 outheader.cupsHeight = page_height; in main() 306 outheader.cupsInteger[6] = page_height - page_bottom; in main() 320 outheader.cupsInteger[6] = page_height - page_top; in main() 338 outheader.cupsInteger[6] = page_height - page_top; in main() 352 outheader.cupsInteger[6] = page_height - page_bottom; in main() 370 outheader.cupsInteger[6] = page_height - page_top; in main() [all …]
|
/external/skqp/tools/ |
D | using_skia_and_harfbuzz.cpp | 105 DoubleOption page_height = DoubleOption("-h", "Page height", 800.0f); member 121 &page_width, &page_height, &title, &author, &subject, in Config() 150 current_y + endPoint.y() > config->page_height.value) in WriteLine() 157 SkDoubleToScalar(config->page_height.value)); in WriteLine()
|
/external/skia/tools/ |
D | using_skia_and_harfbuzz.cpp | 105 DoubleOption page_height = DoubleOption("-h", "Page height", 800.0f); member 121 &page_width, &page_height, &title, &author, &subject, in Config() 150 current_y + endPoint.y() > config->page_height.value) in WriteLine() 157 SkDoubleToScalar(config->page_height.value)); in WriteLine()
|