Home
last modified time | relevance | path

Searched refs:edgeStyle (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/utils/
DSkCanvasStack.cpp80 void SkCanvasStack::onClipRect(const SkRect& r, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
81 this->INHERITED::onClipRect(r, op, edgeStyle); in onClipRect()
85 void SkCanvasStack::onClipRRect(const SkRRect& rr, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
86 this->INHERITED::onClipRRect(rr, op, edgeStyle); in onClipRRect()
90 void SkCanvasStack::onClipPath(const SkPath& p, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
91 this->INHERITED::onClipPath(p, op, edgeStyle); in onClipPath()
DSkLuaCanvas.cpp138 void SkLuaCanvas::onClipRect(const SkRect& r, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
141 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipRect()
142 this->INHERITED::onClipRect(r, op, edgeStyle); in onClipRect()
145 void SkLuaCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
148 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipRRect()
149 this->INHERITED::onClipRRect(rrect, op, edgeStyle); in onClipRRect()
152 void SkLuaCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
155 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipPath()
156 this->INHERITED::onClipPath(path, op, edgeStyle); in onClipPath()
DSkNWayCanvas.cpp104 void SkNWayCanvas::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
107 iter->clipRect(rect, op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRect()
109 this->INHERITED::onClipRect(rect, op, edgeStyle); in onClipRect()
112 void SkNWayCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
115 iter->clipRRect(rrect, op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRRect()
117 this->INHERITED::onClipRRect(rrect, op, edgeStyle); in onClipRRect()
120 void SkNWayCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
123 iter->clipPath(path, op, kSoft_ClipEdgeStyle == edgeStyle); in onClipPath()
125 this->INHERITED::onClipPath(path, op, edgeStyle); in onClipPath()
DSkDumpCanvas.cpp259 const char* SkDumpCanvas::EdgeStyleToAAString(ClipEdgeStyle edgeStyle) { in EdgeStyleToAAString() argument
260 return kSoft_ClipEdgeStyle == edgeStyle ? "AA" : "BW"; in EdgeStyleToAAString()
263 void SkDumpCanvas::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
267 EdgeStyleToAAString(edgeStyle)); in onClipRect()
268 this->INHERITED::onClipRect(rect, op, edgeStyle); in onClipRect()
271 void SkDumpCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
275 EdgeStyleToAAString(edgeStyle)); in onClipRRect()
276 this->INHERITED::onClipRRect(rrect, op, edgeStyle); in onClipRRect()
279 void SkDumpCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
283 EdgeStyleToAAString(edgeStyle)); in onClipPath()
[all …]
/external/skia/src/core/
DSkRecorder.cpp357 void SkRecorder::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
358 INHERITED(onClipRect, rect, op, edgeStyle); in onClipRect()
359 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRect()
363 void SkRecorder::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
364 INHERITED(onClipRRect, rrect, op, edgeStyle); in onClipRRect()
365 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRRect()
369 void SkRecorder::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
370 INHERITED(onClipPath, path, op, edgeStyle); in onClipPath()
371 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); in onClipPath()
DSkRecorder.h117 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) override;
118 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) override;
119 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) override;
DSkCanvas.cpp1477 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; in clipRect() local
1478 this->onClipRect(rect, op, edgeStyle); in clipRect()
1481 void SkCanvas::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
1499 edgeStyle = kHard_ClipEdgeStyle; in onClipRect()
1515 kHard_ClipEdgeStyle == edgeStyle in onClipRect()
1533 const bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRect()
1544 this->SkCanvas::onClipPath(path, op, edgeStyle); in onClipRect()
1550 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; in clipRRect() local
1552 this->onClipRect(rrect.getBounds(), op, edgeStyle); in clipRRect()
1554 this->onClipRRect(rrect, op, edgeStyle); in clipRRect()
[all …]
DSkPictureRecord.cpp300 void SkPictureRecord::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
301 this->recordClipRect(rect, op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRect()
302 this->INHERITED::onClipRect(rect, op, edgeStyle); in onClipRect()
322 void SkPictureRecord::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
323 this->recordClipRRect(rrect, op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRRect()
324 this->INHERITED::onClipRRect(rrect, op, edgeStyle); in onClipRRect()
343 void SkPictureRecord::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
345 this->recordClipPath(pathID, op, kSoft_ClipEdgeStyle == edgeStyle); in onClipPath()
346 this->INHERITED::onClipPath(path, op, edgeStyle); in onClipPath()
DSkRemote.cpp406 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) override { in onClipRect() argument
407 this->INHERITED::onClipRect(rect, op, edgeStyle); in onClipRect()
410 this->onClipPath(path, op, edgeStyle); in onClipRect()
413 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) override { in onClipRRect() argument
414 this->INHERITED::onClipRRect(rrect, op, edgeStyle); in onClipRRect()
417 this->onClipPath(path, op, edgeStyle); in onClipRRect()
420 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) override { in onClipPath() argument
421 this->INHERITED::onClipPath(path, op, edgeStyle); in onClipPath()
422 fEncoder->clipPath(this->id(path), op, edgeStyle == kSoft_ClipEdgeStyle); in onClipPath()
/external/skia/tools/json/
DSkJSONCanvas.h246 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) override;
248 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) override;
250 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) override;
278 Json::Value makeEdgeStyle(SkCanvas::ClipEdgeStyle edgeStyle);
DSkJSONCanvas.cpp852 void SkJSONCanvas::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
857 command[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS] = (edgeStyle == SkCanvas::kSoft_ClipEdgeStyle); in onClipRect()
861 void SkJSONCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
866 command[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS] = (edgeStyle == SkCanvas::kSoft_ClipEdgeStyle); in onClipRRect()
870 void SkJSONCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
875 command[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS] = (edgeStyle == SkCanvas::kSoft_ClipEdgeStyle); in onClipPath()
/external/skia/tools/debugger/
DSkDebugCanvas.cpp375 void SkDebugCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipPath() argument
376 this->addDrawCommand(new SkClipPathCommand(path, op, kSoft_ClipEdgeStyle == edgeStyle)); in onClipPath()
379 void SkDebugCanvas::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRect() argument
380 this->addDrawCommand(new SkClipRectCommand(rect, op, kSoft_ClipEdgeStyle == edgeStyle)); in onClipRect()
383 void SkDebugCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { in onClipRRect() argument
384 this->addDrawCommand(new SkClipRRectCommand(rrect, op, kSoft_ClipEdgeStyle == edgeStyle)); in onClipRRect()
/external/skia/include/utils/
DSkDumpCanvas.h124 static const char* EdgeStyleToAAString(ClipEdgeStyle edgeStyle);
/external/skia/include/core/
DSkCanvas.h1277 virtual void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle);
1278 virtual void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle);
1279 virtual void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle);
/external/skia/tests/
DPictureTest.cpp1067 ClipEdgeStyle edgeStyle) override { in onClipRect() argument
1069 this->INHERITED::onClipRect(r, op, edgeStyle); in onClipRect()
1074 ClipEdgeStyle edgeStyle)override { in onClipRRect() argument
1076 this->INHERITED::onClipRRect(rrect, op, edgeStyle); in onClipRRect()
1081 ClipEdgeStyle edgeStyle) override { in onClipPath() argument
1083 this->INHERITED::onClipPath(path, op, edgeStyle); in onClipPath()