AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.LineRel(dx, dy)

Description

Adds a LINE_TO_REL path command to the current subpath. A new Line 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 Line segment.

Parameters

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.