Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/
Dfpdf_transformpage_embeddertest.cpp217 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local
219 EXPECT_EQ(200, page_width); in TEST_F()
222 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F()
238 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local
240 EXPECT_EQ(90, page_width); in TEST_F()
243 CompareBitmap(bitmap.get(), page_width, page_height, kCroppedMD5); in TEST_F()
264 const int page_width = static_cast<int>(FPDF_GetPageWidth(saved_page)); in TEST_F() local
266 EXPECT_EQ(90, page_width); in TEST_F()
269 CompareBitmap(bitmap.get(), page_width, page_height, kCroppedMD5); in TEST_F()
296 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local
[all …]
Dfpdf_editpage_embeddertest.cpp29 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local
31 EXPECT_EQ(200, page_width); in TEST_F()
34 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F()
44 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local
46 EXPECT_EQ(300, page_width); in TEST_F()
49 CompareBitmap(bitmap.get(), page_width, page_height, kRotatedMD5); in TEST_F()
64 const int page_width = static_cast<int>(FPDF_GetPageWidth(saved_page)); in TEST_F() local
66 EXPECT_EQ(300, page_width); in TEST_F()
69 CompareBitmap(bitmap.get(), page_width, page_height, kRotatedMD5); in TEST_F()
Dfpdf_view_embeddertest.cpp784 const int page_width = static_cast<int>(FPDF_GetPageWidthF(page)); in TEST_F() local
786 EXPECT_EQ(200, page_width); 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 …]
Dfpdf_view.cpp346 double page_width = pPage->GetPageWidth(); in GetScaling() local
348 if (page_width < kEpsilonSize || page_height < kEpsilonSize) in GetScaling()
352 *scale_x = size_x / page_width; in GetScaling()
355 *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/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/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()
144 config->page_width.value - 2*config->left_margin.value, &textBlobBuilder); 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)