Home
last modified time | relevance | path

Searched refs:page_width (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdfview_embeddertest.cpp423 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local
425 EXPECT_EQ(200, page_width); 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.cpp756 double page_width = pPage->GetPageWidth(); in GetScaling() local
758 if (page_width < kEpsilonSize || page_height < kEpsilonSize) in GetScaling()
762 *scale_x = size_x / page_width; in GetScaling()
765 *scale_x = size_y / page_width; in GetScaling()
/external/libcups/filter/
Drastertopwg.c44 page_width, /* Actual page width */ in main() local
127 page_width = (unsigned)(inheader.cupsPageSize[0] * inheader.HWResolution[0] / 72.0); in main()
132 linesize = (page_width * inheader.cupsBitsPerPixel + 7) / 8; in main()
135 if (page_left > page_width || page_top > page_height || page_bottom > page_height) in main()
197 outheader.cupsWidth = page_width; in main()
299 outheader.cupsInteger[3] = page_width - page_left - in main()
304 outheader.cupsInteger[5] = page_width - page_left; in main()
331 outheader.cupsInteger[3] = page_width - page_left - in main()
336 outheader.cupsInteger[5] = page_width - page_left; in main()
363 outheader.cupsInteger[3] = page_width - page_left - in main()
[all …]
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp104 DoubleOption page_width = DoubleOption("-w", "Page width", 600.0f); member
121 &page_width, &page_height, &title, &author, &subject, in Config()
145 config->page_width.value - 2*config->left_margin.value); in WriteLine()
156 SkDoubleToScalar(config->page_width.value), in WriteLine()
/external/skqp/tools/
Dusing_skia_and_harfbuzz.cpp104 DoubleOption page_width = DoubleOption("-w", "Page width", 600.0f); member
121 &page_width, &page_height, &title, &author, &subject, in Config()
145 config->page_width.value - 2*config->left_margin.value); in WriteLine()
156 SkDoubleToScalar(config->page_width.value), in WriteLine()
/external/autotest/client/cros/
Dtouch_playback_test_base.py439 page_width = self._DEFAULT_SCROLL * 5
440 cmd = 'document.body.style.%s = "%dpx"' % ('%s', page_width)