1、Reference numberISO/IEC 8632-1:1999(E)ISO/IEC 1999INTERNATIONALSTANDARDISO/IEC8632-1Second edition1999-12-15Information technology Computergraphics Metafile for the storage andtransfer of picture descriptioninformation Part 1:Functional specificationTechnologies de linformation Infographie Mtafichie
2、r de stockageet de transfert des informations de description dimages Partie 1: Description fonctionnelleAdopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard.Date of ANSI Approval: 10/12/00Published by American National Standards Institute,
3、25 West 43rd Street, New York, New York 10036Copyright 2002 by Information Technology Industry Council (ITI).All rights reserved.These materials are subject to copyright claims of International Standardization Organization (ISO), InternationalElectrotechnical Commission (IEC), American National Stan
4、dards Institute (ANSI), and Information Technology Industry Council(ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval system, withoutthe prior written permission of ITI. All requests pertaining to this standard should be submitted to I
5、TI, 1250 Eye Street NW,Washington, DC 20005.Printed in the United States of AmericaISO/IEC 8632-1:1999(E)PDF disclaimerThis PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall notbe edited unless the typefaces which are em
6、bedded are licensed to and installed on the computer performing the editing. In downloading thisfile, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in thisarea.Adobe is a trademark of Adobe Systems Incorporated.D
7、etails of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameterswere optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely eventthat a problem
8、relating to it is found, please inform the Central Secretariat at the address given below. ISO/IEC 1999All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronicor mechanical, including photocopying and microfilm
9、, without permission in writing from either ISO at the address below or ISOs member bodyin the country of the requester.ISO copyright officeCase postale 56 Gb7 CH-1211 Geneva 20Tel. + 41 22 749 01 11Fax + 41 22 734 10 79E-mail copyrightiso.chWeb www.iso.chPrinted in Switzerlandii ISO/IEC 1999 All ri
10、ghts reservedISO/IEC 8632-1:1999(E) ISO/IECiiiContents1 Scope12 Conformance.13 Normative references14 Termsan d definitions.34.1 Definitions35 Symbols and abbreviated terms116 Concepts126.1 Introduction .126.2 Delimiter elements 136.3 Metafile descriptor elements136.3.1 Identification146.3.2 Functio
11、nal capability.146.3.3 Default metafile state176.3.4 Fonts and character sets176.3.5 Picture directory226.4 Picture descriptor elements.226.4.1 Scaling mode.236.4.2 Colour selection mode236.4.3 Specification modes .236.4.4 VDC extent.236.4.5 CGM tailoring.246.4.6 Background colour.266.4.7 Device vie
12、wport control266.4.8 Representations266.4.9 Definable attributes.276.4.10 Application structure directory276.5 Control elements.276.5.1 VDC space and range.27Page ISO/IECISO/IEC 8632-1:1999(E)iv6.5.2 Clipping276.5.3 Save and restore primitive context.286.5.4 Compound clipping and shielding296.5.5 Ge
13、neralized text path326.5.6 Mitre limit.326.5.7 Transparent cell colour 326.6 Graphical primitive elements.326.6.1 Line elements346.6.2 Marker elements366.6.3 Text elements376.6.4 Filled-area elements386.6.5 Cell elements.396.6.6 Circular arc elements446.6.7 Elliptical elements.446.6.8 Hyperbolic arc
14、 element.446.6.9 Parabolic arc element.456.6.10 Spline curve elements496.6.11 Closed figures.516.6.12 Symbol elements.586.7 Attribute elements.586.7.1 Line attributes .606.7.2 Marker attributes.626.7.3 Text attributes .646.7.4 Filled-area attributes.876.7.5 Specification modes and transformation of
15、aspects906.7.6 Colour attributes.916.7.7 Pick identifier.936.7.8 Compound text path.936.7.9 Symbol Attributes.936.8 Escape elements.946.9 External elements .95ISO/IEC 8632-1:1999(E) ISO/IECv6.10 Segment elements.956.10.1 Introduction .956.10.2 Local and global segments956.10.3 Delimiting and naming
16、segments966.10.4 Segment attributes966.10.5 Copy segment and inheritance976.11 Metafile states1026.12 Registration .1136.13 Application Structure Elements.1136.13.1 Introduction .1136.13.2 Location of and access to Application Structures1146.13.3 Nesting of Application Structures.1146.13.4 Graphical
17、 Context of Application Structures.1146.13.5 Application Structure Attributes1146.13.6 Relationship between application structures and segments.1157 Abstract specification of elements1187.1 Introduction .1187.2 Delimiter elements 1207.2.1 BEGIN METAFILE1207.2.2 END METAFILE1217.2.3 BEGIN PICTURE1217
18、.2.4 BEGIN PICTURE BODY.1227.2.5 END PICTURE1227.2.6 BEGIN SEGMENT1227.2.7 END SEGMENT1237.2.8 BEGIN FIGURE 1237.2.9 END FIGURE1237.2.10 BEGIN PROTECTION REGION.1247.2.11 END PROTECTION REGION.1247.2.12 BEGIN COMPOUND LINE.1247.2.13 END COMPOUND LINE.124 ISO/IECISO/IEC 8632-1:1999(E)vi7.2.14 BEGIN C
19、OMPOUND TEXT PATH.1257.2.15 END COMPOUND TEXT PATH.1257.2.16 BEGIN TILE ARRAY1257.2.17 END TILE ARRAY1267.2.18 BEGIN APPLICATION STRUCTURE1277.2.19 BEGIN APPLICATION STRUCTURE BODY.1277.2.20 END APPLICATION STRUCTURE1277.3 Metafile descriptor elements1287.3.1 METAFILE VERSION.1287.3.2 METAFILE DESCR
20、IPTION.1287.3.3 VDC TYPE1287.3.4 INTEGER PRECISION .1297.3.5 REAL PRECISION1297.3.6 INDEX PRECISION 1297.3.7 COLOUR PRECISION1297.3.8 COLOUR INDEX PRECISION1307.3.9 MAXIMUM COLOUR INDEX1307.3.10 COLOUR VALUE EXTENT1307.3.11 METAFILE ELEMENT LIST.1317.3.12 METAFILE DEFAULTS REPLACEMENT .1327.3.13 FON
21、T LIST1327.3.14 CHARACTER SET LIST.1337.3.15 CHARACTER CODING ANNOUNCER .1337.3.16 NAME PRECISION.1347.3.17 MAXIMUM VDC EXTENT.1357.3.18 SEGMENT PRIORITY EXTENT.1357.3.19 COLOUR MODEL.1357.3.20 COLOUR CALIBRATION.1367.3.21 FONT PROPERTIES1387.3.22 GLYPH MAPPING1407.3.23 SYMBOL LIBRARY LIST.142ISO/IE
22、C 8632-1:1999(E) ISO/IECvii7.3.24 PICTURE DIRECTORY1427.4 Picture descriptor elements.1427.4.1 SCALING MODE 1427.4.2 COLOUR SELECTION MODE.1437.4.3 LINE WIDTH SPECIFICATION MODE.1437.4.4 MARKER SIZE SPECIFICATION MODE.1447.4.5 EDGE WIDTH SPECIFICATION MODE.1447.4.6 VDC EXTENT1457.4.7 BACKGROUND COLO
23、UR.1457.4.8 DEVICE VIEWPORT.1467.4.9 DEVICE VIEWPORT SPECIFICATION MODE1467.4.10 DEVICE VIEWPORT MAPPING.1477.4.11 LINE REPRESENTATION1477.4.12 MARKER REPRESENTATION1487.4.13 TEXT REPRESENTATION.1487.4.14 FILL REPRESENTATION 1497.4.15 EDGE REPRESENTATION1497.4.16 INTERIOR STYLE SPECIFICATION MODE150
24、7.4.17 LINE AND EDGE TYPE DEFINITION1507.4.18 HATCH STYLE DEFINITION1517.4.19 GEOMETRIC PATTERN DEFINITION.1527.4.20 APPLICATION STRUCTURE DIRECTORY1527.5 Control elements.1537.5.1 VDC INTEGER PRECISION.1537.5.2 VDC REAL PRECISION.1537.5.3 AUXILIARY COLOUR 1537.5.4 TRANSPARENCY 1547.5.5 CLIP RECTANG
25、LE.1547.5.6 CLIP INDICATOR.1557.5.7 LINE CLIPPING MODE1557.5.8 MARKER CLIPPING MODE.155 ISO/IECISO/IEC 8632-1:1999(E)viii7.5.9 EDGE CLIPPING MODE1567.5.10 NEW REGION.1567.5.11 SAVE PRIMITIVE CONTEXT.1567.5.12 RESTORE PRIMITIVE CONTEXT .1577.5.13 PROTECTION REGION INDICATOR1587.5.14 GENERALIZED TEXT
26、PATH MODE .1587.5.15 MITRE LIMIT.1587.5.16 TRANSPARENT CELL COLOUR1597.6 Graphical primitive elements.1597.6.1 POLYLINE1597.6.2 DISJOINT POLYLINE.1597.6.3 POLYMARKER.1607.6.4 TEXT.1607.6.5 RESTRICTED TEXT.1617.6.6 APPEND TEXT.1627.6.7 POLYGON1637.6.8 POLYGON SET1647.6.9 CELL ARRAY.1667.6.10 GENERALI
27、ZED DRAWING PRIMITIVE (GDP) .1687.6.11 RECTANGLE1687.6.12 CIRCLE.1687.6.13 CIRCULAR ARC 3 POINT1697.6.14 CIRCULAR ARC 3 POINT CLOSE1697.6.15 CIRCULAR ARC CENTRE.1727.6.16 CIRCULAR ARC CENTRE CLOSE.1727.6.17 ELLIPSE.1737.6.18 ELLIPTICAL ARC.1737.6.19 ELLIPTICAL ARC CLOSE.1747.6.20 CIRCULAR ARC CENTRE
28、 REVERSED1757.6.21 CONNECTING EDGE.1767.6.22 HYPERBOLIC ARC176ISO/IEC 8632-1:1999(E) ISO/IECix7.6.23 PARABOLIC ARC1777.6.24 NON-UNIFORM B-SPLINE 1777.6.25 NON-UNIFORM RATIONAL B-SPLINE.1787.6.26 POLYBEZIER .1787.6.27 POLYSYMBOL.1797.6.28 BITONAL TILE1797.6.29 TILE.1817.7 Attribute elements.1837.7.1
29、LINE BUNDLE INDEX1837.7.2 LINE TYPE1837.7.3 LINE WIDTH .1847.7.4 LINE COLOUR1847.7.5 MARKER BUNDLE INDEX 1857.7.6 MARKER TYPE1857.7.7 MARKER SIZE1867.7.8 MARKER COLOUR1867.7.9 TEXT BUNDLE INDEX.1867.7.10 TEXT FONT INDEX1877.7.11 TEXT PRECISION 1877.7.12 CHARACTER EXPANSION FACTOR.1887.7.13 CHARACTER
30、 SPACING1897.7.14 TEXT COLOUR.1897.7.15 CHARACTER HEIGHT.1897.7.16 CHARACTER ORIENTATION1907.7.17 TEXT PATH 1907.7.18 TEXT ALIGNMENT.1917.7.19 CHARACTER SET INDEX .1917.7.20 ALTERNATE CHARACTER SET INDEX.1927.7.21 FILL BUNDLE INDEX.1927.7.22 INTERIOR STYLE.1937.7.23 FILL COLOUR193 ISO/IECISO/IEC 863
31、2-1:1999(E)x7.7.24 HATCH INDEX1947.7.25 PATTERN INDEX.1947.7.26 EDGE BUNDLE INDEX1957.7.27 EDGE TYPE1957.7.28 EDGE WIDTH.1967.7.29 EDGE COLOUR .1967.7.30 EDGE VISIBILITY.1977.7.31 FILL REFERENCE POINT .1977.7.32 PATTERN TABLE1987.7.33 PATTERN SIZE1987.7.34 COLOUR TABLE1997.7.35 ASPECT SOURCE FLAGS19
32、97.7.36 PICK IDENTIFIER.2007.7.37 LINE CAP2007.7.38 LINE JOIN.2017.7.39 LINE TYPE CONTINUATION.2027.7.40 LINE TYPE INITIAL OFFSET.2027.7.41 TEXT SCORE TYPE.2037.7.42 RESTRICTED TEXT TYPE.2037.7.43 INTERPOLATED INTERIOR2047.7.44 EDGE CAP2057.7.45 EDGE JOIN.2067.7.46 EDGE TYPE CONTINUATION.2067.7.47 E
33、DGE TYPE INITIAL OFFSET.2077.7.48 SYMBOL LIBRARY INDEX2077.7.49 SYMBOL COLOUR2087.7.50 SYMBOL SIZE2087.7.51 SYMBOL ORIENTATION.2087.8 Escape elements.2097.8.1 ESCAPE2097.9 External elements .209ISO/IEC 8632-1:1999(E) ISO/IECxi7.9.1 MESSAGE 2097.9.2 APPLICATION DATA.2107.10 Segment elements.2107.10.1
34、 COPY SEGMENT .2107.10.2 INHERITANCE FILTER2117.10.3 CLIP INHERITANCE.2127.10.4 SEGMENT TRANSFORMATION.2127.10.5 SEGMENT HIGHLIGHTING.2137.10.6 SEGMENT DISPLAY PRIORITY2137.10.7 SEGMENT PICK PRIORITY.2137.11 Application structure descriptor elements.2147.11.1 APPLICATION STRUCTURE ATTRIBUTE.2148 Met
35、afile defaults2159 Profiles and conformance2199.1 Introduction .2199.1.1 Objectives2199.1.2 Scope2199.1.3 Concept and purpose of profiles for CGM2199.1.4 Purpose of the Model Profile .2209.2 Conformance.2209.2.1 Conformance of profiles.2209.2.2 Conformance of metafiles2219.2.3 Conformance of metafil
36、e generators 2219.2.4 Conformance of metafile interpreters.2229.3 Criteria for designing profiles2229.3.1 Criteria on the profile in its entirety 2229.3.2 Criteria for the technical content of the profile2229.4 Form and format of a profile2229.5 Profile rules, proforma, and model profile .2239.5.1 O
37、verview 2239.5.2 General principles.224 ISO/IECISO/IEC 8632-1:1999(E)xii9.5.3 Metafile rules.2269.5.4 Multi-element rules .2269.5.5 Individual element rules.2319.5.6 Generator implementation requirements .2319.5.7 Interpreter implementation requirements.2339.5.8 PPF Tables.236Annex A (normative) For
38、mal grammar of the functional specification of version 1 metafiles.238A.1 Introduction 238A.2 Notation used .238A.3 Detailed grammar.238A.3.1 Metafile structure238A.3.2 Metafile descriptor elements239A.3.3 Picture descriptor elements.240A.3.4 Control elements.241A.3.5 Graphical elements.241A.3.6 Att
39、ribute elements.243A.3.7 Escape elements.246A.3.8 External elements246A.4 Terminal symbols.247Annex B (normative) Formal Grammar of the functional specification of version 2 metafiles.251B.1 Introduction 251B.2 Notation used .251B.3 Detailed grammar.251B.3.1 Metafile structure251B.3.2 Metafile descr
40、iptor elements252B.3.3 Picture descriptor elements.254B.3.4 Control elements.256B.3.5 Graphical elements.256B.3.6 Attribute elements.259B.3.7 Closed figure element.261B.3.8 Escape elements.262ISO/IEC 8632-1:1999(E) ISO/IECxiiiB.3.9 External elements262B.3.10 Segment elements.262B.4 Terminal symbols.
41、264Annex C (normative) Formal grammar of the functional specification of version 3 metafiles.271C.1 Introduction.271C.2 Definitions.271C.2.1 Notation Used271C.2.2 Structured Data Records271C.3 Detailed Grammar 272C.3.1 Metafile structure 272C.3.2 Metafile descriptor elements276C.3.3 Picture descript
42、or elements.279C.3.4 Control elements.281C.3.5 Graphical elements.282C.3.6 Attribute elements.285C.3.7 Escape elements.289C.3.8 External elements289C.3.9 Segment elements.290C.4 Terminal symbols.292Annex D (informative) Guidelines for metafile generators and interpreters.300D.1 Introduction.300D.2 E
43、rrors and degeneracies.300D.2.1 Syntax errors.301D.2.2 Geometrically degenerate primitives301D.2.3 Mathematical singularities and ambiguities.302D.3 General guidelines.302D.3.1 Indexes.302D.3.2 Colour model.302D.3.3 Order of metafile descriptor elements305D.3.4 Unsatisfied references305D.4 Guideline
44、s for element classes.305 ISO/IECISO/IEC 8632-1:1999(E)xivD.4.1 Delimiter elements305D.4.2 Metafile descriptor elements305D.4.3 Picture descriptor elements.305D.4.4 Control elements.306D.4.5 Graphical primitive elements.306D.4.6 Attribute elements.309D.4.7 Escape elements.311D.4.8 External elements3
45、11D.4.9 Segment elements 311Annex E (informative) Guidelines for private encodings312Annex F (informative) Reference models313Annex G (informative) Conversions between CIEXYZ reference colour space b) to facilitate transfer of picture information between different graphical software system;c) to ena
46、ble picture information to be transferred between graphical devices;.d) to enable picture information to be transferred between different computer graphics installations.0.3 Design requirementsTo reach these objectives, a number of design principles were adopted:a) The metafile should provide a suit
47、able set of elements for the transfer of a wide range of pictorial information.b) The metafile should address the more usual and essential features found on graphical devices directly andshould provide access to less common facilities via an escape mechanism.c) The design of the metafile should not
48、preclude extension of ISO/IEC 8632 at a later stage to cover facilitiesbeyond those included in this version of the Standard. It should also not preclude further extensions to supportfuture standards.d) The metafile should be usable from GKS (Graphical Kernel System ISO 7942) with both metafile inpu
49、t andmetafile output functions. It should include the capability to support ISO 7942 (GKS) static picture capture.e) ISO/IEC 8632 should address the needs of different applications that have conflicting requirements for size ofmetafile, speed of generation and interpretation, readability, editability and ease of transfer through differenttransport mechanisms.0.4 Design criteriaThe requirements of 0.3 were used to formulate the following criteria which were used to decide between differentdesign possibilities.a) Completeness: In any area of ISO/IEC 8632, the