Home
last modified time | relevance | path

Searched refs:ClipRect (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DClipRect.h42 class ClipRect {
44 ClipRect() in ClipRect() function
48 ClipRect(const LayoutRect& rect) in ClipRect() function
59 …bool operator==(const ClipRect& other) const { return rect() == other.rect() && hasRadius() == oth…
60 …bool operator!=(const ClipRect& other) const { return rect() != other.rect() || hasRadius() != oth…
64 void intersect(const ClipRect& other) in intersect()
83 inline ClipRect intersection(const ClipRect& a, const ClipRect& b) in intersection()
85 ClipRect c = a; in intersection()
117 const ClipRect& overflowClipRect() const { return m_overflowClipRect; } in overflowClipRect()
118 void setOverflowClipRect(const ClipRect& r) { m_overflowClipRect = r; } in setOverflowClipRect()
[all …]
DRenderLayerClipper.h96 ClipRect backgroundClipRect(const ClipRectsContext&) const;
105ClipRect& backgroundRect, ClipRect& foregroundRect, ClipRect& outlineRect, const LayoutPoint* offs…
DRenderLayerClipper.cpp132 ClipRect backgroundRect, foregroundRect, outlineRect; in childrenClipRect()
144 ClipRect backgroundRect, foregroundRect, outlineRect; in localClipRect()
160ClipRect& backgroundRect, ClipRect& foregroundRect, ClipRect& outlineRect, const LayoutPoint* offs… in calculateRects()
280ClipRect newOverflowClip = toRenderBox(m_renderer).overflowClipRect(offset, clipRectsContext.overl… in calculateClipRects()
296 static inline ClipRect backgroundClipRectForPosition(const ClipRects& parentRects, EPosition positi… in backgroundClipRectForPosition()
312 ClipRect RenderLayerClipper::backgroundClipRect(const ClipRectsContext& clipRectsContext) const in backgroundClipRect()
331ClipRect backgroundClipRect = backgroundClipRectForPosition(parentRects, m_renderer.style()->posit… in backgroundClipRect()
DClipRect.cpp33 bool ClipRect::intersects(const HitTestLocation& hitTestLocation) const in intersects()
DRenderLayer.h504 …void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&, PaintLayerFlags, Bord…
505 void restoreClip(GraphicsContext*, const LayoutRect& paintDirtyRect, const ClipRect&);
DRenderLayer.cpp1764 …ect(const LayerPaintingInfo& localPaintingInfo, GraphicsContext* context, const ClipRect& clipRect, in clipToRect()
1797 …::restoreClip(GraphicsContext* context, const LayoutRect& paintDirtyRect, const ClipRect& clipRect) in restoreClip()
1891 ClipRect clipRect = paintingInfo.paintDirtyRect; in paintLayer()
2121ClipRect backgroundRect = layerFragments.isEmpty() ? ClipRect() : layerFragments[0].backgroundRect; in paintLayerContents()
2234 ClipRect backgroundRectInFlowThread; in collectFragments()
2235 ClipRect foregroundRectInFlowThread; in collectFragments()
2236 ClipRect outlineRectInFlowThread; in collectFragments()
2259 ClipRect ancestorClipRect = dirtyRect; in collectFragments()
2776 ClipRect clipRect = clipper().backgroundClipRect(clipRectsContext); in hitTestLayer()
/external/skia/src/utils/
DSkCanvasStateUtils.cpp39 struct ClipRect { struct
47 ClipRect* clipRects; argument
172 SkSWriter32<4*sizeof(ClipRect)> clipWriter; in setup_MC_state()
186 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state()
/external/chromium_org/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp39 struct ClipRect { struct
47 ClipRect* clipRects; argument
172 SkSWriter32<4*sizeof(ClipRect)> clipWriter; in setup_MC_state()
186 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state()
/external/chromium_org/third_party/skia/tests/
DRecordPatternTest.cpp10 Is<ClipRect>,
32 REPORTER_ASSERT(r, pattern.second<ClipRect>() != NULL); in DEF_TEST()
74 Pattern3<Is<Save>, Star<Is<ClipRect> >, Is<Restore> > pattern; in DEF_TEST()
/external/skia/tests/
DRecordPatternTest.cpp10 Is<ClipRect>,
32 REPORTER_ASSERT(r, pattern.second<ClipRect>() != NULL); in DEF_TEST()
74 Pattern3<Is<Save>, Star<Is<ClipRect> >, Is<Restore> > pattern; in DEF_TEST()
/external/chromium_org/third_party/skia/src/core/
DSkRecords.h37 M(ClipRect) \
197 RECORD3(ClipRect, SkRect, rect, SkRegion::Op, op, bool, doAA);
DSkRecordDraw.cpp45 DRAW(ClipRect, clipRect(r.rect, r.op, r.doAA));
DSkRecorder.cpp246 APPEND(ClipRect, rect, op, edgeStyle == kSoft_ClipEdgeStyle); in onClipRect()
/external/skia/src/core/
DSkRecords.h37 M(ClipRect) \
197 RECORD3(ClipRect, SkRect, rect, SkRegion::Op, op, bool, doAA);
DSkRecordDraw.cpp45 DRAW(ClipRect, clipRect(r.rect, r.op, r.doAA));
DSkRecorder.cpp246 APPEND(ClipRect, rect, op, edgeStyle == kSoft_ClipEdgeStyle); in onClipRect()
/external/chromium_org/ui/gfx/
Dcanvas_skia.cc233 ClipRect(clip_rect); in DrawStringRectWithShadows()
405 ClipRect(display_rect); in DrawFadedString()
Dcanvas.h198 void ClipRect(const Rect& rect);
Dcanvas.cc196 void Canvas::ClipRect(const Rect& rect) { in ClipRect() function in gfx::Canvas
/external/chromium_org/chrome/common/
Dbadge_util.cc172 canvas->ClipRect(rect); in PaintBadge()
/external/chromium_org/ui/wm/core/
Dimage_grid.cc271 canvas->ClipRect(clip_rect_); in OnPaintLayer()
/external/chromium_org/chrome/browser/ui/views/
Dfind_bar_view.cc257 canvas->ClipRect(gfx::Rect(0, 0, find_previous_button_->x(), height())); in OnPaint()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dinfobar_view.cc293 canvas->ClipRect(gfx::Rect(0, arrow_height(), width(), bar_height())); in PaintChildren()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.cc146 canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height)); in DrawIconAtLocation()
655 canvas->ClipRect(clip); in OnPaint()
/external/chromium_org/ui/views/controls/combobox/
Dcombobox.cc644 canvas->ClipRect(GetContentsBounds()); in PaintText()

12