5 #ifndef FLUTTER_IMPELLER_GEOMETRY_ARC_H_
6 #define FLUTTER_IMPELLER_GEOMETRY_ARC_H_
126 bool simplify_360 =
true)
const;
132 bool include_center_;
134 static const Iteration ComputeCircleArcIterations(
size_t step_count);
144 << (a.
IncludeCenter() ?
", with center)" :
", without center)");
std::ostream & operator<<(std::ostream &out, const impeller::Arc &a)
size_t GetPointCount() const
size_t GetPointCount() const
Iteration ComputeIterations(size_t step_count, bool simplify_360=true) const
Arc(const Rect &bounds, Degrees start, Degrees sweep, bool include_center)
Rect GetTightArcBounds() const
constexpr bool IncludeCenter() const
constexpr bool IsFullCircle() const
const Size GetOvalSize() const
Returns the size of the oval bounds.
constexpr bool IsPerfectCircle() const
const Rect & GetOvalBounds() const
Return the bounds of the oval in which this arc is inscribed.
const Point GetOvalCenter() const
Returns the center of the oval bounds.
constexpr Degrees GetSweep() const
constexpr Degrees GetStart() const
constexpr TSize< Type > GetSize() const
Returns the size of the rectangle which may be negative in either width or height and may have been c...
constexpr bool IsSquare() const
Returns true if width and height are equal and neither is NaN.
constexpr Point GetCenter() const
Get the center point as a |Point|.