OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pageSizeInPixels
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/page/
PrintContext.h
53
void computePageRectsWithPageSize(const FloatSize&
pageSizeInPixels
, bool allowHorizontalTiling);
75
static int pageNumberForElement(Element*, const FloatSize&
pageSizeInPixels
); // Returns -1 if page isn't found.
79
static int numberOfPages(Frame*, const FloatSize&
pageSizeInPixels
);
82
// (
pageSizeInPixels
.height() + 1) * number-of-pages - 1
83
static void spoolAllPagesWithBoundaries(Frame*, GraphicsContext&, const FloatSize&
pageSizeInPixels
);
92
void computePageRectsWithPageSizeInternal(const FloatSize&
pageSizeInPixels
, bool allowHorizontalTiling);
PrintContext.cpp
87
void PrintContext::computePageRectsWithPageSize(const FloatSize&
pageSizeInPixels
, bool allowHorizontalTiling)
90
computePageRectsWithPageSizeInternal(
pageSizeInPixels
, allowHorizontalTiling);
93
void PrintContext::computePageRectsWithPageSizeInternal(const FloatSize&
pageSizeInPixels
, bool allowInlineDirectionTiling)
102
int pageWidth =
pageSizeInPixels
.width();
103
int pageHeight =
pageSizeInPixels
.height();
237
int PrintContext::pageNumberForElement(Element* element, const FloatSize&
pageSizeInPixels
)
248
FloatRect pageRect(FloatPoint(0, 0),
pageSizeInPixels
);
251
FloatSize scaledPageSize =
pageSizeInPixels
;
348
int PrintContext::numberOfPages(Frame* frame, const FloatSize&
pageSizeInPixels
)
352
FloatRect pageRect(FloatPoint(0, 0),
pageSizeInPixels
);
[
all
...]
/external/chromium_org/third_party/WebKit/Source/testing/runner/
WebTestProxy.cpp
627
WebSize
pageSizeInPixels
= webWidget()->size();
630
int pageCount = webFrame->printBegin(
pageSizeInPixels
);
631
int totalHeight = pageCount * (
pageSizeInPixels
.height + 1) - 1;
633
SkCanvas* testCanvas = skia::TryCreateBitmapCanvas(
pageSizeInPixels
.width, totalHeight, true);
642
webFrame->printPagesWithBoundaries(canvas(),
pageSizeInPixels
);
959
WebSize
pageSizeInPixels
= webWidget()->size();
960
if (
pageSizeInPixels
.isEmpty())
962
WebPrintParams printParams(
pageSizeInPixels
);
[
all
...]
/external/chromium_org/third_party/WebKit/Source/web/
WebFrameImpl.cpp
342
void spoolAllPagesWithBoundaries(GraphicsContext& graphicsContext, const FloatSize&
pageSizeInPixels
)
350
computePageRects(FloatRect(FloatPoint(0, 0),
pageSizeInPixels
), 0, 0, 1, pageHeight);
352
const float pageWidth =
pageSizeInPixels
.width();
354
int totalHeight = numPages * (
pageSizeInPixels
.height() + 1) - 1;
385
currentHeight +=
pageSizeInPixels
.height() + 1;
[
all
...]
Completed in 941 milliseconds