Searched refs:page_width (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/fpdfsdk/ |
D | fpdfview_embeddertest.cpp | 423 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 …]
|
D | fpdfview.cpp | 756 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/ |
D | rastertopwg.c | 44 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/ |
D | using_skia_and_harfbuzz.cpp | 104 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/ |
D | using_skia_and_harfbuzz.cpp | 104 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/ |
D | touch_playback_test_base.py | 439 page_width = self._DEFAULT_SCROLL * 5 440 cmd = 'document.body.style.%s = "%dpx"' % ('%s', page_width)
|