AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.HorLineRel (dx)

Description

Adds a HLINE_TO_REL path command to the current subpath. A new Line starts at the Current Point position and ends on X axis at Current Point position X plus defined delta coordinate. Y coordinate remains unchanged. 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].

Example

See the Path Example page.