Device related functions


Function or data type Description
cleardevice Clears the drawing device.
initgraph Initializes the graphics window.
closegraph Closes the graphics window.
getaspectratio Gets the current scaling factor.
setaspectratio Sets the current scaling factor.
graphdefaults Restores the drawing environment as the default value.
setorigin Sets the coordinate origin point.
setcliprgn Sets the cropping area of the current drawing device.
clearcliprgn Clears the cropping area.