Skip to main content

Chapter 5 Graphics

  • Chapter
Scientific Pascal
  • 153 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Birkhäuser Boston

About this chapter

Cite this chapter

Flanders, H. (1996). Chapter 5 Graphics. In: Scientific Pascal. Birkhäuser Boston. https://doi.org/10.1007/978-1-4612-2428-0_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-2428-0_5

  • Publisher Name: Birkhäuser Boston

  • Print ISBN: 978-0-8176-3760-6

  • Online ISBN: 978-1-4612-2428-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics