GDDM V3R2 Base Application Programming Guide
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Choosing a suitable mode of graphics text GDDM V3R2 Base Application Programming Guide SC33-0867-01 |
|
Before issuing any GSCHAR or GSCHAP calls to create graphics text, you can use the GSCM call to specify a value of 1, 2, or 3 for the mode of the text.
CALL GSCM(3); /* Set character mode to 3 - vector text.*/
The mode applies to all subsequent GSCHAP and GSCHAR calls until the
character mode is changed again. If the program uses segments, opening a
new segment resets the mode to the default. If the character-mode
attribute is not specified, the default is mode-1.
The character mode determines which type of symbol set is used to draw the characters. A symbol set is a collection of characters and other symbols; usually they are all a particular style, or font, such as Times Roman or Gothic. For a fuller description of symbol sets, see "Using symbol sets" in topic 12.0. Briefly, there are two sorts:
Graphics text Modes-1 and -2 are highly device-dependent. This topic describes their use primarily on terminals that use the 3270 data stream such as the IBM 3472-G. Differences on other types of device are described in "Device variations with graphics text" in topic 4.6. The relative advantages and disadvantages of the three modes on all types of terminal are discussed later, in "Advantages and disadvantages of each character mode" in topic 4.2.2.
Subtopics: |
Copyright IBM Corporation 1990, 2012 |