AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.HorLineTo (x)

Description

Adds a HLINE_TO_ABS path command to the current subpath. A new Line starts at the Current Point position and ends at defined X coordinate. Y coordinate remains unchanged. Current Point is finally changed to be at the end of a new Line segment.

Parameters

x: double

X coordinate of end of a new Line segment [in subpixels].

Example

See the Path Example page.