|
Protected Member Functions inherited from SkBaseShadowTessellator |
int | vertexCount () const |
|
int | indexCount () const |
|
bool | accumulateCentroid (const SkPoint &c, const SkPoint &n) |
|
bool | checkConvexity (const SkPoint &p0, const SkPoint &p1, const SkPoint &p2) |
|
void | finishPathPolygon () |
|
bool | computeConvexShadow (SkScalar inset, SkScalar outset, bool doClip) |
|
void | computeClipVectorsAndTestCentroid () |
|
bool | clipUmbraPoint (const SkPoint &umbraPoint, const SkPoint ¢roid, SkPoint *clipPoint) |
|
void | addEdge (const SkVector &nextPoint, const SkVector &nextNormal, SkColor umbraColor, const SkTDArray< SkPoint > &umbraPolygon, bool lastEdge, bool doClip) |
|
bool | addInnerPoint (const SkPoint &pathPoint, SkColor umbraColor, const SkTDArray< SkPoint > &umbraPolygon, int *currUmbraIndex) |
|
int | getClosestUmbraIndex (const SkPoint &point, const SkTDArray< SkPoint > &umbraPolygon) |
|
bool | computeConcaveShadow (SkScalar inset, SkScalar outset) |
|
void | stitchConcaveRings (const SkTDArray< SkPoint > &umbraPolygon, SkTDArray< int > *umbraIndices, const SkTDArray< SkPoint > &penumbraPolygon, SkTDArray< int > *penumbraIndices) |
|
void | handleLine (const SkPoint &p) |
|
void | handleLine (const SkMatrix &m, SkPoint *p) |
|
void | handleQuad (const SkPoint pts[3]) |
|
void | handleQuad (const SkMatrix &m, SkPoint pts[3]) |
|
void | handleCubic (const SkMatrix &m, SkPoint pts[4]) |
|
void | handleConic (const SkMatrix &m, SkPoint pts[3], SkScalar w) |
|
bool | addArc (const SkVector &nextNormal, SkScalar offset, bool finishArc) |
|
void | appendTriangle (uint16_t index0, uint16_t index1, uint16_t index2) |
|
void | appendQuad (uint16_t index0, uint16_t index1, uint16_t index2, uint16_t index3) |
|
SkScalar | heightFunc (SkScalar x, SkScalar y) |
|
Protected Attributes inherited from SkBaseShadowTessellator |
SkPoint3 | fZPlaneParams |
|
SkTDArray< SkPoint > | fPointBuffer |
|
SkTDArray< SkPoint > | fPositions |
|
SkTDArray< SkColor > | fColors |
|
SkTDArray< uint16_t > | fIndices |
|
SkTDArray< SkPoint > | fPathPolygon |
|
SkTDArray< SkPoint > | fClipPolygon |
|
SkTDArray< SkVector > | fClipVectors |
|
SkRect | fPathBounds |
|
SkPoint | fCentroid |
|
SkScalar | fArea |
|
SkScalar | fLastArea |
|
SkScalar | fLastCross |
|
int | fFirstVertexIndex |
|
SkVector | fFirstOutset |
|
SkPoint | fFirstPoint |
|
bool | fSucceeded |
|
bool | fTransparent |
|
bool | fIsConvex |
|
bool | fValidUmbra |
|
SkScalar | fDirection |
|
int | fPrevUmbraIndex |
|
int | fCurrUmbraIndex |
|
int | fCurrClipIndex |
|
bool | fPrevUmbraOutside |
|
bool | fFirstUmbraOutside |
|
SkVector | fPrevOutset |
|
SkPoint | fPrevPoint |
|
Static Protected Attributes inherited from SkBaseShadowTessellator |
static constexpr auto | kMinHeight = 0.1f |
|
static constexpr auto | kPenumbraColor = SK_ColorTRANSPARENT |
|
static constexpr auto | kUmbraColor = SK_ColorBLACK |
|
Definition at line 914 of file SkShadowTessellator.cpp.