Home
last modified time | relevance | path

Searched refs:SkStrokeRec (Results 1 – 25 of 58) sorted by relevance

123

/external/skia/src/core/
DSkStrokeRec.cpp14 SkStrokeRec::SkStrokeRec(InitStyle s) { in SkStrokeRec() function in SkStrokeRec
23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec() function in SkStrokeRec
27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec() function in SkStrokeRec
31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init()
67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle()
77 void SkStrokeRec::setFillStyle() { in setFillStyle()
82 void SkStrokeRec::setHairlineStyle() { in setHairlineStyle()
87 void SkStrokeRec::setStrokeStyle(SkScalar width, bool strokeAndFill) { in setStrokeStyle()
105 bool SkStrokeRec::applyToPath(SkPath* dst, const SkPath& src) const { in applyToPath()
125 void SkStrokeRec::applyToPaint(SkPaint* paint) const { in applyToPaint()
DSkPathEffect.cpp21 const SkStrokeRec&, const SkMatrix&, const SkRect*) const { in asPoints() argument
78 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath()
115 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath()
/external/skia/src/gpu/
DGrOvalRenderer.h18 class SkStrokeRec; variable
28 const SkStrokeRec& stroke,
33 const SkStrokeRec& stroke,
42 const SkStrokeRec& stroke);
46 const SkStrokeRec& stroke);
50 const SkStrokeRec& stroke);
DGrTestUtils.cpp221 static void randomize_stroke_rec(SkStrokeRec* rec, SkRandom* random) { in randomize_stroke_rec()
232 SkStrokeRec TestStrokeRec(SkRandom* random) { in TestStrokeRec()
233 SkStrokeRec::InitStyle style = in TestStrokeRec()
234 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec()
235 SkStrokeRec rec(style); in TestStrokeRec()
241 SkStrokeRec::InitStyle style = in TestStrokeInfo()
242 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeInfo()
DGrSWMaskHelper.h25 class SkStrokeRec; variable
61 void draw(const SkPath& path, const SkStrokeRec& stroke, SkRegion::Op op,
79 const SkStrokeRec& stroke,
DGrStrokeInfo.h22 class GrStrokeInfo : public SkStrokeRec {
29 GrStrokeInfo(SkStrokeRec::InitStyle style) in GrStrokeInfo()
178 bool hasEqualEffect(const SkStrokeRec& other) const;
188 typedef SkStrokeRec INHERITED;
DGrOvalRenderer.cpp585 const SkStrokeRec& stroke, in CreateOvalBatch()
778 const SkStrokeRec& stroke) { in create_circle_batch()
784 SkStrokeRec::Style style = stroke.getStyle(); in create_circle_batch()
785 bool isStrokeOnly = SkStrokeRec::kStroke_Style == style || in create_circle_batch()
786 SkStrokeRec::kHairline_Style == style; in create_circle_batch()
787 bool hasStroke = isStrokeOnly || SkStrokeRec::kStrokeAndFill_Style == style; in create_circle_batch()
827 const SkStrokeRec& stroke) { in CreateCircleBatch()
997 const SkStrokeRec& stroke) { in create_ellipse_batch()
1018 SkStrokeRec::Style style = stroke.getStyle(); in create_ellipse_batch()
1019 bool isStrokeOnly = SkStrokeRec::kStroke_Style == style || in create_ellipse_batch()
[all …]
/external/skia/tests/
DStrokeTest.cpp90 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
91 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
117 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
118 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
134 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
135 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
/external/skia/include/core/
DSkStrokeRec.h16 class SkStrokeRec {
22 SkStrokeRec(InitStyle style);
23 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1);
24 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1);
106 bool hasEqualEffect(const SkStrokeRec& other) const { in hasEqualEffect()
DSkPathEffect.h19 class SkStrokeRec; variable
47 SkStrokeRec*, const SkRect* cullR) const = 0;
101 const SkStrokeRec&, const SkMatrix&,
197 SkStrokeRec*, const SkRect*) const override;
240 SkStrokeRec*, const SkRect*) const override;
DSkMaskFilter.h30 class SkStrokeRec; variable
119 const SkStrokeRec& strokeRec,
130 const SkStrokeRec& strokeRec,
/external/skia/src/gpu/batches/
DGrAAStrokeRectBatch.h18 class SkStrokeRec; variable
33 const SkStrokeRec& stroke);
39 const SkStrokeRec& stroke);
DGrAADistanceFieldPathRenderer.h43 , fStroke(SkStrokeRec::kFill_InitStyle) {} in Key()
44 Key(uint32_t genID, uint32_t dim, const SkStrokeRec& stroke) in Key()
59 SkStrokeRec fStroke;
DGrRectBatchFactory.h20 class SkStrokeRec; variable
66 const SkStrokeRec& stroke) { in CreateAAStroke()
/external/skia/src/utils/
DSkDashPathPriv.h24 bool FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*,
28 bool FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*,
DSkDashPath.cpp80 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { in outset_for_stroke()
93 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, in cull_path()
155 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, in init()
222 bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in FilterDashPath()
321 bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in FilterDashPath()
/external/skia/include/effects/
DSkDashPathEffect.h42 SkStrokeRec*, const SkRect*) const override;
45 const SkStrokeRec&, const SkMatrix&,
DSk1DPathEffect.h20 SkStrokeRec*, const SkRect*) const override;
62 SkStrokeRec*, const SkRect*) const override;
DSk2DPathEffect.h17 bool filterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const override;
63 SkStrokeRec*, const SkRect*) const override;
DSkArcToPathEffect.h25 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override;
DSkCornerPathEffect.h26 SkStrokeRec*, const SkRect*) const override;
/external/skia/src/gpu/gl/
DGrGLPathRange.cpp49 fStroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style; in init()
74 GrStrokeInfo tmpStroke(SkStrokeRec::kFill_InitStyle); in onInitPath()
/external/skia/samplecode/
DClockFaceView.cpp115 SkStrokeRec*, const SkRect*) const override { in filterPath() argument
206 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); in drawdots()
/external/skia/src/effects/
DSkDashPathEffect.cpp40 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath()
45 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { in outset_for_stroke()
59 static bool cull_line(SkPoint* pts, const SkStrokeRec& rec, in cull_line()
161 const SkStrokeRec& rec, in asPoints()
DSk2DPathEffect.cpp22 SkStrokeRec*, const SkRect*) const { in filterPath() argument
89 SkStrokeRec* rec, const SkRect* cullRect) const { in filterPath()

123