IlvDisplay: The Display System Class
To develop a graphic application using Views, you use a set of IlvDisplay member functions or Views primitives:
IlvDisplay Drawing Member Functions: The Primitives
The class IlvDisplay enables you to communicate transparently with a display system such as X Window or Microsoft Windows.
Two basic tasks are drawing commands and graphic resource handling:
-
Drawing Commands Drawing commands handle the basic geometric classes for such entities as points, rectangles, regions (list of rectangles), curves, and strings.
There are more than twenty drawing member functions of this kind (see the IlvPort class for details). Drawing operations produce their results inside a region—either in memory or on the screen—that is defined as an instance of the IlvPort class.
-
Graphic Resources Some IlvDisplay drawing member functions deal with graphic resources, such as colors, line styles, patterns, and fonts. These resources are objects that inherit the features of a class called IlvResource. They are created by means of various IlvDisplay member functions. Specific resources are grouped together into objects of the IlvPalette class for drawing purposes.