Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfgrfbox()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfGrfBox()
Display a Graphic box on the screen
------------------------------------------------------------------------------
Syntax:

     dfGrfBox( <nxMin>, <nyMin>,;
               <nxMax>, <nyMax>,;
               <nCol>, [<nFillCol>] ) --> NIL

Parameters:

     <nxMin>, <nyMin> Start Coordinates
     <nxMax>, <nyMax> Target Coordinates
     <nCol>     Color to use
     <nFillCol> fill color. If not empty the box it's a filled box

Returns:

     NIL

Description:

     Display a Graphic box on the screen

Example:

     dfModGrf( 13 )   // 320x200x256
     dfDraw( 0,0, 320, 200, 4 ) // Draw a red line
     dfGrfBox( 100, 100, 300, 180, 4 )
     INKEY(0)
     
     dfModGrf( 3 )   // 25x50x256

See also:

     dfDraw(), dfModGrf()

See Also: dfDraw() dfModGrf()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson