GDDM V3R2 Base Application Programming Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Affecting the appearance of graphics text

GDDM V3R2 Base Application Programming Guide
SC33-0867-01



There are eight different attributes that affect the appearance of graphics text:


   character mode       character box
   character angle      character direction
   character shear      character box space
   text alignment       character symbol set


   Whenever some graphics text is written (with a GSCHAR or GSCHAP call), the
   current values of these eight attributes apply, whether they have been set
   explicitly or by default.

The most important attribute of graphics text is the mode. How much effect the other attributes have on a string of graphics-text characters depends on the mode of the text. In general, all the attributes apply fully to mode-3 graphics text. Some of them apply to mode-2 graphics text, but hardly any affect mode-1 graphics text.

The different settings of the character-mode attribute are described in "Choosing a suitable mode of graphics text" in topic 4.2.1 and the relative advantages of each mode are described in "Advantages and disadvantages of each character mode" in topic 4.2.2. "Example: Subroutine to label the streets of the TOWN program" in topic 4.3 shows several uses of the other graphics-text attributes.

It is the attribute values current at the time of the GSCHAR call that affect the appearance of the characters. The attribute values at the time of the ASREAD call have no particular significance. An exception to this is if GSCHAR uses the default value of any attribute (such as character mode). If such a default is subsequently changed (from mode-3 to mode-2, for example), the appearance at ASREAD is affected.

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012