ISO/IEC 9636-6:1991
(Main)Information technology — Computer graphics — Interfacing techniques for dialogues with graphical devices (CGI) — Functional specification — Part 6: Raster
Information technology — Computer graphics — Interfacing techniques for dialogues with graphical devices (CGI) — Functional specification — Part 6: Raster
Describes those functions of the interface concerned with creating, modifying, retrieving, and displaying portions of an image stored as pixel data. Annexes A and B form an integral part of this standard. Annexes C, D, E and F are for information only.
Technologies de l'information — Infographie — Interfaces pour l'infographie — Spécifications fonctionnelles — Partie 6: Raster
General Information
Standards Content (Sample)
INTERNATIONAL ISOIIEC
STANDARD
First edition
1991-12-15
Information technology - Computer graphics -
Interfacing techniques for dialogues with
graphical devices (CGI) - Functional
specification -
Part 6:
Raster
Technologies de I’information - lnfographie - Interfaces pour
l’infographie - Spkcifica tions font tionnelles -
Partie 6: Raster
pp_-mp_______I_F -___-----_._-______-------- ---a-_ _-_____,-.
BP
-~- ._ _---
--
___- ---
^.--
--
=r --
-. 5=
-
zz
=
=
T 1
= 5
z
5 g
Z
=
=
XL =
- =
Reference number
E
=
x
ZZZ=
ZZZZZ
;@ --- ---
-.- -- ---
ISOA EC 9636-6: 1991 (E)
ISO/IEC 9636-6 : 1991 (E)
Contents Page
Foreword . iv
V
Introduction .
1 scope . 1
2 Normative references . 2
3 Raster concepts . 3
3.1 Introduction . 3
3.2 Architectural concepts . 3
3.2.1 Bitmaps . 3
3.2.2 Displayable bitmaps . 3
3.23 Non-displayable bitmaps . 4
3.2.4 Bitmap identifiers . 5
33 Control of bitmap manipulations . 5
33.1 The drawing bitmap .
33.2 Two-operand bitblts .
333 Tile three-operand bitblt .
33.4 Bitmaps regions used as patterns .
33.5 Drawing modes .
33.6 Transparency .
....................................................... 7
33.7 Raster operation functions with mapped bitmaps
33.8 Rendering in full-depth bitmaps . 7
33.9 Rendering in mapped bitmaps . 7
3.4 Pixel array .
.................................................................................. 8
3.5 The VDC-to-Device Mapping and clipping
................................................ 8
35.1 Determining the position and size of created bitmaps
Clipping . 9
3.5.2
3.6 .
Insuti
4 Interactions with other parts of ISO/IEC 9636 . 11
................................................................................ 11
4.1 heractions with ISO/IEC 9636-2 (Control)
.................................................................................. 11
4.2 Interactions with ISO/IEC 9636-3 (Output)
43 Interactions with ISO/IEC 96364 (Segments) . 11
4.4 Interactions with ISO/IEC 9636-5 (Input) .
5 Abstract specification of functions
.................................................................................................................
5.1 Introduction . 12
Data types employed . 12
5.1.1
5.1.2 Validity of returned information .
5.2 Raster control functions .
............................................................................ 12
5.2.1 GET NEW BITMAP IDENTIFIER
5.2.2 CREATE BITMAP .
5.23 DELETE BITMAP .
5.2.4 DRAWING BITMAP .
5.2.5 DISPLAY BITMAP .
...................................................... 15
5.2.6 MAPPED BITMAP FOREGROUND COLOUR
..................................................... 15
5.2.7 MAPPED BITMAP BACKGROUND COLOUR
TRANSPARENT COLOUR
5.2.8 .
.............................................................................................................. 16
53 Raster attribute functions
.................................................................................................... 16
53.1 DRAWING MODE
............................................................................................................ 17
53.2 FILLBITMAP
5.4 Raster operation functions .
5.4.1 PIXEL ARRAY .
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
ISO/IEC 9636-6 : 1991 (E)
................................................................................................. 19
5.4.2 GET PIXEL ARRAY
GET PIXEL ARRAY DIMENSIONS . 20
5.43
.......................................................................... 20
SOURCE DESTINATION BITBLT
5.4.4
........................................................................... 21
TILE THREE OPERAND BITBLT
5.4.5
..................................................................................................................................
6 Raster inquiry functions
................................................................................................................................... 25
Introduction
6.1
Data types employed .
6.1.1
Validity of returned information . 25
6.1.2
................................................................................................................ 25
6.2 Raster description table
INQUIRE RASTER CAPABILITY . 25
6.2.1
INQUIRE LIST OF SUPPORTED DRAWING-MODE/TRANSPARENCY
6.2.2
PAIRS .
INQUIRE LIST OF SUPPORTED DRAWING-MODE-3nRANSPARENCY
6.2.3
PAIRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
.............................................................................................................................. 26
6.3 Raster state list
...................................................................................... 26
6.3.1 INQUIRE RASTER STATE
INQUIRE LIST OF NON-DISPLAYABLE BITMAP IDENTIFIERS . 26
6.3.2
INQUIRE LIST OF DISPLAYABLE BITMAP IDENTIFIERS . 27
6.3.3
............................................................................................................................ 27
6.4 Bitmap state list
...................................................................................... 27
6.4.1 INQUIRE BITMAP STATE
.......................................................................................................... 28
7 Raster description tables and state lists
Raster description table . 28
7.1
7.2 State lists . 29
7.2.1 Raster state list .
7.2.2 Bitmap state list . 29
Formal grammar of the functional specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Raster errors
Guidelines for CGI implementors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
List of BOOLEANOP class drawing-mode-3 values
Some raster operation examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Algorithmic explanation of raster operations . . . . . .~.
. . .
ill
ISO/IEC 9636-6 : 1991 (E)
Foreword
IS0 (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the
specialized system for worldwide standardization. National bodies that are members of IS0 or IEC participate in the
development of International Standards through technical committees established by the respective organization to deal with
particular fields of technical activity. IS0 and IEC technical committees collaborate in fields of mutual interest. Other
international organizations, governmental and non-governmental, in liaison with IS0 and IEC, also take part in the work.
In the field of information technology, IS0 and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft
International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as
an International Standard requires approval by at least 75 % of the national bodies casting a vote.
International Standard ISO/IEC 9636-6 was prepared by Joint Technical Committee ISODX J‘K 1, Information
technology.
ISOLEC 9636 consists of the following parts, under the general title Information technology - Computer graphics -
Inteqacing techniques for dialogues with graphical devices (CGI) - Functional specification:
- Part 1: Overview, profiles, and conformance
- Part 2: Control
-Part 3: Output
-Part 4: Segments
-Part 5: Input and echoing
- Part 6: Raster
Annexes A and B form an integral part of this part of ISO/IEC 9636. Annexes C, D, E, and F are for information only.
ISO/IEC 9636-6 : 1991 (E)
Introduction
This part of ISO/IEC 9636 describes the functions of the Computer Graphics Interface concerned with raster graphic specific
devices.
.ng, displaying and
The functional capability incorporated in this part of ISO/IEC 9636 is concerned with creating, manipulati
retri .eving information stored as pixel data below the CGI in a device independent, yet efficient manner.
The functionality described in this part of ISO/IEC 9636 pertains to Virtual Devices of class OUTPUT and OUTIN with
display type RASTER.
This page intentionally left blank
INTERNATIONAL STANDARD ISOllEC 9636-6 : 1991(E)
Information technology - Computer graphics -
Interfacing techniques for dialogu
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.