AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.MoveRel(dx, dy)

Description

Changes position of the Current Point by adding or subtracting defined delta coordinates to the last position of the Current Point.

If there is already an unclosed subpath defined, this method creates a new subpath leaving the previous one opened.

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.