Searched defs:SpotVerticesFactory (Results 1 – 2 of 2) sorted by relevance
110 struct SpotVerticesFactory { struct111 enum class OccluderType {121 SkVector fOffset;122 SkPoint fLocalCenter;123 SkScalar fOccluderHeight = SK_ScalarNaN; // NaN so that isCompatible will fail until init'ed.124 SkPoint3 fDevLightPos;125 SkScalar fLightRadius;126 OccluderType fOccluderType;128 bool isCompatible(const SpotVerticesFactory& that, SkVector* translate) const { in isCompatible()153 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()
111 struct SpotVerticesFactory { struct112 enum class OccluderType {122 SkVector fOffset;123 SkPoint fLocalCenter;124 SkScalar fOccluderHeight = SK_ScalarNaN; // NaN so that isCompatible will fail until init'ed.125 SkPoint3 fDevLightPos;126 SkScalar fLightRadius;127 OccluderType fOccluderType;129 bool isCompatible(const SpotVerticesFactory& that, SkVector* translate) const { in isCompatible()154 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()