C语言图形编程(二、图形显示)(国外英语资料).docVIP

  • 4
  • 0
  • 约1.77万字
  • 约 22页
  • 2017-06-26 发布于河南
  • 举报

C语言图形编程(二、图形显示)(国外英语资料).doc

C语言图形编程(二、图形显示)(国外英语资料)

C语言图形编程(二、图形显示)(国外英语资料) One, determine the display card Second, select display mode Three, graphical display Detectgraph () displays the card detection function The initgraph () graph initializes the function Getdrivername () gets the pointer to the graphical driver name Getgraphmode () gets the graphical mode function Getmoderange () gets the pattern value scope function Getmaxmode () takes the maximum display mode function Getmodename () gets the display mode name function The graphdefaults () figure sets the default value function Setgraphmode () sets the graph mode function Restorecrtmode () restore the text display mode function 30. The graphresult () graphical operation results function Grpaherrormsg () graphical error message function Setgraphbufsize () sets the graphical buffer size function Setactivepage () sets the output display page function Setvisualpage () sets the page number Closegraph () closes the graphical mode function One, determine the display card The microcomputer system display is composed of two parts, the monitor and the display card. The display is an external device that is independent of the host, and the display card or display adapter card, or graphics card, is a circuit board that plugs into the host. But some graphics CARDS are designed with the mainboard. The display card includes register groups, memory and control circuits. The memory includes both the RAM and ROM BIOS, which are implemented by the display card for all the actions of the display screen. So to make a graphical display, you first need to determine what type of display card is installed on the computer. One way is to ask the computer or the end user to determine the type of display card that will be used. This approach is difficult because even professional programmers dont always know what hardware he is using. Another approach is to use software to query hardware to identify the current configuration. If there are some standards for identifying hardware, this is e

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档