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

/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/ConfidentialStamper/
H A DConfidentialStamper.py69 pageRect = CGPDFPageGetBoxRect(page, kCGPDFMediaBox)
71 CGContextBeginPage(context, pageRect)
74 CGContextClipToRect(context, pageRect)
76 CGContextDrawPDFDocument(context, pageRect, sourcePDFDoc, i)
80 pageRect.size.width/2, pageRect.size.height/2)
82 angle = math.atan(pageRect.size.height/pageRect.size.width)
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/ConfidentialStamper/
H A DConfidentialStamper.py69 pageRect = CGPDFPageGetBoxRect(page, kCGPDFMediaBox)
71 CGContextBeginPage(context, pageRect)
74 CGContextClipToRect(context, pageRect)
76 CGContextDrawPDFDocument(context, pageRect, sourcePDFDoc, i)
80 pageRect.size.width/2, pageRect.size.height/2)
82 angle = math.atan(pageRect.size.height/pageRect.size.width)
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Programming with Quartz/ConfidentialStamper/
H A DConfidentialStamper.py69 pageRect = CGPDFPageGetBoxRect(page, kCGPDFMediaBox)
71 CGContextBeginPage(context, pageRect)
74 CGContextClipToRect(context, pageRect)
76 CGContextDrawPDFDocument(context, pageRect, sourcePDFDoc, i)
80 pageRect.size.width/2, pageRect.size.height/2)
82 angle = math.atan(pageRect.size.height/pageRect.size.width)
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSPosix/
H A Dparselog.py174 pageRect = CGRectMake (-leftMargin, -bottomMargin, leftMargin + width, bottomMargin + pageHeight) # landscape
176 c = CGPDFContextCreateWithFilename (outFile, pageRect)
185 c.beginPage (pageRect)
218 c.moveToPoint(pageRect.origin.x,height*typesize+6)
222 c.showTextAtPoint(pageRect.origin.x + 2, height*typesize + 2, ip, len(ip))
223 c.showTextAtPoint(pageRect.origin.x + 2 + typesize*8, height*typesize + 2, hname, len(hname))
224 c.showTextAtPoint(pageRect.origin.x + 2 + typesize*25, height*typesize + 2, hinfo, len(hinfo))
227 c.moveToPoint((time-minTime)*scale,pageRect.origin.y)
237 c.showTextAtPoint((time-minTime)*scale - theStringWidth/2, pageRect.origin.y + 2, theTimeString, len(theTimeString))
/macosx-10.10.1/WebKit-7600.1.25/ios/WebView/
H A DWebPDFViewPlaceholder.mm437 CGRect pageRect = [self _getPDFPageBounds:page];
439 maxPageWidth = std::max<CGFloat>(maxPageWidth, pageRect.size.width);
441 pageCropBoxes.append(pageRect);
457 CGRect pageRect = pageCropBoxes[i];
460 pageRect.size.width = roundf(pageRect.size.width * scalingFactor);
461 pageRect.size.height = roundf(pageRect.size.height * scalingFactor);
464 pageRect.origin.x = roundf((desiredWidth - pageRect
[all...]
H A DWebPDFViewIOS.mm110 CGRect pageRect = _pageRects[pageNumber-1];
117 CGContextFillRect(context, pageRect);
122 CGContextTranslateCTM(context, CGRectGetMinX(pageRect), CGRectGetMinY(pageRect));
124 CGContextTranslateCTM(context, 0, -CGRectGetHeight(pageRect));
126 CGContextConcatCTM(context, CGPDFPageGetDrawingTransform(aPage, kCGPDFCropBox, CGRectMake(0.0, 0.0, CGRectGetWidth(pageRect), CGRectGetHeight(pageRect)), 0, true));
/macosx-10.10.1/WebKit-7600.1.25/win/
H A DWebFrame.cpp1535 IntRect pageRect = printerRect(printDC); local
1538 pageRect.x() + marginRect.x(),
1539 pageRect.y() + marginRect.y(),
1540 pageRect.width() - marginRect.x() - marginRect.maxX(),
1541 pageRect.height() - marginRect.y() - marginRect.maxY());
1575 void WebFrame::drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) argument
1577 int x = pageRect.x();
1579 RECT headerRect = {x, y, x+pageRect.width(), y+static_cast<int>(headerHeight)};
1583 void WebFrame::drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight) argument
1585 int x = pageRect
1595 IntRect pageRect = m_pageRects[page]; local
1629 scaleFactor(HDC printDC, const IntRect& marginRect, const IntRect& pageRect) argument
1651 drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) argument
1662 drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight) argument
1692 const IntRect& pageRect = m_pageRects[page]; local
[all...]
H A DWebFrame.h330 void drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate*, const WebCore::IntRect& pageRect, float headerHeight);
331 void drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate*, const WebCore::IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight);
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebPage/mac/
H A DWebPageMac.mm890 IntRect pageRect(0, 0, ceilf(printInfo.availablePaperWidth), ceilf(printInfo.availablePaperHeight));
892 resultPageRects.append(pageRect);
893 pageRect.move(0, pageRect.height());
966 IntRect pageRect(IntPoint(), paperSize);
968 if (pageRect.intersects(rect)) {
971 CGContextTranslateCTM(context, pageRect.x() - rect.x(), pageRect.y() - rect.y());
976 pageRect.move(0, pageRect
[all...]
/macosx-10.10.1/WebKit-7600.1.25/win/WebCoreSupport/
H A DWebChromeClient.h49 virtual WebCore::FloatRect pageRect();
H A DWebChromeClient.cpp111 FloatRect WebChromeClient::pageRect() function in class:WebChromeClient
/macosx-10.10.1/WebKit-7600.1.25/wince/WebCoreSupport/
H A DChromeClientWinCE.cpp68 FloatRect ChromeClientWinCE::pageRect() function in class:WebKit::ChromeClientWinCE
H A DChromeClientWinCE.h43 virtual WebCore::FloatRect pageRect() override;
/macosx-10.10.1/WebKit-7600.1.25/mac/WebCoreSupport/
H A DWebChromeClient.h51 virtual WebCore::FloatRect pageRect() override;
H A DWebChromeClient.mm175 FloatRect WebChromeClient::pageRect()
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebCoreSupport/
H A DWebChromeClient.h58 virtual WebCore::FloatRect pageRect() override;
H A DWebChromeClient.cpp144 FloatRect WebChromeClient::pageRect() function in class:WebKit::WebChromeClient
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebPage/
H A DWebPage.cpp3832 CGRect mediaBox = (m_printContext && m_printContext->pageCount()) ? m_printContext->pageRect(0) : CGRectMake(0, 0, printInfo.availablePaperWidth, printInfo.availablePaperHeight);
3852 ctx.translate(0, -m_printContext->pageRect(page).height());
3853 m_printContext->spoolPage(ctx, page, m_printContext->pageRect(page).width());

Completed in 454 milliseconds