/external/skia/include/core/ |
D | SkOverdrawCanvas.h | 24 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override; 26 const SkPaint&) override; 27 void onDrawPaint(const SkPaint&) override; 28 void onDrawBehind(const SkPaint& paint) override; 29 void onDrawRect(const SkRect&, const SkPaint&) override; 31 void onDrawRegion(const SkRegion&, const SkPaint&) override; 32 void onDrawOval(const SkRect&, const SkPaint&) override; 33 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 34 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 35 void onDrawRRect(const SkRRect&, const SkPaint&) override; [all …]
|
D | SkCanvas.h | 523 int saveLayer(const SkRect* bounds, const SkPaint* paint); 544 int saveLayer(const SkRect& bounds, const SkPaint* paint) { in saveLayer() 607 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0) 625 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 653 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 668 const SkPaint* fPaint = nullptr; 1058 void drawPaint(const SkPaint& paint); 1099 void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint); 1113 void drawPoint(SkScalar x, SkScalar y, const SkPaint& paint); 1126 void drawPoint(SkPoint p, const SkPaint& paint) { in drawPoint() [all …]
|
D | SkCanvasVirtualEnforcer.h | 22 void onDrawPaint(const SkPaint& paint) override = 0; 23 void onDrawBehind(const SkPaint&) override {} // make zero after android updates in onDrawBehind() argument 24 void onDrawRect(const SkRect& rect, const SkPaint& paint) override = 0; 25 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override = 0; 27 const SkPaint& paint) override = 0; 28 void onDrawOval(const SkRect& rect, const SkPaint& paint) override = 0; 30 const SkPaint& paint) override = 0; 31 void onDrawPath(const SkPath& path, const SkPaint& paint) override = 0; 32 void onDrawRegion(const SkRegion& region, const SkPaint& paint) override = 0; 35 const SkPaint& paint) override = 0; [all …]
|
/external/skqp/include/core/ |
D | SkOverdrawCanvas.h | 24 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override; 26 const SkPaint&) override; 27 void onDrawPaint(const SkPaint&) override; 28 void onDrawRect(const SkRect&, const SkPaint&) override; 30 void onDrawRegion(const SkRegion&, const SkPaint&) override; 31 void onDrawOval(const SkRect&, const SkPaint&) override; 32 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 33 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 34 void onDrawRRect(const SkRRect&, const SkPaint&) override; 35 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint&) override; [all …]
|
D | SkCanvas.h | 530 int saveLayer(const SkRect* bounds, const SkPaint* paint); 551 int saveLayer(const SkRect& bounds, const SkPaint* paint) { in saveLayer() 614 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, SaveLayerFlags saveLayerFlags = 0) 629 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 655 SaveLayerRec(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayerRec() 670 const SkPaint* fPaint = nullptr; 1055 void drawPaint(const SkPaint& paint); 1096 void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint); 1110 void drawPoint(SkScalar x, SkScalar y, const SkPaint& paint); 1123 void drawPoint(SkPoint p, const SkPaint& paint) { in drawPoint() [all …]
|
/external/skqp/src/core/ |
D | SkStrokeRec.cpp | 18 fCap = SkPaint::kDefault_Cap; in SkStrokeRec() 19 fJoin = SkPaint::kDefault_Join; in SkStrokeRec() 23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec() 27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec() 31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init() 35 case SkPaint::kFill_Style: in init() 39 case SkPaint::kStroke_Style: in init() 43 case SkPaint::kStrokeAndFill_Style: in init() 111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath() 112 stroker.setJoin((SkPaint::Join)fJoin); in applyToPath() [all …]
|
D | SkLiteRecorder.h | 39 void onDrawPaint (const SkPaint&) override; 40 void onDrawPath (const SkPath&, const SkPaint&) override; 41 void onDrawRect (const SkRect&, const SkPaint&) override; 43 void onDrawRegion(const SkRegion&, const SkPaint&) override; 44 void onDrawOval (const SkRect&, const SkPaint&) override; 45 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 46 void onDrawRRect (const SkRRect&, const SkPaint&) override; 47 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 50 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) override; 53 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override; [all …]
|
/external/skia/src/core/ |
D | SkStrokeRec.cpp | 18 fCap = SkPaint::kDefault_Cap; in SkStrokeRec() 19 fJoin = SkPaint::kDefault_Join; in SkStrokeRec() 23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec() 27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec() 31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init() 35 case SkPaint::kFill_Style: in init() 39 case SkPaint::kStroke_Style: in init() 43 case SkPaint::kStrokeAndFill_Style: in init() 111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath() 112 stroker.setJoin((SkPaint::Join)fJoin); in applyToPath() [all …]
|
D | SkLiteRecorder.h | 39 void onDrawPaint (const SkPaint&) override; 40 void onDrawBehind(const SkPaint&) override; 41 void onDrawPath (const SkPath&, const SkPaint&) override; 42 void onDrawRect (const SkRect&, const SkPaint&) override; 44 void onDrawRegion(const SkRegion&, const SkPaint&) override; 45 void onDrawOval (const SkRect&, const SkPaint&) override; 46 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 47 void onDrawRRect (const SkRRect&, const SkPaint&) override; 48 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 51 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) override; [all …]
|
D | SkPaint.cpp | 43 SkPaint::SkPaint() in SkPaint() function in SkPaint 49 (unsigned)SkPaint::kDefault_Cap, // fCapType 50 (unsigned)SkPaint::kDefault_Join, // fJoinType 51 (unsigned)SkPaint::kFill_Style, // fStyle 59 SkPaint::SkPaint(const SkPaint& src) = default; 61 SkPaint::SkPaint(SkPaint&& src) = default; 63 SkPaint::~SkPaint() = default; 65 SkPaint& SkPaint::operator=(const SkPaint& src) = default; 67 SkPaint& SkPaint::operator=(SkPaint&& src) = default; 69 bool operator==(const SkPaint& a, const SkPaint& b) { in operator ==() [all …]
|
D | SkLiteDL.h | 31 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, const SkImage*, 46 void drawPaint (const SkPaint&); 47 void drawBehind(const SkPaint&); 48 void drawPath (const SkPath&, const SkPaint&); 49 void drawRect (const SkRect&, const SkPaint&); 51 void drawRegion(const SkRegion&, const SkPaint&); 52 void drawOval (const SkRect&, const SkPaint&); 53 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); 54 void drawRRect (const SkRRect&, const SkPaint&); 55 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); [all …]
|
/external/skia/include/utils/ |
D | SkNoDrawCanvas.h | 45 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override {} in onDrawDRRect() argument 47 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override {} in onDrawTextBlob() argument 49 const SkPaint&) override {} in onDrawPatch() argument 51 void onDrawPaint(const SkPaint&) override {} in onDrawPaint() argument 52 void onDrawBehind(const SkPaint&) override {} in onDrawBehind() argument 53 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint&) override {} in onDrawPoints() argument 54 void onDrawRect(const SkRect&, const SkPaint&) override {} in onDrawRect() argument 56 void onDrawRegion(const SkRegion&, const SkPaint&) override {} in onDrawRegion() argument 57 void onDrawOval(const SkRect&, const SkPaint&) override {} in onDrawOval() argument 58 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override {} in onDrawArc() argument [all …]
|
D | SkPaintFilterCanvas.h | 68 virtual bool onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type type) const = 0; 70 void onDrawPaint(const SkPaint&) override; 71 void onDrawBehind(const SkPaint&) override; 72 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override; 73 void onDrawRect(const SkRect&, const SkPaint&) override; 75 void onDrawRRect(const SkRRect&, const SkPaint&) override; 76 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 77 void onDrawRegion(const SkRegion&, const SkPaint&) override; 78 void onDrawOval(const SkRect&, const SkPaint&) override; 79 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; [all …]
|
D | SkNWayCanvas.h | 36 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 38 const SkPaint& paint) override; 41 const SkPaint& paint) override; 43 void onDrawPaint(const SkPaint&) override; 44 void onDrawBehind(const SkPaint&) override; 45 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override; 46 void onDrawRect(const SkRect&, const SkPaint&) override; 48 void onDrawRegion(const SkRegion&, const SkPaint&) override; 49 void onDrawOval(const SkRect&, const SkPaint&) override; 50 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; [all …]
|
/external/skqp/include/utils/ |
D | SkNoDrawCanvas.h | 45 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override {} in onDrawDRRect() argument 47 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override {} in onDrawTextBlob() argument 49 const SkPaint&) override {} in onDrawPatch() argument 51 void onDrawPaint(const SkPaint&) override {} in onDrawPaint() argument 52 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint&) override {} in onDrawPoints() argument 53 void onDrawRect(const SkRect&, const SkPaint&) override {} in onDrawRect() argument 55 void onDrawRegion(const SkRegion&, const SkPaint&) override {} in onDrawRegion() argument 56 void onDrawOval(const SkRect&, const SkPaint&) override {} in onDrawOval() argument 57 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override {} in onDrawArc() argument 58 void onDrawRRect(const SkRRect&, const SkPaint&) override {} in onDrawRRect() argument [all …]
|
D | SkPaintFilterCanvas.h | 66 virtual bool onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type type) const = 0; 68 void onDrawPaint(const SkPaint&) override; 69 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override; 70 void onDrawRect(const SkRect&, const SkPaint&) override; 72 void onDrawRRect(const SkRRect&, const SkPaint&) override; 73 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 74 void onDrawRegion(const SkRegion&, const SkPaint&) override; 75 void onDrawOval(const SkRect&, const SkPaint&) override; 76 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 77 void onDrawPath(const SkPath&, const SkPaint&) override; [all …]
|
D | SkNWayCanvas.h | 36 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 38 const SkPaint& paint) override; 41 const SkPaint& paint) override; 43 void onDrawPaint(const SkPaint&) override; 44 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override; 45 void onDrawRect(const SkRect&, const SkPaint&) override; 47 void onDrawRegion(const SkRegion&, const SkPaint&) override; 48 void onDrawOval(const SkRect&, const SkPaint&) override; 49 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 50 void onDrawRRect(const SkRRect&, const SkPaint&) override; [all …]
|
/external/skqp/gm/ |
D | circulararcs.cpp | 21 void draw_arcs(SkCanvas* canvas, std::function<void(SkPaint*)> configureStyle) { in draw_arcs() 25 SkPaint p0; in draw_arcs() 30 SkPaint p1 = p0; in draw_arcs() 60 SkPaint linePaint; in draw_arcs() 70 auto setFill = [] (SkPaint*p) { p->setStyle(SkPaint::kFill_Style); }; in DEF_ARC_GM() 75 auto setHairline = [] (SkPaint* p) { in DEF_ARC_GM() 76 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM() 83 auto setStroke = [](SkPaint* p) { in DEF_ARC_GM() 84 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM() 85 p->setStrokeCap(SkPaint::kButt_Cap); in DEF_ARC_GM() [all …]
|
D | quadpaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 31 SkPaint::Style style, SkPath::FillType fill, in drawPath() 34 SkPaint paint; in drawPath() 58 SkPaint::Style fStyle; in onDraw() 62 {SkPaint::kFill_Style, "Fill"}, in onDraw() 63 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 64 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 67 SkPaint::Cap fCap; in onDraw() 68 SkPaint::Join fJoin; in onDraw() 72 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw() [all …]
|
/external/skia/gm/ |
D | circulararcs.cpp | 21 void draw_arcs(SkCanvas* canvas, std::function<void(SkPaint*)> configureStyle) { in draw_arcs() 25 SkPaint p0; in draw_arcs() 30 SkPaint p1 = p0; in draw_arcs() 60 SkPaint linePaint; in draw_arcs() 70 auto setFill = [] (SkPaint*p) { p->setStyle(SkPaint::kFill_Style); }; in DEF_ARC_GM() 75 auto setHairline = [] (SkPaint* p) { in DEF_ARC_GM() 76 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM() 83 auto setStroke = [](SkPaint* p) { in DEF_ARC_GM() 84 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM() 85 p->setStrokeCap(SkPaint::kButt_Cap); in DEF_ARC_GM() [all …]
|
D | quadpaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 31 SkPaint::Style style, SkPath::FillType fill, in drawPath() 34 SkPaint paint; in drawPath() 58 SkPaint::Style fStyle; in onDraw() 62 {SkPaint::kFill_Style, "Fill"}, in onDraw() 63 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 64 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 67 SkPaint::Cap fCap; in onDraw() 68 SkPaint::Join fJoin; in onDraw() 72 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw() [all …]
|
/external/skia/src/compute/sk/ |
D | SkDevice_Compute.h | 67 void drawPaint(const SkPaint& paint) override; 68 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&) override; 69 void drawRect(const SkRect&, const SkPaint&) override; 70 void drawOval(const SkRect&, const SkPaint&) override; 71 void drawRRect(const SkRRect&, const SkPaint&) override; 72 void drawPath(const SkPath&, const SkPaint&, const SkMatrix*, bool) override; 73 void drawText(const void*, size_t, SkScalar, SkScalar, const SkPaint&) override; 75 const SkPaint&) override; 107 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) override {} in drawBitmap() argument 108 void drawSprite(const SkBitmap&, int, int, const SkPaint&) override {} in drawSprite() argument [all …]
|
/external/skqp/src/compute/sk/ |
D | SkDevice_Compute.h | 67 void drawPaint(const SkPaint& paint) override; 68 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&) override; 69 void drawRect(const SkRect&, const SkPaint&) override; 70 void drawOval(const SkRect&, const SkPaint&) override; 71 void drawRRect(const SkRRect&, const SkPaint&) override; 72 void drawPath(const SkPath&, const SkPaint&, const SkMatrix*, bool) override; 73 void drawText(const void*, size_t, SkScalar, SkScalar, const SkPaint&) override; 75 const SkPaint&) override; 107 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) override {} in drawBitmap() argument 108 void drawSprite(const SkBitmap&, int, int, const SkPaint&) override {} in drawSprite() argument [all …]
|
/external/skqp/tests/ |
D | StrokeTest.cpp | 35 SkPaint paint; in test_strokecubic() 37 paint.setStyle(SkPaint::kStroke_Style); in test_strokecubic() 53 SkPaint paint; in test_strokerect() 55 paint.setStyle(SkPaint::kStroke_Style); in test_strokerect() 63 static const SkPaint::Join joins[] = { in test_strokerect() 64 SkPaint::kMiter_Join, SkPaint::kRound_Join, SkPaint::kBevel_Join in test_strokerect() 76 bool isMiter = SkPaint::kMiter_Join == joins[i]; in test_strokerect() 110 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality() 111 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality() 120 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality() [all …]
|
/external/skia/tests/ |
D | StrokeTest.cpp | 35 SkPaint paint; in test_strokecubic() 37 paint.setStyle(SkPaint::kStroke_Style); in test_strokecubic() 53 SkPaint paint; in test_strokerect() 55 paint.setStyle(SkPaint::kStroke_Style); in test_strokerect() 63 static const SkPaint::Join joins[] = { in test_strokerect() 64 SkPaint::kMiter_Join, SkPaint::kRound_Join, SkPaint::kBevel_Join in test_strokerect() 76 bool isMiter = SkPaint::kMiter_Join == joins[i]; in test_strokerect() 110 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality() 111 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality() 120 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality() [all …]
|