8#ifndef SkPathMakers_DEFINED
9#define SkPathMakers_DEFINED
18 : fCurrent(startIndex %
N)
23 return fPts[fCurrent];
27 fCurrent = (fCurrent + fAdvance) %
N;
SkPath_OvalPointIterator(const SkRect &oval, SkPathDirection dir, unsigned startIndex)
const SkPoint & current() const
SkPath_PointIterator(SkPathDirection dir, unsigned startIndex)
SkPath_RRectPointIterator(const SkRRect &rrect, SkPathDirection dir, unsigned startIndex)
SkPath_RectPointIterator(const SkRect &rect, SkPathDirection dir, unsigned startIndex)
SkVector radii(Corner corner) const
@ kUpperLeft_Corner
index of top-left corner radii
@ kLowerRight_Corner
index of bottom-right corner radii
@ kUpperRight_Corner
index of top-right corner radii
@ kLowerLeft_Corner
index of bottom-left corner radii
const SkRect & getBounds() const
static constexpr SkPoint Make(float x, float y)
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
constexpr float centerX() const
constexpr float centerY() const
SkScalar fTop
smaller y-axis bounds