Searched defs:clipRect (Results 1 - 25 of 66) sorted by relevance

123

/external/skia/include/core/
H A DSkBlitter.h98 called with coordinates that have been clipped by the specified clipRect.
103 void init(SkBlitter* blitter, const SkIRect& clipRect) { argument
104 SkASSERT(!clipRect.isEmpty());
106 fClipRect = clipRect;
/external/skia/tests/
H A DClipCubicTest.cpp82 SkIRect clipRect; local
87 clipRect.set(-2, -2, 6, 14);
88 clipper.setClip(clipRect);
95 clipRect.set(-2, 0, 6, 14);
96 clipper.setClip(clipRect);
103 clipRect.set(-2, -2, 6, 12);
104 clipper.setClip(clipRect);
111 clipRect.set(-2, 14, 6, 20);
112 clipper.setClip(clipRect);
117 clipRect
[all...]
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DContextShadowQt.cpp115 QRect clipRect; local
118 clipRect = p->clipBoundingRect().toAlignedRect();
120 clipRect = p->clipRegion().boundingRect();
123 clipRect = p->transform().inverted().mapRect(p->window());
126 IntRect clip(clipRect.x(), clipRect.y(), clipRect.width(), clipRect.height());
/external/webkit/Source/WebKit/android/nav/
H A DDrawExtra.cpp56 const IntRect& clipRect)
70 if (!clipRect.isEmpty()) {
71 r.intersect(clipRect);
54 addHighlightRegion(const LayerAndroid* layer, const Vector<IntRect>& rects, const IntPoint& additionalOffset, const IntRect& clipRect) argument
/external/webkit/Source/WebKit/chromium/public/
H A DWebWidgetClient.h49 // Called when a region of the WebWidget, given by clipRect, should be
51 virtual void didScrollRect(int dx, int dy, const WebRect& clipRect) { } argument
/external/webkit/Source/WebCore/platform/graphics/win/
H A DGraphicsContextWin.cpp152 void GraphicsContextPlatformPrivate::clip(const FloatRect& clipRect) argument
156 IntersectClipRect(m_hdc, clipRect.x(), clipRect.y(), clipRect.maxX(), clipRect.maxY());
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/
H A DLayerTreeHostCA.cpp173 void LayerTreeHostCA::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& graphicsContext, GraphicsLayerPaintingPhase, const IntRect& clipRect) argument
176 m_webPage->drawRect(graphicsContext, clipRect);
181 m_webPage->drawPageOverlay(graphicsContext, clipRect);
/external/webkit/Source/WebCore/platform/graphics/
H A DContextShadow.cpp209 IntRect ContextShadow::calculateLayerBoundingRect(GraphicsContext* context, const FloatRect& layerArea, const IntRect& clipRect) argument
233 if (!clipRect.contains(enclosingIntRect(layerFloatRect))) {
235 layerFloatRect.intersect(clipRect);
/external/webkit/Source/WebKit/wince/
H A DWebView.cpp233 void WebView::paint(HDC hDC, const IntRect& clipRect) argument
239 OwnPtr<HRGN> clipRgn(CreateRectRgn(clipRect.x(), clipRect.y(), clipRect.maxX(), clipRect.maxY()));
245 frameView->paint(&gc, clipRect);
257 IntRect clipRect(updateRect);
269 paint(m_doubleBufferDC.get(), clipRect);
271 BitBlt(hDC, clipRect.x(), clipRect
[all...]
/external/webkit/Source/WebKit2/UIProcess/gtk/
H A DWebViewWidget.cpp139 GdkRectangle clipRect; local
140 gdk_region_get_clipbox(event->region, &clipRect);
145 webView->paint(widget, clipRect, cr.get());
153 GdkRectangle clipRect; local
155 if (!gdk_cairo_get_clip_rectangle(cr, &clipRect))
158 webView->paint(widget, clipRect, cr);
/external/skia/src/utils/
H A DSkProxyCanvas.cpp61 bool SkProxyCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { function in class:SkProxyCanvas
62 return fProxy->clipRect(rect, op, doAA);
H A DSkNWayCanvas.cpp136 bool SkNWayCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { function in class:SkNWayCanvas
139 iter->clipRect(rect, op, doAA);
141 return this->INHERITED::clipRect(rect, op, doAA);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DRecordingContextCanvasProxy.h63 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) { /* NOT IMPLEMENTED*/ CRASH(); return -1; } function in class:WebCore::RecordingContextCanvasProxy
/external/webkit/Source/WebKit/chromium/src/
H A DWebPopupMenuImpl.cpp302 const IntRect& clipRect)
307 m_client->didScrollRect(dx, dy, clipRect);
300 scroll(const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) argument
H A DWebPluginContainerImpl.cpp288 // scroll() only uses the second rectangle, clipRect, and ignores the first
304 IntRect windowRect, clipRect;
306 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); local
308 m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible());
556 IntRect& clipRect,
563 clipRect = windowClipRect();
564 clipRect.move(-windowRect.x(), -windowRect.y());
575 IntRect clipRect = local
584 clipRect.intersect(
588 return clipRect;
554 calculateGeometry(const IntRect& frameRect, IntRect& windowRect, IntRect& clipRect, Vector<IntRect>& cutOutRects) argument
[all...]
/external/skia/src/core/
H A DSkScan_AntiPath.cpp682 const SkIRect* clipRect = clipper.getClipRect(); local
700 if (clipRect) {
701 superRect.set( clipRect->fLeft << SHIFT, clipRect->fTop << SHIFT,
702 clipRect->fRight << SHIFT, clipRect->fBottom << SHIFT);
H A DSkPictureRecord.cpp182 bool SkPictureRecord::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { function in class:SkPictureRecord
190 return this->INHERITED::clipRect(rect, op, doAA);
203 return this->INHERITED::clipRect(path.getBounds(), op, doAA);
/external/skia/src/gpu/
H A DGrInOrderDrawBuffer.cpp109 GrRect clipRect = fClip.getRect(0); local
115 if (0 >= clipRect.fLeft) {
116 clipRect.fLeft = GR_ScalarMin;
118 if (target->width() <= clipRect.fRight) {
119 clipRect.fRight = GR_ScalarMax;
121 if (0 >= clipRect.top()) {
122 clipRect.fTop = GR_ScalarMin;
124 if (target->height() <= clipRect.fBottom) {
125 clipRect.fBottom = GR_ScalarMax;
131 if (!clipRect
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DInstrumentedPlatformCanvas.h105 virtual bool clipRect(const SkRect& rect, SkRegion::Op op) function in class:WebCore::InstrumentedPlatformCanvas
108 return SkCanvas::clipRect(rect, op);
/external/webkit/Source/WebCore/rendering/
H A DRenderTreeAsText.cpp594 const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntRect& outlineClipRect,
609 if (!clipRect.contains(layerBounds))
610 ts << " clip " << clipRect; local
593 write(TextStream& ts, RenderLayer& l, const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntRect& outlineClipRect, LayerPaintPhase paintPhase = LayerPaintPhaseAll, int indent = 0, RenderAsTextBehavior behavior = RenderAsTextBehaviorNormal) argument
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
H A DChromeClientHaiku.cpp281 void ChromeClientHaiku::scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
/external/webkit/Source/WebKit/wx/WebKitSupport/
H A DChromeClientWx.cpp395 const IntRect& clipRect)
393 scrollBackingStore(int dx, int dy, const IntRect& scrollViewRect, const IntRect& clipRect) argument
/external/webkit/Source/WebKit2/PluginProcess/
H A DPluginControllerProxy.cpp365 void PluginControllerProxy::geometryDidChange(const IntRect& frameRect, const IntRect& clipRect, const ShareableBitmap::Handle& backingStoreHandle) argument
368 m_clipRect = clipRect;
379 m_plugin->geometryDidChange(frameRect, clipRect);
/external/webkit/Source/WebKit2/WebProcess/Plugins/
H A DPluginProxy.cpp170 void PluginProxy::geometryDidChange(const IntRect& frameRect, const IntRect& clipRect) argument
178 m_connection->connection()->send(Messages::PluginControllerProxy::GeometryDidChange(frameRect, clipRect, pluginBackingStoreHandle), m_pluginInstanceID, CoreIPC::DispatchMessageEvenWhenWaitingForSyncReply);
211 m_connection->connection()->send(Messages::PluginControllerProxy::GeometryDidChange(frameRect, clipRect, pluginBackingStoreHandle), m_pluginInstanceID, CoreIPC::DispatchMessageEvenWhenWaitingForSyncReply);
/external/proguard/src/proguard/gui/splash/
H A DOverrideGraphics2D.java249 public void clipRect(int x, int y, int width, int height) method in class:OverrideGraphics2D
251 graphics.clipRect(x, y, width, height);

Completed in 4236 milliseconds

123