Home
last modified time | relevance | path

Searched refs:miter (Results 1 – 25 of 45) sorted by relevance

12

/third_party/flutter/skia/src/effects/
DSkOpPathEffect.cpp92 SkScalar miter) { in Make() argument
93 if (!SkScalarsAreFinite(width, miter) || width < 0 || miter < 0) { in Make()
96 return sk_sp<SkPathEffect>(new SkStrokePE(width, join, cap, miter)); in Make()
99 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE() argument
100 : fWidth(width), fMiter(miter), fJoin(join), fCap(cap) {} in SkStrokePE()
118 SkScalar miter = buffer.readScalar(); in CreateProc() local
121 return buffer.isValid() ? SkStrokePathEffect::Make(width, join, cap, miter) : nullptr; in CreateProc()
DSkOpPE.h50 SkStrokePE(SkScalar width, SkPaint::Join, SkPaint::Cap, SkScalar miter);
/third_party/boost/libs/geometry/doc/generated/
Dbuffer_join_miter.qbk22miter\u005flimit), in terms of the used distance, which limits their length. The miter is not chan…
36 ] [Constructs the strategy. ] [[* double]: ['miter_limit]: The miter limit, to avoid excessively l…
/third_party/skia/src/effects/
DSkOpPathEffect.cpp133 SkScalar miter) { in Make() argument
134 if (!SkScalarsAreFinite(width, miter) || width < 0 || miter < 0) { in Make()
137 return sk_sp<SkPathEffect>(new SkStrokePE(width, join, cap, miter)); in Make()
140 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE() argument
141 : fWidth(width), fMiter(miter), fJoin(join), fCap(cap) {} in SkStrokePE()
170 SkScalar miter = buffer.readScalar(); in CreateProc() local
173 return buffer.isValid() ? SkStrokePathEffect::Make(width, join, cap, miter) : nullptr; in CreateProc()
DSkOpPE.h62 SkStrokePE(SkScalar width, SkPaint::Join, SkPaint::Cap, SkScalar miter);
/third_party/flutter/skia/src/gpu/
DGrStyle.cpp82 SkScalar miter = -1.f; in WriteKey() local
90 miter = style.strokeRec().getMiter(); in WriteKey()
98 memcpy(&key[i++], &miter, sizeof(miter)); in WriteKey()
/third_party/skia/src/gpu/
DGrStyle.cpp82 SkScalar miter = -1.f; in WriteKey() local
90 miter = style.strokeRec().getMiter(); in WriteKey()
98 memcpy(&key[i++], &miter, sizeof(miter)); in WriteKey()
/third_party/flutter/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp563 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
564 miter.setLength(-outset); in createOuterRing()
565 miter += fPts[originalIdx]; in createOuterRing()
568 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
570 miterIdx = this->addPt(miter, -outset, coverage, false, kSharp_CurveState); in createOuterRing()
583 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
594 miter.setLength(-SkScalarSqrt(lengthSq)); in createOuterRing()
595 miter += fPts[originalIdx]; in createOuterRing()
598 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
600 miterIdx = this->addPt(miter, -outset, coverage, false, in createOuterRing()
/third_party/skia/src/gpu/geometry/
DGrAAConvexTessellator.cpp572 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
573 miter.setLength(-outset); in createOuterRing()
574 miter += fPts[originalIdx]; in createOuterRing()
577 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
579 miterIdx = this->addPt(miter, -outset, coverage, false, kSharp_CurveState); in createOuterRing()
592 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
603 miter.setLength(-SkScalarSqrt(lengthSq)); in createOuterRing()
604 miter += fPts[originalIdx]; in createOuterRing()
607 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
609 miterIdx = this->addPt(miter, -outset, coverage, false, in createOuterRing()
/third_party/skia/include/effects/
DSkOpPathEffect.h36 SkScalar miter = 4);
/third_party/flutter/skia/include/effects/
DSkOpPathEffect.h35 SkScalar miter = 4);
/third_party/flutter/skia/src/c/
Dsk_paint.cpp96 void sk_paint_set_stroke_miter(sk_paint_t* cpaint, float miter) { in sk_paint_set_stroke_miter() argument
97 AsPaint(cpaint)->setStrokeMiter(miter); in sk_paint_set_stroke_miter()
/third_party/skia/src/c/
Dsk_paint.cpp96 void sk_paint_set_stroke_miter(sk_paint_t* cpaint, float miter) { in sk_paint_set_stroke_miter() argument
97 AsPaint(cpaint)->setStrokeMiter(miter); in sk_paint_set_stroke_miter()
/third_party/flutter/skia/include/c/
Dsk_paint.h90 SK_API void sk_paint_set_stroke_miter(sk_paint_t*, float miter);
/third_party/skia/include/c/
Dsk_paint.h90 SK_API void sk_paint_set_stroke_miter(sk_paint_t*, float miter);
/third_party/skia/tests/
DPaintTest.cpp72 SkScalar miter = std::max(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST() local
74 paint.getStrokeWidth() * miter : in DEF_TEST()
DGrStyledShapeTest.cpp1067 auto setMiterJoinAndLimit = [](SkPaint* p, SkScalar miter) { in test_miter_limit() argument
1069 p->setStrokeMiter(miter); in test_miter_limit()
1072 auto setOtherJoinAndLimit = [](SkPaint* p, SkScalar miter) { in test_miter_limit() argument
1074 p->setStrokeMiter(miter); in test_miter_limit()
/third_party/flutter/skia/tests/
DPaintTest.cpp96 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST() local
98 paint.getStrokeWidth() * miter : in DEF_TEST()
DGrShapeTest.cpp1057 auto setMiterJoinAndLimit = [](SkPaint* p, SkScalar miter) { in test_miter_limit() argument
1059 p->setStrokeMiter(miter); in test_miter_limit()
1062 auto setOtherJoinAndLimit = [](SkPaint* p, SkScalar miter) { in test_miter_limit() argument
1064 p->setStrokeMiter(miter); in test_miter_limit()
/third_party/skia/include/core/
DSkPaint.h320 void setStrokeMiter(SkScalar miter);
/third_party/flutter/skia/include/core/
DSkPaint.h325 void setStrokeMiter(SkScalar miter);
/third_party/flutter/skia/site/user/api/
DSkPaint_Reference.md77 …f='#SkPaint_setStrokeMiter'>setStrokeMiter</a>(<a href='undocumented#SkScalar'>SkScalar</a> miter);
228 …umented#Text'>text</a> <a href='undocumented#Size'>size</a>, hinting, and miter limit may be overr…
2044 <a href='#Paint_Miter_Limit'>Miter_Limit</a> specifies the maximum miter length,
2051 If the miter at a corner exceeds this limit, <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>
2055 <code><a href='#Miter_Limit'>miter limit</a> = 1 / sin ( angle / 2 )</code>.
2061 Here are some miter limits and the angles that triggers them.
2063 | <a href='#Miter_Limit'>miter limit</a> | angle in degrees |
2078 …e0f00354e59074a9bb1a42d5a63"><div>This example draws a stroked corner and the miter length beneath.
2079 When the <a href='#Miter_Limit'>miter limit</a> is decreased slightly, the miter join is replaced
2095 zero and greater miter limit
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dbitmap_canvas.dart226 ctx.lineJoin = 'miter';
996 case ui.StrokeJoin.miter:
998 return 'miter';
/third_party/skia/site/docs/dev/design/
Dpdftheory.md161 graphic state objects (a set of meta operations like miter limit, line width,
201 type, line width, miter limit, and xfer/blend mode (see later section for xfer
/third_party/flutter/skia/site/dev/design/
Dpdftheory.md196 operations like miter limit, line width, etc). Because of a mismatch
240 line cap, line join type, line width, miter limit, and xfer/blend mode

12