Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Basics » CreateArc
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Creates an arc from an aligned point, radius, and angle range.
Syntax
C++
C#
void fil::CreateArc ( const fil::Point2D& inPoint, fil::Anchor2D::Type inPointAnchor, float inRadius, float inStartAngle, float inSweepAngle, fil::Arc2D& outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inPoint | const Point2D& | |||
![]() |
inPointAnchor | Anchor2D::Type | MiddleCenter | Alignment of the point relatively to the box of the circle | |
![]() |
inRadius | float | 0.0 - ![]() |
Circle radius | |
![]() |
inStartAngle | float | Direction at which the arc begins | ||
![]() |
inSweepAngle | float | Length of the arc (may be negative) | ||
![]() |
outArc | Arc2D& |