_graphfreemem | User hook into graphics memory deallocation. |
_graphgetmem | User hook into graphics memory allocation. |
arc | Draws an arc. |
bar | Draws a two-dimensional bar. |
bar3d | Draws a three-dimensional bar. |
circle | Draws a circle of the given radius with its center at ix,y). |
cleardevice | Clears the graphics screen. |
clearviewport | Clears the current viewport. |
closegraph | Shuts down the graphics system. |
detectgraph | Determines graphics driver and graphics mode to use by checking the hardware. |
drawpoly | Draws the outline of a polygon. |
fillellipse | Draws and fills an ellipse. |
fillpoly | Draws and fills a polygon. |
floodfill | Flood-fills a bounded region. |
getarccoords | Gets coordinates of the last call to arc. |
getaspectratio | Retrieves the current graphics mode's aspect ratio. |
getbkcolor | Returns the current background color. |
getcolor | Returns the current drawing color. |
getdefaultpalette | Returns the palette definition structure. |
getdrivername | Returns a pointer to a string containing the name of the current graphics driver. |
getfillpattern | Copies a user-defined fill pattern into memory. |
getfillsettings | Gets information about current fill pattern and color. |
getgraphmode | Returns the current graphics mode. |
getimage | Saves a bit image of the specified region into memory. |
getlinesettings | Gets the current line style, pattern, and thickness. |
getmaxcolor | Returns maximum color value that can be passed to the setcolor function. |
getmaxmode | Returns the maximum mode number for the current driver. |
getmaxx | Returns maximum x screen coordinate. |
getmaxy | Returns maximum y screen coordinate. |
getmodename | Returns a pointer to a string containing the name of a specified graphics mode. |
getmoderange | Gets the range of modes for a given graphics driver. |
getpalette | Gets information about the current palette. |
getpalettesize | Returns size of palette color lookup table. |
getpixel | Gets the color of a specified pixel. |
gettextsettings | Gets information about the current graphics text font. |
getviewsettings | Gets information about the current viewport. |
getx | Returns the current graphics position's x-coordinate. |
gety | Returns the current graphics position's y-coordinate. |
graphdefaults | Resets all graphics settings to their defaults. |
grapherrormsg | Returns a pointer to an error message string. |
graphresult | Returns an error code for the last unsuccessful graphics operation. |
imagesize | Returns the number of bytes required to store a bit image. |
initgraph | Initializes the graphics system. |
installuserdriver | Installs a vendor-added device driver to the BGI device driver table. |
installuserfont | Loads a font file (.CHR) that is not built into the BGI system. |
line | Draws a line between two specified points. |
linerel | Draws a line a relative distance from the current position (CP). |
lineto | Draws a line from the current position (CP) to {x,y). |
moverel | Moves the current position (CP) a relative distance. |
moveto | Moves the current position (CP) to {x,y). |
outtext | Displays a string in the viewport. |
outtextxy | Displays a string at a specified location. |
pieslice | Draws and fills in pie slice. |
putimage | Outputs a bit image to screen. |
putpixel | Plots a pixel at a specified point. |
rectangle | Draws a rectangle. |
registerbgidriver | Registers a user-loaded or linked-in graphics driver code with the graphics system. |
registerbgifont | Registers linked-in stroked font code. |
restorecrtmode | Restores the screen mode to its pre-initgraph setting. |
sector | Draws and fills an elliptical pie slice. |
setactivepage | Sets active page for graphics output. |
setallpalette | Changes all palette colors as specified. |
setaspectratio | Changes the default aspect ratio correction factor. |
setbkcolor | Sets the current background color using the palette. |
setcolor | Sets the current drawing color using the palette. |
setfillpattern | Selects a user-defined fill pattern. |
setfillstyle | Sets the fill pattern and color. |
setgraphbufsize | Changes the size of the internal graphics buffer. |
setgraphmode | Sets the system to graphics mode and clears the screen. |
setlinestyle | Sets the current line width and style. |
setpalette | Changes one palette color. |
setrgbpalette | Allows user to define colors for the IBM 8514. |
settextjustify | Sets text justification for graphics functions. |
settextstyle | Sets the current text characteristics for graphics output. |
setusercharsize | Varies character width and height for stroked fonts. |
setviewport | Sets the current viewport for graphics output. |
setvisualpage | Sets the visual graphics page number. |
setwritemode | Sets the writing mode for line drawing in graphics mode. |
textheight | Returns the height of a string in pixels. |
textwidth | Returns the width of a string in pixels. |