12#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
51 if (insetPoly.
size() == 4) {
64 if (insetPoly.
size() == 2) {
104 clippedRRectPoly.
size()));
DEF_TEST(InsetConvexPoly, reporter)
bool equals(SkDrawable *a, SkDrawable *b)
bool SkIsConvexPolygon(const SkPoint *polygonVerts, int polygonSize)
bool SkInsetConvexPolygon(const SkPoint *inputPolygonVerts, int inputPolygonSize, SkScalar inset, SkTDArray< SkPoint > *insetPolygon)
#define REPORTER_ASSERT(r, cond,...)
static constexpr SkPoint Make(float x, float y)