There are two modes of work: character display mode, graphic display mode is mainly different: the information stored in the memory (VRAM) is different. 1. Initialization of the image system initgraph () 2, an image system detection detectGraph () 3, clear screen and recovery display method clearviewPort () CloseGraph () setPraphmode () restorecrtMode () 4, basic graphics function PUTPIEL ( Getpixel () MoveTo () MoveRel () getX () get () line () lineto () LineRel () Rectangle () bar () Ellipse () circle () arc () pieslce () Circle () arc () pieslce () 5, color Control setColor () SetBkcolor () setallpalette () getPalette () getpalettesize () 6, line-shaped control setLinesTyle () getLinesTyle () 7, filling and related drawing setFillStyle () setfillpattern () FillSettings () bar3d () Sector () FillSettings () bar3d () Sector () Fillellipse () FillPoly () floodfilll () 8, screen operation GetImage () ImageSize () PUTIMAGE () SetActivePage () // Show page 9, graphics Operation setViewPort () ClearviewPort () getViewSettings () 10, Graphical mode The text output OutText () OutTextxy () setTextJustF () setTextStyle () sprintf () 11, animation technology 12, menu generated 13, graphics program usage environment 14, direct storage 15, svga programming