#include <SkStrokerPriv.h>
|
typedef void(* | CapProc) (SkPath *path, const SkPoint &pivot, const SkVector &normal, const SkPoint &stop, SkPath *otherPath) |
|
typedef void(* | JoinProc) (SkPath *outer, SkPath *inner, const SkVector &beforeUnitNormal, const SkPoint &pivot, const SkVector &afterUnitNormal, SkScalar radius, SkScalar invMiterLimit, bool prevIsLine, bool currIsLine) |
|
Definition at line 28 of file SkStrokerPriv.h.
◆ CapProc
◆ JoinProc
◆ CapFactory()
Definition at line 221 of file SkStrokerPriv.cpp.
221 {
224 };
225
227 return gCappers[cap];
228}
static void RoundCapper(SkPath *path, const SkPoint &pivot, const SkVector &normal, const SkPoint &stop, SkPath *)
static void ButtCapper(SkPath *path, const SkPoint &pivot, const SkVector &normal, const SkPoint &stop, SkPath *)
static void SquareCapper(SkPath *path, const SkPoint &pivot, const SkVector &normal, const SkPoint &stop, SkPath *otherPath)
static constexpr int kCapCount
void(* CapProc)(SkPath *path, const SkPoint &pivot, const SkVector &normal, const SkPoint &stop, SkPath *otherPath)
◆ JoinFactory()
Definition at line 230 of file SkStrokerPriv.cpp.
230 {
233 };
234
236 return gJoiners[
join];
237}
static void MiterJoiner(SkPath *outer, SkPath *inner, const SkVector &beforeUnitNormal, const SkPoint &pivot, const SkVector &afterUnitNormal, SkScalar radius, SkScalar invMiterLimit, bool prevIsLine, bool currIsLine)
static void BluntJoiner(SkPath *outer, SkPath *inner, const SkVector &beforeUnitNormal, const SkPoint &pivot, const SkVector &afterUnitNormal, SkScalar radius, SkScalar invMiterLimit, bool, bool)
static void RoundJoiner(SkPath *outer, SkPath *inner, const SkVector &beforeUnitNormal, const SkPoint &pivot, const SkVector &afterUnitNormal, SkScalar radius, SkScalar invMiterLimit, bool, bool)
static constexpr int kJoinCount
void(* JoinProc)(SkPath *outer, SkPath *inner, const SkVector &beforeUnitNormal, const SkPoint &pivot, const SkVector &afterUnitNormal, SkScalar radius, SkScalar invMiterLimit, bool prevIsLine, bool currIsLine)
static SkString join(const CommandLineFlags::StringArray &)
The documentation for this class was generated from the following files: