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

1234

/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DBackgroundImageGeometry.cpp29 void BackgroundImageGeometry::clip(const IntRect& clipRect) argument
31 m_destRect.intersect(clipRect);
/external/chromium_org/third_party/skia/gm/
H A Dbitmapsource.cpp43 static void fillRectFiltered(SkCanvas* canvas, const SkRect& clipRect, SkImageFilter* filter) { argument
47 canvas->clipRect(clipRect);
57 SkRect clipRect = SkRect::MakeXYWH(0, 0, 100, 100); variable
66 fillRectFiltered(canvas, clipRect, bitmapSource);
70 fillRectFiltered(canvas, clipRect, bitmapSourceSrcRect);
74 fillRectFiltered(canvas, clipRect, bitmapSourceSrcRectDstRect);
78 fillRectFiltered(canvas, clipRect, bitmapSourceDstRectOnly);
H A Dblurquickreject.cpp37 SkRect clipRect = SkRect::MakeXYWH(0, 0, kBoxSize, kBoxSize); variable
66 canvas->drawRect(clipRect, hairlinePaint);
67 canvas->clipRect(clipRect);
H A Dpictureimagefilter.cpp45 static void fillRectFiltered(SkCanvas* canvas, const SkRect& clipRect, SkImageFilter* filter) { argument
49 canvas->clipRect(clipRect);
H A Dbigblurs.cpp79 SkRect clipRect = SkRect::MakeXYWH(SkIntToScalar(desiredX), variable
84 canvas->clipRect(clipRect, SkRegion::kReplace_Op, false);
95 canvas->drawRect(clipRect, outlinePaint);
H A Dinversepaths.cpp91 SkRect clipRect = SkRect::MakeLTRB(slideBoundary, slideBoundary, local
122 canvas->drawRect(clipRect, clipPaint);
125 canvas->clipRect(clipRect);
H A Doffsetimagefilter.cpp69 SkRect clipRect = SkRect::MakeWH( local
71 canvas->clipRect(clipRect);
85 clipRect.intersect(cropRectFloat);
86 canvas->drawRect(clipRect, strokePaint);
H A Dxfermodeimagefilter.cpp73 canvas->clipRect(SkRect::MakeWH(
83 canvas->clipRect(rect);
165 SkRect clipRect = SkRect::MakeWH(SkIntToScalar(fBitmap.width() + 4), variable
176 drawClippedPaint(canvas, clipRect, paint, x, y);
186 drawClippedPaint(canvas, clipRect, paint, x, y);
210 drawClippedPaint(canvas, clipRect, paint, x, y);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleManyRects.cpp58 SkRect clipRect = rect; local
61 clipRect.outset(10, 10);
62 canvas->clipRect(clipRect);
/external/skia/gm/
H A Dbitmapsource.cpp42 static void fillRectFiltered(SkCanvas* canvas, const SkRect& clipRect, SkImageFilter* filter) { argument
46 canvas->clipRect(clipRect);
56 SkRect clipRect = SkRect::MakeXYWH(0, 0, 100, 100); variable
65 fillRectFiltered(canvas, clipRect, bitmapSource);
69 fillRectFiltered(canvas, clipRect, bitmapSourceSrcRect);
73 fillRectFiltered(canvas, clipRect, bitmapSourceSrcRectDstRect);
77 fillRectFiltered(canvas, clipRect, bitmapSourceDstRectOnly);
H A Dblurquickreject.cpp37 SkRect clipRect = SkRect::MakeXYWH(0, 0, kBoxSize, kBoxSize); variable
66 canvas->drawRect(clipRect, hairlinePaint);
67 canvas->clipRect(clipRect);
H A Dpictureimagefilter.cpp44 static void fillRectFiltered(SkCanvas* canvas, const SkRect& clipRect, SkImageFilter* filter) { argument
48 canvas->clipRect(clipRect);
H A Dbigblurs.cpp79 SkRect clipRect = SkRect::MakeXYWH(SkIntToScalar(desiredX), variable
84 canvas->clipRect(clipRect, SkRegion::kReplace_Op, false);
95 canvas->drawRect(clipRect, outlinePaint);
/external/skia/samplecode/
H A DSampleManyRects.cpp58 SkRect clipRect = rect; local
61 clipRect.outset(10, 10);
62 canvas->clipRect(clipRect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DPaintInvalidationState.h24 const LayoutRect& clipRect() const { return m_clipRect; } function in class:blink::PaintInvalidationState
H A DRenderRegion.cpp76 LayoutRect clipRect; local
82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
91 return clipRect;
/external/chromium_org/third_party/skia/tests/
H A DCanvasStateHelpers.cpp42 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(left), SkIntToScalar(top), local
44 canvas->clipRect(clipRect, (SkRegion::Op) clipOp);
H A DClipCubicTest.cpp80 SkIRect clipRect; local
85 clipRect.set(-2, -2, 6, 14);
86 clipper.setClip(clipRect);
93 clipRect.set(-2, 0, 6, 14);
94 clipper.setClip(clipRect);
101 clipRect.set(-2, -2, 6, 12);
102 clipper.setClip(clipRect);
109 clipRect.set(-2, 14, 6, 20);
110 clipper.setClip(clipRect);
115 clipRect
[all...]
H A DCanvasStateTest.cpp156 SkIRect clipRect = layerRect; local
157 clipRect.fRight = clipRect.fLeft + (clipRect.width() / 2) - (2*SPACER);
158 clipRect.outset(SPACER, SPACER);
160 SkIRect regionBounds = clipRect;
161 regionBounds.offset(clipRect.width() + (2*SPACER), 0);
225 bool success = drawFn(state, clipRect.fLeft, clipRect.fTop,
226 clipRect
[all...]
/external/skia/src/core/
H A DSkBlitter.h110 called with coordinates that have been clipped by the specified clipRect.
115 void init(SkBlitter* blitter, const SkIRect& clipRect) { argument
116 SkASSERT(!clipRect.isEmpty());
118 fClipRect = clipRect;
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositingInputsUpdater.cpp119 IntRect clipRect = pixelSnappedIntRect(layer->clipper().backgroundClipRect(ClipRectsContext(m_rootRenderLayer, AbsoluteClipRects)).rect()); local
120 properties.clippedAbsoluteBoundingBox.intersect(clipRect);
/external/chromium_org/third_party/skia/src/core/
H A DSkBlitter.h133 called with coordinates that have been clipped by the specified clipRect.
138 void init(SkBlitter* blitter, const SkIRect& clipRect) { argument
139 SkASSERT(!clipRect.isEmpty());
141 fClipRect = clipRect;
/external/skia/tests/
H A DClipCubicTest.cpp80 SkIRect clipRect; local
85 clipRect.set(-2, -2, 6, 14);
86 clipper.setClip(clipRect);
93 clipRect.set(-2, 0, 6, 14);
94 clipper.setClip(clipRect);
101 clipRect.set(-2, -2, 6, 12);
102 clipper.setClip(clipRect);
109 clipRect.set(-2, 14, 6, 20);
110 clipper.setClip(clipRect);
115 clipRect
[all...]
/external/chromium_org/cc/quads/
H A Ddraw_quad.h61 gfx::Rect clipRect() const { return shared_quad_state->clip_rect; } function in class:cc::DrawQuad
/external/chromium_org/third_party/skia/src/utils/
H A DSkGatherPixelRefsAndRects.h50 SkRect clipRect = SkRect::Make(draw.fRC->getBounds()); variable
51 fPRCont->add(bm.pixelRef(), clipRect);
84 SkRect clipRect = SkRect::Make(draw.fRC->getBounds()); variable
85 mappedRect.intersect(clipRect);

Completed in 495 milliseconds

1234