ISO/IEC 9636-2:1991
(Main)Information technology — Computer graphics — Interfacing techniques for dialogues with graphical devices (CGI) — Functional specification — Part 2: Control
Information technology — Computer graphics — Interfacing techniques for dialogues with graphical devices (CGI) — Functional specification — Part 2: Control
Describes those functions of the interface concerned with virtual device management, coordinate space control, and error control. Annexes A and B form an integral part of this standard. Annex C is for information only.
Technologies de l'information — Infographie — Interfaces pour l'infographie — Spécifications fonctionnelles — Partie 2: Contrôle
General Information
Standards Content (Sample)
ISO/IEC
INTERNATIONAL
STANDARD
First edition
1991-12-15
Information technology - Computer graphics -
Interfacing techniques for dialogues with
graphical devices (CGI) - Functional
specification -
Part 2:
Control
Technologies de /‘information - lnfographie - Interfaces pour
I’infographie - Spkcifications fonctionnelles -
Par-tie 2: Contr6le
_-____I__-_____ _.____ -_p_-I_p-
--
-_------ --- ~__. ._- .__-_-
--- __- ~- - .-
Reference number
-- -- _--- .----
I __------.--~-- ___._ ----_-_ _- - - ISOA EC 9636-2: 1991 (E)
.._ - --
ISO/IEC 9636-2 : 1991 (E)
Contents Page
Foreword
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
V
1 scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Normative references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Concepts .
3.1
Introduction . 3
3.2
Virtual Device management . 3
3.2.1 Device control . 3
3.2.2 Drawing surface . 3
3.23
Deferral mode . 4
3.2.4 Serial synchronous interface
....................................................................................... 4
33 Coordinate space concepts . . 4
33.1 The Virtual Device coordinate system 4
.......................................................................
3.3.2 Device coordinates .
333 Device viewport .
33.4 VDC space and range .
33.5 VDC extent .
33.6 VDC tailoring .
33.7 Drawing surface clipping .
3.4 Error control .
3.5 Miscellaneous control . 8
3.5.1 Numerical precision requirement specifications . 8
3.5.2 Escape concepts .
353 External functions . 9
3.6 Inquiry concepts . 9
4 Interactions with other parts of ISO/IEC 9636 . 11
4.1 Interactions with more than one part of ISO/IEC 9636 . 11
4.1.1 Virtual Device management . 11
4.1.2 Coordinate space control . 11
4.13 Error . 11
4.1.4 Miscellaneous . 11
5 Abstract specification of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*. 12
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1.1 Control functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1.2 Validity of returned information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.13 Data types employed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.2 Virtual Device management functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
502.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
INITIALIZE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
se202 TERMINATE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.23 EXECUTE DEFERRED ACTIONS
502.4 DEFERRAL MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2s PREPARE DRAWING SURFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2.6 END PAGE . 14
53 Coordinate space control functions . 14
53.1 VDCTYPE . 14
53.2 VDC INTEGER PRECISION REQUIREMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
333 VDC REAL PRECISION REQUIREMENTS . . . . . . . . . . . . . . . l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
53.4 VDC EXTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
535 DEVICE VIEWPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
0 iSO/IEC 1991
Ali 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 Genkve 20 l Switzerland
Printed in Switzerland
ii
ISO/IEC 9636-2 : 1991 (E)
DEVICE VIEWPORT SPECIFICATION MODE . 16
53.6
............................................................................. 16
53.7 DEVICE VIEWPORT MAPPING
DRAWING SURFACE CLIP RECTANGLE . 17
53.8
............................................................. 17
53.9 DRAWING SURFACE CLIP INDICATOR
5.4 Error functions .
DEQUEUE ERROR REPORTS . 17
5.4.1
............................................................................. 18
5.4.2 ERROR HANDLING CONTROL
.................................................................................................... 18
5.5 Miscellaneous control fhctions
INTEGER PRECISION REQUIREMENT . 18
55.1
REAL PRECISION REQUIREMENTS . 18
5.5.2
INDEX PRECISION REQUIREMENT . 19
55.3
505.4 COLOUR PRECISION REQUIREMENT . 19
5.5.5 COLOUR INDEX PRECISION REQUIREMENT . 20
CLIENT SPECIFIED NAME PRECISION REQUIREMENT . 20
5.5.6
MESSAGE . 20
55.7
55.8 ESCAPE .
GET ESCAPE . 21
55.9
STATE LIST INQUIRY SOURCE . 22
5.5.10
6 Control inquiry functions . 24
................................................................................................................................... 24
6.1 Introduction
Control inquiry functions . 24
6.1.1
Data types employed . 24
6.1.2
6.1.3 Validity of returned information . 24
6.2 Device Identity Description Table . 24
6.2.1 INQUIRE DEVICE IDENTIFICATION . 24
Output Device Description Table . 25
6.3
INQUIRE DEVICE DESCRIPTION . 25
63.1
Function and Profile Support Description Table . 25
6.4
6.4.1 LOOKUP FUNCTION SUPPORT . 25
6.4.2 LOOKUP PROFILE SUPPORT . 25
6.4.3 INQUIRE LIST OF PROFILE SUPPORT INDICATORS . 26
6.5 Control Description Table . 26
6.5.1 INQUIRE SUPPORTED VDC TYPES . 26
6.5.2 INQUIRE DEVICE CONTROL CAPABILITY . 26
6.5.3 LOOKUP ESCAPE SUPPORT .
......................................................................... 27
6.5.4 LOOKUP GET ESCAPE SUPPORT
6.6 Control State List . 27
6.6.1 INQUIRE CONTROL STATE . 27
6.6.2 INQUIRE CURRENT PRECISION REQUIREMENTS . 27
6.6.3 INQUIRE VDC TO DEVICE MAPPING . 28
6.6.4 INQUIRE ERROR HANDLING .
................................................
6.6.5 INQUIRE MISCELLANEOUS CONTROL STATE 29
7 CGI description tables and state lists . 30
Description tables . 30
7.1
State lists . 32
7.2
Formal Grammar of the Functional Specification . .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.