basic2d


This command set allows you to draw to the screen or another bitmap 2D art such as lines, dots, circles, boxes and control this art using foreground and background colour.

INK : INK Foreground Color,Background Color
CLS : CLS Color Value
DOT : DOT X,Y
LINE : LINE X1,Y1,X2,Y2
BOX : BOX Left,Top,Right,Bottom
CIRCLE : CIRCLE X,Y,Radius
ELLIPSE : ELLIPSE X,Y,X Radius,Y Radius
LOCK PIXELS : LOCK PIXELS
UNLOCK PIXELS : UNLOCK PIXELS

RGB : Return DWORD=RGB(Red Value,Green Value,Blue Value) RGBR : Return Integer=RGBR(Red Value) RGBG : Return Integer=RGBG(Green Value) RGBB : Return Integer=RGBB(Blue Value) POINT : Return DWORD=POINT(X,Y) GET PIXELS POINTER : Return DWORD=GET PIXELS POINTER() GET PIXELS PITCH : Return Integer=GET PIXELS PITCH()