Searched refs:pageRect (Results 1 - 25 of 28) sorted by relevance

12

/external/webkit/WebCore/page/
H A DPrintContext.cpp48 const IntRect& PrintContext::pageRect(int pageNumber) const function in class:WebCore::PrintContext
138 IntRect pageRect = m_pageRects[pageNumber]; local
139 float scale = width / pageRect.width();
143 ctx.translate(-pageRect.x(), -pageRect.y());
144 ctx.clip(pageRect);
145 m_frame->view()->paintContents(&ctx, pageRect);
175 FloatRect pageRect(FloatPoint(0, 0), pageSizeInPixels);
177 printContext.begin(pageRect.width());
183 const IntRect& page = printContext.pageRect(pageNumbe
[all...]
H A DPrintContext.h41 const IntRect& pageRect(int pageNumber) const;
H A DChrome.h76 FloatRect pageRect() const;
H A DChrome.cpp120 FloatRect Chrome::pageRect() const function in class:WebCore::Chrome
122 return m_client->pageRect();
H A DChromeClient.h76 virtual FloatRect pageRect() = 0;
/external/webkit/WebKit/win/
H A DWebFrame.cpp1927 IntRect pageRect = printerRect(printDC); local
1930 pageRect.x() + marginRect.x(),
1931 pageRect.y() + marginRect.y(),
1932 pageRect.width() - marginRect.x() - marginRect.right(),
1933 pageRect.height() - marginRect.y() - marginRect.bottom());
1967 void WebFrame::drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) argument
1969 int x = pageRect.x();
1971 RECT headerRect = {x, y, x+pageRect.width(), y+static_cast<int>(headerHeight)};
1975 void WebFrame::drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight) argument
1977 int x = pageRect
1987 IntRect pageRect = m_pageRects[page]; local
2021 scaleFactor(HDC printDC, const IntRect& marginRect, const IntRect& pageRect) argument
2044 drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) argument
2057 drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight) argument
2074 const IntRect& pageRect = m_pageRects[page]; local
[all...]
H A DWebFrame.h360 void drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate*, const WebCore::IntRect& pageRect, float headerHeight);
361 void drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate*, const WebCore::IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight);
/external/webkit/WebKit/haiku/WebCoreSupport/
H A DChromeClientHaiku.h50 FloatRect pageRect();
H A DChromeClientHaiku.cpp68 FloatRect ChromeClientHaiku::pageRect() function in class:WebCore::ChromeClientHaiku
/external/webkit/WebKit/wx/WebKitSupport/
H A DChromeClientWx.h47 virtual FloatRect pageRect();
H A DChromeClientWx.cpp97 FloatRect ChromeClientWx::pageRect() function in class:WebCore::ChromeClientWx
/external/webkit/WebKit/android/WebCoreSupport/
H A DChromeClientAndroid.h59 virtual FloatRect pageRect();
H A DChromeClientAndroid.cpp130 FloatRect ChromeClientAndroid::pageRect() { notImplemented(); return FloatRect(); } function in class:android::ChromeClientAndroid
/external/webkit/WebKit/chromium/src/
H A DChromeClientImpl.h61 virtual WebCore::FloatRect pageRect();
H A DWebFrameImpl.cpp267 IntRect pageRect = m_pageRects[pageNumber]; local
268 return m_printedPageWidth / pageRect.width();
276 IntRect pageRect = m_pageRects[pageNumber]; local
277 float scale = m_printedPageWidth / pageRect.width();
280 ctx.translate(static_cast<float>(-pageRect.x()),
281 static_cast<float>(-pageRect.y()));
282 ctx.clip(pageRect);
283 m_frame->view()->paintContents(&ctx, pageRect);
H A DChromeClientImpl.cpp119 FloatRect ChromeClientImpl::pageRect() function in class:WebKit::ChromeClientImpl
/external/webkit/WebKit/gtk/WebCoreSupport/
H A DChromeClientGtk.h40 virtual WebCore::FloatRect pageRect();
H A DChromeClientGtk.cpp93 FloatRect ChromeClient::pageRect() function in class:WebKit::ChromeClient
/external/webkit/WebKit/qt/WebCoreSupport/
H A DChromeClientQt.h58 virtual FloatRect pageRect();
H A DChromeClientQt.cpp98 FloatRect ChromeClientQt::pageRect() function in class:WebCore::ChromeClientQt
/external/webkit/WebKit/mac/WebCoreSupport/
H A DWebChromeClient.h46 virtual WebCore::FloatRect pageRect();
H A DWebChromeClient.mm133 FloatRect WebChromeClient::pageRect()
/external/webkit/WebKit/win/WebCoreSupport/
H A DWebChromeClient.h48 virtual WebCore::FloatRect pageRect();
/external/webkit/WebKit/qt/Api/
H A Dqwebframe.cpp1378 QRect qprinterRect = printer->pageRect();
1380 IntRect pageRect(0, 0,
1384 printContext.begin(pageRect.width());
1386 printContext.computePageRects(pageRect, /* headerHeight */ 0, /* footerHeight */ 0, /* userScaleFactor */ 1.0, pageHeight);
1434 printContext.spoolPage(ctx, page - 1, pageRect.width());
/external/webkit/WebCore/loader/
H A DEmptyClients.h69 virtual FloatRect pageRect() { return FloatRect(); } function in class:WebCore::EmptyChromeClient

Completed in 186 milliseconds

12