unit graph

Unit to handle screen graphics

author: Tomasz Biela (Tebe)


http://www.freepascal.org/docs-html/rtl/graph/index-5.html

Interface:

name:description:
Scanline

function Scanline(y: smallint): PByte;


ScanLine give access to memory starting point for each row raw data.
    Line

    procedure Line(x1, y1, x2, y2: smallint);


    Draw a line between 2 points
      HLine

      procedure HLine(x1,x2,y: smallint);


      Draw horizontal line between 2 points
        fLine

        procedure fLine(x0, y0, x1, y1: smallint);


        Draw a line between 2 points