Home
last modified time | relevance | path

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

/third_party/skia/experimental/graphite/src/
DDrawList.h62 StrokeParams() : fHalfWidth(0.f), fJoinLimit(0.f), fCap(SkPaint::kButt_Cap) {} in StrokeParams()
68 , fJoinLimit(join == SkPaint::kMiter_Join ? std::max(0.f, miterLimit) : in StrokeParams()
76 bool isMiterJoin() const { return fJoinLimit > 0.f; } in isMiterJoin()
77 bool isBevelJoin() const { return fJoinLimit == 0.f; } in isBevelJoin()
78 bool isRoundJoin() const { return fJoinLimit < 0.f; } in isRoundJoin()
82 float miterLimit() const { return std::max(0.f, fJoinLimit); } in miterLimit()
85 return fJoinLimit > 0.f ? SkPaint::kMiter_Join : in join()
86 (fJoinLimit == 0.f ? SkPaint::kBevel_Join : SkPaint::kRound_Join); in join()
91 float fJoinLimit; // >0: miter join; ==0: bevel join; <0: round join variable