ISO/IEC 9636-3:1991
(Main)Information technology — Computer graphics — Interfacing techniques for dialogues with graphical devices (CGI) — Functional specification — Part 3: Output
Information technology — Computer graphics — Interfacing techniques for dialogues with graphical devices (CGI) — Functional specification — Part 3: Output
Describes those functions of the interface concerned with output primitives and associated attributes and controls for creating graphical pictures. Annexes A and B form an integral part of this standard. Annexes C, D, E, F, G and H are for information only.
Technologies de l'information — Infographie — Interfaces pour l'infographie — Spécifications fonctionnelles — Partie 3: Sortie
General Information
Standards Content (Sample)
INTERNATIONAL lSO/IEC
STANDARD
9636-3
First edition
1991-12-15
Information technology - Computer graphics -
Interfacing techniques for dialogues with
graphical devices (CGI) - Functional
specification -
Part 3:
output
Technologies de /‘information - infographie - Interfaces pour
Spkifications fonctionnelles -
I’infographie -
Partie 3: Sortie
Reference number
ISO/IEC 9636-3:1991(E)
---------------------- Page: 1 ----------------------
ISO/IEC 9636-3 : 1991 (E)
Contents
Vii
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . .
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.“.“.~.~.~.~. Vlll
scope . 1
Normative references . 2
Concepts . 3
3.1 Introduction . 3
3.2 General output concepts . 3
Types of graphic primitive functions . 3
3.2.1
................................................................................................ 4
3.2.2 Attributes and controls
4
3.2.3 Output states .
5
33 Individual and bundled attribute values .
5
33.1 Introduction .
............................................................ 6
33.2 Modes of attribute specification and selection
6
3.4 Colour .
6
3.4.1 Direct and indexed modes .
8
3.4.2 Background colour .
35 Graphic objects . 9
35.1 Compound objects . 9
35.2 Global and local attributes . 9
353 Detail of graphic object formation . 9
3.6 Clipping associated with graphic objects . 10
3.6.1 Rendering pipelines for clipping . 11
3.7 Line primitives . 13
3.7.1 Line functions . 13
Line attributes . 13
3.7.2
14
3.73 Line geometry .
14
3.7.4 Line clipping .
3.7.5 Allowed latitude . 15
15
3.8 Marker primitive .
.......................................................................................................... 15
38.1 Marker function
15
3.8.2 Marker attributes .
........................................................................................................ 16
3.83 Marker geometry
........................................................................................................... 16
3.8.4 Marker clipping
17
3.9 Text primitives .
17
3.9.1 Text functions .
3.92 Usage of text functions (compound text) . 17
3.93 Text attributes . 17
............................................................................................................. 19
3.9.4 Text geometry
3.9.5 Text clipping . 27
Text fonts and character sets . 28
3.9.6
28
3.9.7 Errors in TEXT OPEN state .
3.9.8 Allowed latitude . 28
3.10 Fill primitives . 29
3.10.1 Fill functions . 29
3.10.2 Fill attributes . 29
3.103 Fill geometry . 31
3.10.4 Fill clipping . 32
Closed figures . 33
3.10.5
37
3.10.6 Allowed latitude .
3.11 Image primitive . 37
3.11.1 Image function . 38
0 ISO/IEC 1991
All rights reserved. No part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission
in writing from the publisher.
ISO/IEC Copyright Office l Case postale 56 l CH-1211 Geneve 20 l Switzerland
Printed in Switzerland
ii
---------------------- Page: 2 ----------------------
ISO/IEC 9636-3 : 1991 (E)
3.11.5 Allowed latitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.12 Generalized Drawing Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.12.1 GDP function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
. . . . . . . . . . . . . .*.*.
3.13 39
~wiry
State lists and description tables . . . . . . . . .*.*.
3.13.1 39
3.14 Retrieval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.14.1 Retrieval of text extent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4 Interactions with other parts of ISO/IEC 9636 . 41
4.1 Interactions with all other parts of ISO/IEC 9636 . 41
4.1.1 Character set and font selection . 41
4.2 Interactions with ISO/IEC 9636-2 (Control) . 41
4.2.1 Effect of INITIALIZE . 41
4.2.2 Effect of VDC Extent and VDC Type . 41
4.3 Interactions with ISO/IEC 96364 (Segments) . 42
4.3.1 CLIP RECTANGLE, CLIP INDICATOR, and COPY SEGMENT . 42
4.3.2 LINE WIDTH and EDGE WIDTH . 42
4.3.3 MARKER SIZE . 42
4.3.4 PICK IDENTIFIER . 42
4.3.5 Dynamic modification . 42
4.3.6 Segment open state . 42
4.4 Interactions with ISO/IEC 9636-5 (Input) . 43
4.5 Interactions with ISO/IEC 9636-6 (Raster) . 43
4.5.1 State related restrictions . 43
Interior style BITMAP . 43
4.5.2
Drawing modes . 43
4.53
................................................................................................................. 44
5 Abstract specification of functions
Introduction . 44
5.1
5.1.1 Data types employed . 44
Graphic primitive functions . 44
5.2
POLYLINE . 44
5.2.1
.............................................................................................. 45
5.2.2 DISJOINT POLYLINE
.......................................................................................
5.2.3 CIRCULAR ARC 3 POINT 45
5.2.4 CIRCULAR ARC CENTRE . 45
CIRCULAR ARC CENTRE REVERSED . 46
5.2.5
ELLIPTICAL ARC . 47
5.2.6
.............................................................................................. 47
5.2.7 CONNECTING EDGE
POLYMARKER . 48
5.2.8
48
5.2.9 TEXT .
................................................................................................
5.2.10 RESTRICTED TEXT 49
APPEND TEXT . 50
5.2.11
50
5.2.12 POLYGON .
5.2.13 POLYGON SET . 51
5.2.14 RECTANGLE . 51
5.2.15 CIRCLE . 52
5.2.16 CIRCULAR ARC 3 POINT CLOSE . 52
5.2.17 CIRCULAR ARC CENTRE CLOSE . 53
5.2.18 ELLIPSE . 53
5.2.19 ELLIPTICAL ARC CLOSE . 54
5.2.20 CELL ARRAY . 54
GENERALIZED DRAWING PRIMITIVE (GDP) . 55
5.2.21
5.3 Attribute functions . 56
LINE BUNDLE INDEX . 56
5.3.1
................................................................................................................ 56
5.3.2 LINE TYPE
............................................................................................................ 57
5.3.3 LINE WIDTH
5.3.4 LINE COLOUR . 57
5.3.5 LINE CLIPPING MODE . 57
5.3.6 MARKER BUNDLE INDEX . 57
5.3.7 MARKER TYPE . 58
5.3.8 MARKER SIZE . 58
5.3.9 MARKER COLOUR . 58
MARKER CLIPPING MODE . 59
5.3.10
.0.
111
---------------------- Page: 3 ----------------------
ISO/lEC 9636-3 : 1991 (E)
59
...........................................................................................
53.11 TEXT BUNDLE INDEX
59
.................................................................................................
5.3.12 TEXT FONT INDEX
59
....................................................................................................
5.3.13 TEXT PRECISION
....................................................................
60
5.3.14 CHARACTER EXPANSION FACTOR
60
..........................................................................................
5.3.15 CHARACTER SPACING
60
.........................................................................................................
53.16 TEXT COLOUR
60
............................................................................................
53.17 CHARACTER HEIGHT
61
................................................................................
53.18 CHARACTER ORIENTATION
61
...............................................................................................................
53.19 TEXT PATH
61
.................................................................................................
53.20 TEXT ALIGNMENT
62
.......................................................................................
53.21 CHARACTER SET INDEX
..............................................................
62
53.22 ALTERNATE CHARACTER SET INDEX
62
..................................................................
53.23 CHARACTER CODING ANNOUNCER
63
.............................................................................................
53.24 FILL BUNDLE INDEX
63
....................................................................................................
53.25 INTERIOR STYLE
63
...........................................................................................................
53.26 FILL COLOUR
63
.........................................................................................................
53.27 HATCH INDEX
64
.....................................................................................................
53.28 PATTERN INDEX
64
........................................................................................
53.29 FILL REFERENCE POINT
64
.........................................................................................................
5330 PATTERN SIZE
65
...........................................................................................
5331 EDGE BUNDLE INDEX
65
...............................................................................................................
5332 EDGE TYPE
65
5333 EDGE WIDTH .
66
5334 EDGE COLOUR .
66
..........................................................................................
EDGE CLIPPING MODE
5335
66
EDGE VISIBILITY .
5336
66
. . . . . . . . . . .*.
5.4 General attribute and output control functions
66
CLIP INDICATOR .
5.4.1
67
CLIP RECTANGLE .
5.4.2
67
..................................................................
LINE WIDTH SPECIFICATION MODE
5.43
67
................................................................
EDGE WIDTH SPECIFICATION MODE
5.4.4
68
...............................................................
MARKER SIZE SPECIFICATION MODE
5.45
68
................................................................................
COLOUR SELECTION MODE
5.4.6
68
.....................................................................................
COLOUR VALUE EXTENT
5.4.7
.......................................................................................
69
BACKGROUND COLOUR
5.408
69
AUXILIARY COLOUR .
5.4.9
69
.....................................................................................................
5.4.10 TRANSPARENCY
70
......................................................................................................
5.4.11 COLOUR TABLE
70
........................................................................................
5.4.12 LINE REPRESENTATION
70
................................................................................
5.4.13 MARKER REPRESENTATION
71
......................................................................................
5.4.14 TEXT REPRESENTATION
72
........................................................................................
5.4.15 FILL REPRESENTATION
72
......................................................................................
5.4.16 EDGE REPRESENTATION
73
................................................................
5.4.17 DELETE BUNDLE REPRESENTATION
73
.......................................................................................
5.4.18 ASPECT SOURCE FLAGS
74
....................................................................................................
5.4.19 PATTERN TABLE
74
..................................................................................................
5.4.20 DELETE PATTERN
75
................................................................................................................
5.4.21 FONT LIST
75
...........................................................................................
CHARACTER SET LIST
5.4.22
75
............................................................................
SAVE PRIMITIVE ATTRIBUTES
5.4.23
76
....................................................................
RESTORE PRIMITIVE ATTRIBUTES
5.4.24
77
.....................................................
DELETE PRIMITIVE ATTRIBUTE SAVE SET
5.4.25
77
.........................................................................................................
5.4.26 BEGIN FIGURE
77
.............................................................................................................
5.4.27 END FIGURE
78
...........................................................................................................
5.4.28 NEW REGION
78
55 Retrieval functions .
78
.................................................................................................
5.5.1 GET TEXT EXTENT
80
.................................................................................................................................
6 Output inquiry functions
80
6.1 Introduction .
80
...................................................................................................
6.1.1 Data types employed
80
.................................................................................
6.1.2 Validity of returned information
1v
---------------------- Page: 4 ----------------------
ISO/IEC 9636-3 : 1991 (E)
............................................................................................... 80
Primitive support description table
6.2
INQUIRE PRIMITIVE SUPPORT LEVELS . 80
6.2.1
......................................................................................... 81
6.2.2 LOOKUP GDP SUPPORT
.................................................................................. 81
6.23 INQUIRE GDP ATTRIBUTES
81
Line description table .
63
INQUIRE LINE CAPABILITY . 81
6.3.1
INQUIRE LIST OF AVAILABLE LINE TYPES . 81
6.3.2
INQUIRE LIST OF AVAILABLE SCALED LINE WIDTHS . 82
6.3.3
Marker description table . 82
6.4
.........................................................................
6.4.1 INQUIRE MARKER CAPABILITY 82
6.4.2 INQUIRE LIST OF AVAILABLE MARKER TYPES . 82
INQUIRE LIST OF AVAILABLE SCALED MARKER SIZES . 82
6.4.3
....................................................................................................................
Text description table 83
6.5
6.5.1 INQUIRE TEXT CAPABILITY . 83
........................................ 83
6.5.2 INQUIRE LIST OF AVAILABLE CHARACTER SETS
................................................... 83
6.5.3 INQUIRE LIST OF AVAILABLE TEXT FONTS
INQUIRE FONT. CAPABILITIES . 84
6.5.4
........ 84
6.5.5 INQUIRE LIST OF AVAILABLE CHARACTER EXPANSION FACTORS
............................... 84
6.5.6 INQUIRE LIST OF AVAILABLE CHARACTER SPACINGS
INQUIRE LIST OF AVAILABLE CHARACTER HEIGHTS . 85
6.5.7
85
INQUIRE LIST OF AVAILABLE CHARACTER ORIENTATIONS .
6.5.8
Fill description table . 85
6.6
INQUIRE FILL CAPABILITY . 85
6.6.1
.............................................. 86
6.6.2 INQUIRE LIST OF AVAILABLE HATCH STYLES
86
6.7 Edge description table .
............................................................................... 86
6.7.1 INQUIRE EDGE CAPABILITY
86
INQUIRE LIST OF AVAILABLE EDGE TYPES .
6.7.2
INQUIRE LIST OF AVAILABLE SCALED EDGE WIDTHS . 87
6.7.3
................................................................................................... 87
6.8 Output control description table
......................................................................... 87
6.8.1 INQUIRE COLOUR CAPABILITY
....................................................................... 87
6.8.2 INQUIRE CIE CHARACTERISTICS
6.8.3 INQUIRE MAXIMUM NUMBER OF SIMULTANEOUSLY SAVED
.................................................................................................... 87
ATTRIBUTE SETS
88
6.8.4 INQUIRE ARRAY OF SUPPORTED CHARACTER CODING ANNOUNCERS
88
6.9 Line attribute state list .
88
6.9.1 INQUIRE LINE ATTRIBUTES .
........................................................ 88
6.9.2 INQUIRE LIST OF LINE BUNDLE INDICES
88
6.9.3 INQUIRE LINE REPRESENTATION .
89
6.10 Marker attribute state list .
........................................................................ 89
6.10.1 INQUIRE MARKER ATTRIBUTES
................................................ 89
6.10.2 INQUIRE LIST OF MARKER BUNDLE INDICES
.............................................................. 89
6.10.3 INQUIRE MARKER REPRESENTATION
90
6.11 Text attribute state list .
90
6.11.1 INQUIRE TEXT ATTRIBUTES .
....................................................... 90
6.11.2 INQUIRE LIST OF TEXT BUNDLE INDICES
.................................................................... 90
6.11.3 INQUIRE TEXT REPRESENTATION
91
Fill attribute state list .
6.12
INQUIRE FILL ATTRIBUTES . 91
6.12.1
....................................................................... 91
6.12.2 INQUIRE PATTERN DIMENSIONS
................................................................................................ 91
6.12.
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.