Searched refs:page_height (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/fpdfsdk/ |
D | fpdfview_embeddertest.cpp | 424 const int page_height = static_cast<int>(FPDF_GetPageHeight(page)); in TEST_F() local 426 EXPECT_EQ(300, page_height); in TEST_F() 429 CompareBitmap(bitmap, page_width, page_height, kOriginalMD5); in TEST_F() 432 FS_RECTF page_rect{0, 0, page_width, page_height}; in TEST_F() 437 TestRenderPageBitmapWithMatrix(page, page_width, page_height, identity_matrix, in TEST_F() 441 FS_RECTF middle_of_page_rect{page_width / 4, page_height / 4, in TEST_F() 442 page_width * 3 / 4, page_height * 3 / 4}; in TEST_F() 443 TestRenderPageBitmapWithMatrix(page, page_width, page_height, identity_matrix, in TEST_F() 448 TestRenderPageBitmapWithMatrix(page, page_width, page_height, in TEST_F() 455 TestRenderPageBitmapWithMatrix(page, page_width, page_height, in TEST_F() [all …]
|
D | fpdfview.cpp | 757 double page_height = pPage->GetPageHeight(); in GetScaling() local 758 if (page_width < kEpsilonSize || page_height < kEpsilonSize) in GetScaling() 763 *scale_y = size_y / page_height; in GetScaling() 766 *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()
|