Lines Matching refs:rect
68 HRESULT PrintWebUIDelegate::webViewPrintingMarginRect(IWebView* view, RECT* rect) in webViewPrintingMarginRect() argument
70 if (!view || !rect) in webViewPrintingMarginRect()
83 privateFrame->frameBounds(rect); in webViewPrintingMarginRect()
85 rect->left += MARGIN; in webViewPrintingMarginRect()
86 rect->top += MARGIN; in webViewPrintingMarginRect()
88 rect->right = (::GetDeviceCaps(dc, LOGPIXELSX) * 6.5) - MARGIN; in webViewPrintingMarginRect()
89 rect->bottom = (::GetDeviceCaps(dc, LOGPIXELSY) * 11) - MARGIN; in webViewPrintingMarginRect()
132 /* [in] */ RECT *rect, in drawHeaderInRect() argument
135 if (!webView || !rect) in drawHeaderInRect()
147 int rc = ::DrawText(dc, header, length, rect, DT_LEFT | DT_NOCLIP | DT_VCENTER | DT_SINGLELINE); in drawHeaderInRect()
153 ::MoveToEx(dc, rect->left, rect->bottom, 0); in drawHeaderInRect()
156 ::LineTo(dc, rect->right, rect->bottom); in drawHeaderInRect()
164 /* [in] */ RECT *rect, in drawFooterInRect() argument
169 if (!webView || !rect) in drawFooterInRect()
181 ::MoveToEx(dc, rect->left, rect->top, 0); in drawFooterInRect()
184 ::LineTo(dc, rect->right, rect->top); in drawFooterInRect()
187 int rc = ::DrawText(dc, footer, length, rect, DT_LEFT | DT_NOCLIP | DT_VCENTER | DT_SINGLELINE); in drawFooterInRect()