8#ifndef SkOffsetPolygon_DEFINED
9#define SkOffsetPolygon_DEFINED
16#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
bool SkComputeRadialSteps(const SkVector &offset0, const SkVector &offset1, SkScalar offset, SkScalar *rotSin, SkScalar *rotCos, int *n)
bool SkIsConvexPolygon(const SkPoint *polygonVerts, int polygonSize)
bool SkIsSimplePolygon(const SkPoint *polygonVerts, int polygonSize)
bool SkTriangulateSimplePolygon(const SkPoint *polygonVerts, uint16_t *indexMap, int polygonSize, SkTDArray< uint16_t > *triangleIndices)
bool SkOffsetSimplePolygon(const SkPoint *inputPolygonVerts, int inputPolygonSize, const SkRect &bounds, SkScalar offset, SkTDArray< SkPoint > *offsetPolygon, SkTDArray< int > *polygonIndices=nullptr)
int SkGetPolygonWinding(const SkPoint *polygonVerts, int polygonSize)
bool SkInsetConvexPolygon(const SkPoint *inputPolygonVerts, int inputPolygonSize, SkScalar inset, SkTDArray< SkPoint > *insetPolygon)
Optional< SkRect > bounds
static SkRect inset(const SkRect &r)