Home
last modified time | relevance | path

Searched refs:page_height (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdfview_embeddertest.cpp424 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 …]
Dfpdfview.cpp757 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/
Drastertopwg.c45 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/skia/tools/shape/
Dusing_skia_and_harfbuzz.cpp105 DoubleOption page_height = DoubleOption("-h", "Page height", 800.0f); member
121 &page_width, &page_height, &title, &author, &subject, in Config()
149 current_y + endPoint.y() > config->page_height.value) in WriteLine()
156 SkDoubleToScalar(config->page_height.value)); in WriteLine()
/external/skqp/tools/shape/
Dusing_skia_and_harfbuzz.cpp105 DoubleOption page_height = DoubleOption("-h", "Page height", 800.0f); member
121 &page_width, &page_height, &title, &author, &subject, in Config()
149 current_y + endPoint.y() > config->page_height.value) in WriteLine()
156 SkDoubleToScalar(config->page_height.value)); in WriteLine()