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>dfgrfbar()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfGrfBar()
Designs an object on a graphic page
------------------------------------------------------------------------------
Syntax:

     dfGrfBar(<x1>,<y1>,<x2>,<y2>     ;
              <nCol>,<nFil>,<nTyp>) --> NIL

Parameters:

     <x1>,<y1>,<x2>,<y2> Coordinates
     <nCol>     Color of the display
     <nFil>     Color to filling
     <nTyp>     Type of graphic
     # Include "dfGraph.ch"
     +---------------------------+
     |Type                       |
     |---------------------------|
     |BAR_TOP_PYRAMIDAL          |
     |BAR_BOTTOM_PYRAMIDAL       |
     |BAR_NORMAL_BAR             |
     |BAR_TOP_PYRAMIDAL_SIMPLY   |
     |BAR_BOTTOM_PYRAMIDAL_SIMPLY|
     |BAR_NORMAL_BAR_SIMPLY      |
     +---------------------------+

Returns:

     NIL

Description:

     Permits to display a solid object on a graphic page

Example:

     // dfGrfBar() Source used inside of dfGraph
     
     dfSetVga()
     dfGraph("Sales"                            ,;
               {" 1993,"{ 1030, 3323, 7330, 1030}} ,;
               {" 1994,"{ 1230, 3323, 5330, 3120}} ,;
               {" 1995,"{ 1330, 4423, 5330, 3130}} ,;
               {" 1996,"{ 1430, 5523, 7330, 3140}} ,;
                             BAR_BOTTOM_PYRAMIDAL)
     Inkey (0)
     dfTxtMode()

See also:

     dfGraph(), dfSetEGA(), dfSetVga(), dfTxtMode()

See Also: dfGraph() dfSetEGA() dfSetVga() dfTxtMode()

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