/external/skia/src/core/ |
D | SkStrokeRec.cpp | 14 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() [all …]
|
/external/skqp/src/core/ |
D | SkStrokeRec.cpp | 14 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() [all …]
|
/external/skia/src/gpu/ |
D | GrStyle.cpp | 73 static_assert(SkStrokeRec::kStyleCount <= (1 << kStyleBits)); in WriteKey() 115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect() 116 if (recStyle != SkStrokeRec::kFill_Style && recStyle != SkStrokeRec::kStrokeAndFill_Style) { in initPathEffect() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() 158 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, in applyPathEffectToPath() 161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath() 170 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, in applyToPath() 174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath() 187 *style = SkStrokeRec::kFill_InitStyle; in applyToPath() 192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath() [all …]
|
D | GrStyle.h | 30 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); in SimpleFill() 39 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); in SimpleHairline() 76 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {} in GrStyle() 78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle() 80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() 102 void resetToInitStyle(SkStrokeRec::InitStyle fillOrHairline) { in resetToInitStyle() 105 if (SkStrokeRec::kFill_InitStyle == fillOrHairline) { in resetToInitStyle() 139 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() 158 bool SK_WARN_UNUSED_RESULT applyPathEffectToPath(SkPath* dst, SkStrokeRec* remainingStoke, 168 bool SK_WARN_UNUSED_RESULT applyToPath(SkPath* dst, SkStrokeRec::InitStyle* fillOrHairline, [all …]
|
D | GrTestUtils.cpp | 241 static void randomize_stroke_rec(SkStrokeRec* rec, SkRandom* random) { in randomize_stroke_rec() 252 SkStrokeRec TestStrokeRec(SkRandom* random) { in TestStrokeRec() 253 SkStrokeRec::InitStyle style = in TestStrokeRec() 254 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec() 255 SkStrokeRec rec(style); in TestStrokeRec() 261 SkStrokeRec::InitStyle initStyle = in TestStyle() 262 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStyle() 263 SkStrokeRec stroke(initStyle); in TestStyle() 289 bool TestDashPathEffect::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath()
|
/external/skqp/src/gpu/ |
D | GrStyle.cpp | 73 GR_STATIC_ASSERT(SkStrokeRec::kStyleCount <= (1 << kStyleBits)); in WriteKey() 115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect() 116 if (recStyle != SkStrokeRec::kFill_Style && recStyle != SkStrokeRec::kStrokeAndFill_Style) { in initPathEffect() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() 158 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, in applyPathEffectToPath() 161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath() 170 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, in applyToPath() 174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath() 187 *style = SkStrokeRec::kFill_InitStyle; in applyToPath() 192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath() [all …]
|
D | GrStyle.h | 30 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); in SimpleFill() 39 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); in SimpleHairline() 76 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {} in GrStyle() 78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle() 80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() 102 void resetToInitStyle(SkStrokeRec::InitStyle fillOrHairline) { in resetToInitStyle() 105 if (SkStrokeRec::kFill_InitStyle == fillOrHairline) { in resetToInitStyle() 139 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() 158 bool SK_WARN_UNUSED_RESULT applyPathEffectToPath(SkPath* dst, SkStrokeRec* remainingStoke, 168 bool SK_WARN_UNUSED_RESULT applyToPath(SkPath* dst, SkStrokeRec::InitStyle* fillOrHairline, [all …]
|
D | GrTestUtils.cpp | 240 static void randomize_stroke_rec(SkStrokeRec* rec, SkRandom* random) { in randomize_stroke_rec() 251 SkStrokeRec TestStrokeRec(SkRandom* random) { in TestStrokeRec() 252 SkStrokeRec::InitStyle style = in TestStrokeRec() 253 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec() 254 SkStrokeRec rec(style); in TestStrokeRec() 260 SkStrokeRec::InitStyle initStyle = in TestStyle() 261 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStyle() 262 SkStrokeRec stroke(initStyle); in TestStyle() 288 bool TestDashPathEffect::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath()
|
/external/skia/tests/ |
D | StrokeTest.cpp | 91 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 92 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 118 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 119 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 135 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 136 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
|
/external/skqp/tests/ |
D | StrokeTest.cpp | 90 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/skqp/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 58 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 60 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath() 61 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath() 66 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath() 76 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath() 128 SkStrokeRec::Style style, in Make() 143 SkStrokeRec::Style style, in AAFlatteningConvexPathOp() 319 SkStrokeRec::Style fStyle; 343 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() 363 SkStrokeRec::Style styles[3] = { SkStrokeRec::kFill_Style, in GR_DRAW_OP_TEST_DEFINE() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 59 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 61 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath() 62 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath() 67 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath() 77 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath() 131 SkStrokeRec::Style style, in Make() 146 SkStrokeRec::Style style, in AAFlatteningConvexPathOp() 334 SkStrokeRec::Style fStyle; 358 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() 378 SkStrokeRec::Style styles[3] = { SkStrokeRec::kFill_Style, in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | GrOvalOpFactory.h | 22 class SkStrokeRec; variable 47 const SkStrokeRec&, 54 const SkStrokeRec&,
|
/external/skia/include/core/ |
D | SkStrokeRec.h | 17 class SK_API SkStrokeRec { 23 SkStrokeRec(InitStyle style); 24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1); 25 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1); 125 bool hasEqualEffect(const SkStrokeRec& other) const { in hasEqualEffect()
|
D | SkPathEffect.h | 17 class SkStrokeRec; variable 61 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect* cullR) const; 115 const SkStrokeRec&, const SkMatrix&, 167 virtual bool onFilterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const = 0; 171 virtual bool onAsPoints(PointData*, const SkPath&, const SkStrokeRec&, const SkMatrix&, in onAsPoints() argument
|
/external/skqp/include/core/ |
D | SkPathEffect.h | 17 class SkStrokeRec; variable 61 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect* cullR) const; 115 const SkStrokeRec&, const SkMatrix&, 167 virtual bool onFilterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const = 0; 171 virtual bool onAsPoints(PointData*, const SkPath&, const SkStrokeRec&, const SkMatrix&, in onAsPoints() argument
|
D | SkStrokeRec.h | 17 class SkStrokeRec { 23 SkStrokeRec(InitStyle style); 24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1); 25 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1); 125 bool hasEqualEffect(const SkStrokeRec& other) const { in hasEqualEffect()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.cpp | 67 const SkStrokeRec& stroke = shape.style().strokeRec(); in onCanDrawPath() 69 case SkStrokeRec::kFill_Style: { in onCanDrawPath() 104 case SkStrokeRec::kStroke_Style: in onCanDrawPath() 112 case SkStrokeRec::kHairline_Style: { in onCanDrawPath() 128 case SkStrokeRec::kStrokeAndFill_Style: in onCanDrawPath() 317 const SkStrokeRec& stroke, in GetStrokeDevWidth() 323 SkASSERT(SkStrokeRec::kStroke_Style == stroke.getStyle()); in GetStrokeDevWidth() 331 *inflationRadius = SkStrokeRec::GetInflationRadius( in GetStrokeDevWidth()
|
/external/skia/src/effects/ |
D | SkOpPathEffect.cpp | 21 bool SkOpPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath() 74 bool SkMatrixPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 102 bool SkStrokePE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 103 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); in onFilterPath()
|
D | SkOpPE.h | 20 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 38 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 54 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override;
|
/external/skqp/src/effects/ |
D | SkOpPathEffect.cpp | 21 bool SkOpPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath() 74 bool SkMatrixPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 102 bool SkStrokePE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 103 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); in onFilterPath()
|
D | SkOpPE.h | 20 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 38 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 54 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override;
|
/external/skia/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.cpp | 96 const SkStrokeRec& stroke = shape.style().strokeRec(); in onCanDrawPath() 98 case SkStrokeRec::kFill_Style: { in onCanDrawPath() 133 case SkStrokeRec::kStroke_Style: in onCanDrawPath() 141 case SkStrokeRec::kHairline_Style: { in onCanDrawPath() 161 case SkStrokeRec::kStrokeAndFill_Style: in onCanDrawPath() 355 const SkStrokeRec& stroke, in GetStrokeDevWidth() 361 SkASSERT(SkStrokeRec::kStroke_Style == stroke.getStyle()); in GetStrokeDevWidth() 369 *inflationRadius = SkStrokeRec::GetInflationRadius( in GetStrokeDevWidth()
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 77 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { in outset_for_stroke() 157 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, in cull_path() 220 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, in init() 286 bool SkDashPath::InternalFilter(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in InternalFilter() 295 SkStrokeRec::Style style = rec->getStyle(); in InternalFilter() 296 if (SkStrokeRec::kFill_Style == style || SkStrokeRec::kStrokeAndFill_Style == style) { in InternalFilter() 434 bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in FilterDashPath()
|
/external/skqp/src/utils/ |
D | SkDashPath.cpp | 77 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { in outset_for_stroke() 173 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, in cull_path() 228 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, in init() 294 bool SkDashPath::InternalFilter(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in InternalFilter() 303 SkStrokeRec::Style style = rec->getStyle(); in InternalFilter() 304 if (SkStrokeRec::kFill_Style == style || SkStrokeRec::kStrokeAndFill_Style == style) { in InternalFilter() 442 bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in FilterDashPath()
|