Chapter 5 Graphics

  • Harley Flanders


The Graph unit in Borland Pascal offers a great variety of procedures for dealing with the graphics screen. In this section we’ll illustrate some of them, starting with procedures that control how text is written to the graphics screen. The default font is a bit mapped font that does not magnify gracefully. Borland Pascal provides four other “stroked” fonts that do magnify very nicely. The following program demos these, and procedures that govern how text will be placed on the screen:SetTextStyle and SetTextJustify. The font files “*.chr” must be on line for the program to run properly. If a graphics program cannot find a font, it doesn’t crash, but simply uses the default font instead.


Computer Graphic Graphic Mode Graphic Program Elliptic Cylinder Oblique Projection 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Birkhäuser Boston 1996

Authors and Affiliations

  • Harley Flanders
    • 1
  1. 1.Department of MathematicsUniversity of MichiganAnn ArborUSA

Personalised recommendations