我在看书时,遇到如textmode(C80);我不是很清楚,文本模式除了这种,还有那种。这种模式是什么意思,它与屏幕显示的坐标有什么关系?Window(1,1,80,23)中的参数与前面的语句又有什么关系?

解决方案 »

  1.   

    MM_HIENGLISH   Each logical unit is converted to 0.001 inch. Positive x is to the right; positive y is up.
    MM_HIMETRIC   Each logical unit is converted to 0.01 millimeter. Positive x is to the right; positive y is up.
    MM_ISOTROPIC   Logical units are converted to arbitrary units with equally scaled axes; that is, 1 unit along the x-axis is equal to 1 unit along the y-axis. Use the SetWindowExt and SetViewportExt member functions to specify the desired units and the orientation of the axes. GDI makes adjustments as necessary to ensure that the x and y units remain the same size.
    MM_LOENGLISH   Each logical unit is converted to 0.01 inch. Positive x is to the right; positive y is up.
    MM_LOMETRIC   Each logical unit is converted to 0.1 millimeter. Positive x is to the right; positive y is up.
    MM_TEXT   Each logical unit is converted to 1 device pixel. Positive x is to the right; positive y is down.
    MM_TWIPS   Each logical unit is converted to 1/20 of a point. (Because a point is 1/72 inch, a twip is 1/1440 inch.) Positive x is to the right; positive y is up.
      

  2.   

    dos下有个命令mode80,像使用dir一样,使用MODE80后恢复到文本模式