Home
last modified time | relevance | path

Searched refs:page_width (Results 1 – 11 of 11) 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.c39 page_width, /* Actual page width */ in main() local
122 page_width = (unsigned)(inheader.cupsPageSize[0] * inheader.HWResolution[0] / 72.0); in main()
127 linesize = (page_width * inheader.cupsBitsPerPixel + 7) / 8; in main()
130 if (page_left > page_width || page_top > page_height || page_bottom > page_height) in main()
192 outheader.cupsWidth = page_width; in main()
294 outheader.cupsInteger[3] = page_width - page_left - in main()
299 outheader.cupsInteger[5] = page_width - page_left; in main()
326 outheader.cupsInteger[3] = page_width - page_left - in main()
331 outheader.cupsInteger[5] = page_width - page_left; in main()
358 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/libcups/tools/
Dippeveps.c543 page_width, /* Page width in points */ in jpeg_to_ps() local
691 page_width = 576.0f; in jpeg_to_ps()
699 page_width = page_size->right - page_left; in jpeg_to_ps()
706 page_width = 576.0f; in jpeg_to_ps()
711 …page_top=%.2f, page_width=%.2f, page_height=%.2f\n", page_left, page_top, page_width, page_height); in jpeg_to_ps()
714 x_factor = page_width / width; in jpeg_to_ps()
750 …printf("gsave %.3f %.3f translate %.3f %.3f scale\n", page_left + 0.5f * (page_width - width * pag… in jpeg_to_ps()
/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.py446 page_width = self._DEFAULT_SCROLL * 5
447 cmd = 'document.body.style.%s = "%dpx"' % ('%s', page_width)
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...