Home
last modified time | relevance | path

Searched refs:clipRRect (Results 1 – 25 of 86) sorted by relevance

1234

/external/skqp/gm/
Drrectclipdrawpaint.cpp25 canvas->clipRRect(rrect, true);
32 canvas->clipRRect(rrect, false);
42 canvas->clipRRect(rrect, true);
51 canvas->clipRRect(rrect, false);
Dblurredclippedcircle.cpp59 SkRRect clipRRect = SkRRect::MakeOval(clipRect2); in onDraw() local
60 canvas->clipRRect(clipRRect, kDifference_SkClipOp, true); in onDraw()
Dwindowrectangles.cpp48 stack.clipRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(200, 200, 200, 200), 60, 45), in onDraw()
53 stack.clipRRect(nine, SkMatrix::I(), kDifference_SkClipOp, true); in onDraw()
58 stack.clipRRect(complx, SkMatrix::I(), kDifference_SkClipOp, false); in onDraw()
88 canvas->clipRRect(element->getDeviceSpaceRRect(), op, isAA); in onCoverClipStack()
Dcomplexclip_blur_tiled.cpp51 tileCanvas->clipRRect(rrect, kDifference_SkClipOp, true); in onDraw()
Dcomplexclip4.cpp69 canvas->clipRRect(SkRRect::MakeOval(SkRect::MakeLTRB(500, 600, 900, 750)), in onDraw()
/external/skia/gm/
Drrectclipdrawpaint.cpp33 canvas->clipRRect(rrect, true);
40 canvas->clipRRect(rrect, false);
49 canvas->clipRRect(rrect, true);
58 canvas->clipRRect(rrect, false);
Dblurredclippedcircle.cpp67 SkRRect clipRRect = SkRRect::MakeOval(clipRect2); in onDraw() local
68 canvas->clipRRect(clipRRect, kDifference_SkClipOp, true); in onDraw()
Dcomplexclip4.cpp59 const SkRRect& clipRRect, in emulateClipRRectReplace() argument
62 canvas->clipRRect(clipRRect, SkClipOp::kIntersect, aa); in emulateClipRRectReplace()
Dwindowrectangles.cpp72 stack.clipRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(200, 200, 200, 200), 60, 45), in onDraw()
77 stack.clipRRect(nine, SkMatrix::I(), kDifference_SkClipOp, true); in onDraw()
82 stack.clipRRect(complx, SkMatrix::I(), kDifference_SkClipOp, false); in onDraw()
116 canvas->clipRRect(element->getDeviceSpaceRRect(), op, isAA); in onCoverClipStack()
Dskbug_9319.cpp37 canvas->clipRRect(rr, SkClipOp::kDifference);
Dcomplexclip_blur_tiled.cpp60 tileCanvas->clipRRect(rrect, kDifference_SkClipOp, true); in onDraw()
/external/skqp/src/gpu/text/
DGrTextBlob.cpp330 SkRRect clipRRect; in flush() local
335 clip.isRRect(rtBounds, &clipRRect, &aa) && in flush()
336 clipRRect.isRect() && GrAA::kNo == aa) { in flush()
342 if (!clipRRect.getBounds().contains(subRunBounds)) { in flush()
344 if (!clipRRect.getBounds().intersects(subRunBounds)) { in flush()
348 clipRRect.getBounds().round(&clipRect); in flush()
/external/skqp/samplecode/
DSampleClipDrawMatch.cpp170 canvas->clipRRect(create_rrect(offset), useAA); in drawClippedGeom()
173 canvas->clipRRect(create_circle(offset), useAA); in drawClippedGeom()
191 canvas->clipRRect(create_rrect(offset), useAA); in drawClippedGeom()
/external/skia/src/gpu/
DGrReducedClip.cpp576 const SkRRect& clipRRect = element->getDeviceSpaceRRect(); in clipOutsideElement() local
577 ClipResult clipResult = this->addAnalyticRRect(clipRRect, Invert::kYes, in clipOutsideElement()
585 SkVector insetTL = clipRRect.radii(SkRRect::kUpperLeft_Corner); in clipOutsideElement()
586 SkVector insetBR = clipRRect.radii(SkRRect::kLowerRight_Corner); in clipOutsideElement()
587 if (SkRRect::kComplex_Type == clipRRect.getType()) { in clipOutsideElement()
588 const SkVector& insetTR = clipRRect.radii(SkRRect::kUpperRight_Corner); in clipOutsideElement()
589 const SkVector& insetBL = clipRRect.radii(SkRRect::kLowerLeft_Corner); in clipOutsideElement()
595 const SkRect& bounds = clipRRect.getBounds(); in clipOutsideElement()
/external/skqp/src/gpu/
DGrReducedClip.cpp551 const SkRRect& clipRRect = element->getDeviceSpaceRRect(); in clipOutsideElement() local
552 ClipResult clipResult = this->addAnalyticFP(clipRRect, Invert::kYes, in clipOutsideElement()
560 SkVector insetTL = clipRRect.radii(SkRRect::kUpperLeft_Corner); in clipOutsideElement()
561 SkVector insetBR = clipRRect.radii(SkRRect::kLowerRight_Corner); in clipOutsideElement()
562 if (SkRRect::kComplex_Type == clipRRect.getType()) { in clipOutsideElement()
563 const SkVector& insetTR = clipRRect.radii(SkRRect::kUpperRight_Corner); in clipOutsideElement()
564 const SkVector& insetBL = clipRRect.radii(SkRRect::kLowerLeft_Corner); in clipOutsideElement()
570 const SkRect& bounds = clipRRect.getBounds(); in clipOutsideElement()
/external/skia/docs/examples/
DCanvas_clipRRect_3.cpp10 canvas->clipRRect(oval, true); in draw()
DCanvas_clipRRect_2.cpp10 canvas->clipRRect(oval, SkClipOp::kIntersect); in draw()
DCanvas_clipRRect.cpp13 canvas->clipRRect(oval, SkClipOp::kIntersect, true); in draw()
Dbackdrop_blur_with_rrect_clip.cpp12 canvas->clipRRect(rr, true); in draw()
/external/skqp/modules/sksg/src/
DSkSGRect.cpp41 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip()
/external/skqp/bench/
DClearBench.cpp81 canvas->clipRRect(kComplexClip); in onDraw()
/external/skia/bench/
DClearBench.cpp81 canvas->clipRRect(kComplexClip); in onDraw()
/external/skia/modules/sksg/src/
DSkSGRect.cpp43 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip()
/external/skia/include/core/
DSkCanvas.h946 void clipRRect(const SkRRect& rrect, SkClipOp op, bool doAntiAlias);
955 void clipRRect(const SkRRect& rrect, SkClipOp op) { in clipRRect() function
956 this->clipRRect(rrect, op, false); in clipRRect()
966 void clipRRect(const SkRRect& rrect, bool doAntiAlias = false) {
967 this->clipRRect(rrect, SkClipOp::kIntersect, doAntiAlias);
/external/skqp/include/core/
DSkCanvas.h871 void clipRRect(const SkRRect& rrect, SkClipOp op, bool doAntiAlias);
880 void clipRRect(const SkRRect& rrect, SkClipOp op) { in clipRRect() function
881 this->clipRRect(rrect, op, false); in clipRRect()
891 void clipRRect(const SkRRect& rrect, bool doAntiAlias = false) {
892 this->clipRRect(rrect, SkClipOp::kIntersect, doAntiAlias);

1234