Previous: OS2Types Unit To the Table of Content Next: Printer Unit

- 4.55 -
Standard Units

Pen Windows Interface Unit

Targets: Win32 only


This module imports the structures and functions used with pens.

About:
A pen is a graphics tool that an application for Microsoft® Windows® uses to draw lines and curves. Drawing applications use pens to draw freehand lines, straight lines, and curves. Computer-aided design (CAD) applications use pens to draw visible lines, hidden lines, section lines, center lines, and so on. Word processing and desktop publishing applications use pens to draw borders and rules. Spreadsheet applications use pens to designate trends in graphs and to outline bar graphs and pie charts.

There are two types of pen: cosmetic and geometric. A cosmetic pen is used with applications requiring lines of fixed width and lines that are quickly drawn. A CAD application, for example, uses a cosmetic pen to generate hidden, section, center, and dimension lines that are between .015 and .022 inches wide - regardless of the scale factor. A geometric pen is used with applications requiring scalable lines, lines with unique end or join styles, and lines that are wider than a single pixel. A spreadsheet application, for example, uses a geometric pen to define each of the bars in a bar graph as a wide line.

For more info look the "Pens" in WIN32.HLP.


Previous: OS2Types Unit To the Table of Content Next: Printer Unit
OS2Types Unit Table of Content Printer Unit

- 4.55 -