AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.ArcRel(rx, ry, angle, largeArcFlag, sweepFlag, dx, dy)

Description

Adds an xARC_TO_REL path command to the current subpath. A new Arc starts at the Current Point position and ends at Current Point position plus defined delta coordinates. Current Point is finally changed to be at the end of a new Arc segment.

Parameters

rx: double

Ellipse radius on X axis [in subpixels].

ry: double

Ellipse radius on Y axis [in subpixels].

angle: double

Overall X axis rotation of ellipse [clockwise in radians].

largeArcFlag: boolean

If TRUE, L = Large Arc.

If FALSE, S = Small Arc.

sweepFlag: boolean

If TRUE, CW = Clock Wise.

If FALSE, CCW = Counter Clock Wise.

dx: double

Change (delta +/-) to the Current Point coordinate on X axis [in subpixels].

dy: double

Change (delta +/-) to the Current Point coordinate on Y axis [in subpixels].

Example

See the Path Example page.