DRAW_LINE_BETWEEN@

Platform

Win32, x64

Purpose

To draw a straight line on the current drawing surface.

Syntax

SUBROUTINE DRAW_LINE_BETWEEN@(IX1,IY1,IX2,IY2,ICOL)
INTEGER IX1,IY1,IX2,IY2,ICOL

Description

DRAW_LINE_BETWEEN@ draws a line with colour value ICOL (using the current colour mode) from (IX1, IY1) to (IX2, IY2). The coordinates are pixel numbers relative to the top left of the drawing surface. When not in GDI+ mode and the line width is one, a pixel is is drawn at the end point of the line. This is not the case in GDI+ mode

The library also contains a REAL*8 version of this routine which is especially useful when drawing SVG files.

SUBROUTINE DRAW_LINE_BETWEEND@(RX1,RY1,RX2,RY2,ICOL)
REAL*8 RX1,RY1,RX2,RY2
INTEGER ICOL

See also

Using GDI+, DRAW_POLYLINE@, DRAW_POINT@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited