- draw a line to specified point

Low-level graphics
(AmiBroker 50)

SYNTAX GfxLineTo( x, y )
FUNCTION Draws a line from the current position up to, but not including, the point specified by x and y. The line is drawn with the selected pen. The current position is set to x,y. Parameters
  • x - Specifies the x-coordinate of the end point of the line.
  • y - Specifies the y-coordinate of the end point of the line.

NOTE: This is LOW-LEVEL graphic function. To learn more about low-level graphic functions please read TUTORIAL: Using low-level graphics.

EXAMPLE GfxMoveTo( 0, 0 );
GfxLineTo( 100, 100 );
SEE ALSO GfxMoveTo() function


The GfxLineTo function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.