Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - Norton Guide http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
                       Overview of Graphics System
 arc()                 Draw a Circular Arc
 bar()                 Draw and Fills a Bar
 bar3d()               Draw and Fills a 3-Dimensional Bar
 circle()              Draw a Circle
 cleardevice()         Clear the Graphics Screen
 clearviewport()       Erase the Current Viewport
 closegraph()          Shut Down the Graphics System
 detectgraph()         Select Graphics Driver and Mode
 drawpoly()            Draw a Polygon
 ellipse()             Draw an Elliptical Arc
 fillellipse()         Draw and Fill and Ellipse
 fillpoly()            Draw and Fills a Polygon
 floodfill()           Fill a Bounded Region
 getarccoords()        Get Last Arc Coordinates
 getaspectratio()      Get Current Graphics Mode's Aspect Ratio
 getbkcolor()          Get the Current Background Color
 getcolor()            Get the Current Drawing Color
 getdefaultpalette()   Get the Current Palette
 getfillpattern()      Get User-Defined Fill Pattern
 getfillsettings()     Get Current Fill Pattern and Fill Color
 getgraphmode()        Get the Current Graphics Mode
 getimage()            Save a Bit Image of an Area in Memory
 getlinesettings()     Get Current Line Width, Pattern and Style
 getmaxcolor()         Get the Maximum Color Value For Current Mode
 getmaxx()             Get the Current x Resolution
 getmaxy()             Get the Current y Resolution
 getdrivername()       Get Current Graphics Driver Name
 getmodename()         Return Mode Name for Specified Driver
 getmoderange()        Return Mode Range for Specified Driver
 getpalette()          Get Current Palette and Size
 getpalettesize()      Get Size of Current Palette
 getpixel()            Get the Color of the Given Pixel
 gettextsettings()     Get Text Font, Direction, Size and
 getviewsettings()     Get Current Viewport Information
 getx()                Get the Current Position's x Coordinate
 gety()                Get the Current Position's y Coordinate
 graphdefaults()       Reset Graphics System Variables
 grapherrormsg()       Return Error Message String
 _graphfreemem()       Deallocate Graphics Memory
 _graphgetmem()        Allocate Graphics Memory
 graphresult()         Return Graphics System Error Code
 imagesize()           Get Amount of Mem Needed to Store Screen Image
 initgraph()           Initialize the Graphics System
 installuserfont()     Install a User Font
 line()                Draw a Line
 linerel()             Draw Line a Relative Dist From Current Position
 lineto()              Draw a Line From Current Pos to a Specified
 moverel()             Move Current Position (CP) a Relative Distance
 moveto()              Move the Current Position (CP) to a New
 outtext()             Output a String to Screen at Current Position
 outtextxy()           Output a String to Screen at Specified Position
 pieslice()            Draw a Pieslice
 putimage()            Restore Saved Screen Image
 putpixel()            Plot a Pixel at Specified Coordinates
 rectangle()           Draw a Rectangle
 registerbgidriver()   Register Linked-in Graphics Driver File
 registerbgifont()     Register Linked-in Stroked Fonts
 restorecrtmode()      Restore System Mode to Pre-initgraph()Setting
 sector()              Draw an Elliptical Sector
 setactivepage()       Set Active Page
 setallpalette()       Change All Palette Color
 setaspectratio()      Set the Aspect Ratio
 setbkcolor()          Set the Background Color
 setcolor()            Set the Current Drawing Color
 setfillpattern()      Select a User-Defined Fill Pattern
 setfillstyle()        Set the Fill Pattern and Fill Color
 setgraphbufsize()     Specify Size of Internal Graphics Buffer
 setgraphmode()        Set the System to Graphics Mode
 setlinestyle()        Set Current Line Width, Pattern  and Style
 setpalette()          Change a Palette Color
 setrgbpalette()       Set Colors for IBM-8514 and VGA 255 Color Mode
 settextjustify()      Set Current Text Justification Settings
 settextstyle()        Set Current Text Font, Direction and Size
 setusercharsize()     Set Width and Height Ratio for Stroked Fonts
 setviewport()         Set the Current Graphics Viewport
 setvisualpage()       Set Visual Graphics Page Number
 setwritemode()        Set Write Mode for Line Drawing
 textheight()          Get a String's Height in Pixels
 textwidth()           Get a String's Width in Pixels

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