Using CRT and WinGraph in Delphi

Nowadays, most programmers draw graphics on the screen using a canvas in Object Oriented Pascal/Delphi, so in recent versions of Delphi there is no CRT or Graph unit. Here we provide instructions for downloading and including these Pascal files in your programs and also include Delphi 7 versions of our demonstration programs using these units. The well-documented WinGraph.pas file can also be used in Lazarus and it offers many advantages over the inbuilt Graph unit.

We are delighted by the way that our contributors have used WinGraph, WinCrt and WinMouse. You can scan down from here in the table of programs for many examples of their use.

Continue with the following topics to learn more:

Programming - a skill for life!

Vector, bitmap and motion graphics using Crt and WinGraph units or OpenGL