1、NSI 1x124 72 u 072415a 0529033 for Information Technology - Computer Graphics - Metafile for the Storage an of Picture Description Info Part 3: Binary Encoding - Amendment 2: Application Structuring Extensions 583 ANSI1ISO1IEC 8632-3-19921 i AM 2-1995 d Transfer rmation - -AIA American National Stan
2、dards Institute 77 West 42nd Street New York, New York 70036 ANSI/ISO/IEC 8632-3-1 9921AM 2-1 995 American National Standard for Information Technology - Computer Graphics - Metafile for the Storage and Transfer of Picture Description Information - Part 3: Binary Encoding - Amendment 2: Application
3、Structuring Extensions Secretariat Information Technology Industry Council Approved January 12, 1996 American National Standards Institute, Inc. ANSI 8632-3 72 0724150 0529033 35b American National Standard Approval of an American National Standard requires verification by ANSI that the requirements
4、 for due process, consensus, and other criteria for approval have been met by the standards developer. Consensus is established when, in the judgment of the ANSI Board of Standards Review, substantial agreement has been reached by directly and materially affected interests. Substantial agreement mea
5、ns much more than a simple majority, but not necessarily unanimity. Consensus requires that all views and objections be considered, and that a concerted effort be made toward their resolution. The use of American National Standards is completely voluntary; their existence does not in any respect pre
6、clude anyone, whether he has approved the standards or not, from manufacturing, marketing, purchasing, or using products, processes, or procedures not conforming to the standards. The American National Standards Institute does not develop standards and will in no circumstances give an interpretation
7、 of any American National Standard. Moreover, no person shall have the right or authority to issue an interpretation of an American National Standard in the name of the American National Standards Institute. Requests for interpretations should be addressed to the secretariat or sponsor whose name ap
8、pears on the title page of this standard. CAUTION NOTICE: This American National Standard may be revised or withdrawn at any time. The procedures of the American National Standards Institute require that action be taken periodically to reaffirm, revise, or withdraw this standard. Purchasers of Ameri
9、can National Standards may receive current information on all standards by calling or writing the American National Standards Institute. Published by American National Standards Institute 11 West 42nd Street, New York, New York 10036 Copyright O1 996 by American National Standards Institute All righ
10、ts reserved. No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without prior written permission of the publisher. Printed in the United States of America APS2C396124 ANSI b32-3 92.H 0724350 0529034 292 = Foreword (This foreword is not part of
11、American National Standard ANSI/ISO/IEC 8632-3-1 992/AM 2-1 995. This document is identical to ISO/IEC 8632-3: 1992/Amd. 2: 1995 and the following three paragraphs are the original foreword as it appeared in that document.) IS0 (the International Organization for Standardization) and IEC (the Intern
12、ational 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 fie
13、lds of technical activity. IS0 and IEC technical commit- tees collaborate in fields of mutual interest. Other international organiza- tions, 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 establishe
14、d a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopt- ed 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. Amendment 2 to Intern
15、ational Standard ISO/IEC 8632-3 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 24, Computer graphics and image processing. Requests for interpretation, suggestions for improvement or addenda, or defect reports are welcome. They should be sent to the
16、X3 Secretariat, Information Technology Industry Council (ITI), 1250 Eye Street, NW, Suite 200, Washington, DC 20005. This standard was processed and approved for submittal to ANSI by Accredited Standards Committee on Information Technology, X3. Committee approval of the standard does not necessarily
17、 imply that all committee members voted for its approval. At the time it approved this standard, the X3 Committee had the following members: James D. Converse, Chair Donald C. Loughry, Vice-Chair Kate McMillan, Secretary Organization Represented Name of Representative AMP, Inc. Edward Kelly Apple Co
18、mputer, Inc. . David K. Michael AT there are 9 classes. Table 2 - List of element class codes Class O 1 2 3 4 5 6 7 8 9 10-15 Type of Elements Delimiter Elements Metafile Descriptor elements Picture Descriptor elements Control elements Graphical Rimitive elements Attribute elements Escape elements E
19、xtemai elements Segment Control and Segment Attribute elements Application Structure Descriptor elements 1 Reserved for future standardization STRUCTURE BEGIN APPLICATION STRUCURE BODY END APPLICATION STRUrnRE BS+BE SR,SR, 0,l 71 7.2 Delimiter elements Add the following entries at the end of Table 3
20、, page 19: Add the following their existence does not in any respect preclude anyone, whether he has approved the standards or not, from manufacturing, marketing, purchasing, or using products, processes, or procedures not conforming to the standards. The American National Standards Institute does n
21、ot develop standards and will in no circumstances give an interpretation of any American National Standard. Moreover, no person shall have the right or authority to issue an interpretation of an American National Standard in the name of the American National Standards Institute. Requests for interpr
22、etations should be ad- dressed to the secretariat or sponsor whose name appears on the title page of this standard. CAUTION NOTICE: This American National Standard may be revised or withdrawn at any time. The procedures of the American National Standards Institute require that action be taken period
23、ically to reaffirm, revise, or withdraw this standard. Purchasers of American National Standards may receive current information on all standards by calling or writing the American National Standards Institute. Published by American National Standards Institute 11 West 42nd Street, New York, New Yor
24、k 10036 Copyright Q 1995 by American National Standards Institute All rights reserved. No pari of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without prior written permission of the publisher. Printed in the United States of America ANSI 8632-3 92
25、= 0724350 0527368 771 Foreword (This foreword is not part of American National Standard ANSI/ISO/IEC 8632-3-1 992/AM 1-1 994. This document is identical to ISO/IEC 8632- 3:1992/Amd. 1 :I994 and the following three paragraphs are the original foreword as it appeared in that document.) IS0 (the Intern
26、ational 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 establish
27、ed by the respective organization to deal with particular fields of technical activity. IS0 and IEC technical commit- tees collaborate in fields of mutual interest. Other international organiza- tions, governmental and non-governmental, in liaison with IS0 and IEC, also take part in the work. In the
28、 field of information technology, IS0 and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopt- ed by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75%
29、 of the national bodies casting a vote. Amendment 1 to International Standard ISO/IEC 8632-3:1992 was pre- pared by Joint Technical Committee ISO/IEC JTC 1, information technolo- gy, Subcommittee 24, Computer graphics and image processing. Requests for interpretation, suggestions for improvement or
30、addenda, or defect reports are welcome. They should be sent to the X3 Secretariat, Information Technology Industry Council, 1250 Eye Street, NW, Suite 200, Washington, DC 20005. This standard was processed and approved for submittal to ANSI by Accredited Standards Committee on Information Technology
31、, X3. Committee approval of the standard does not necessarily imply that all committee members voted for its approval. At the time it approved this standard, the X3 Committee had the following members: James D. Converse, Chair Donald C. Loughry, Vice-Chair Joanne Flanagan, Secretary Organization Rep
32、resented Name of Representative American Nuclear Society Geraldine C. Main Sally Hartzell (Alt.) AMP, Inc. Edward Kelly Charles Brill (Alt.) Apple Computer, Inc. . Karen Higginbottom David K. Michael (Alt.) AT or, with specific information. It is possible that specific information for some items may
33、 be too much to fit into the table space provided, In this case, the table entry shall specify (assuming that this is row T.n.m), “see Attachment n.m“, and the specification shall be put into an attachment labelled “Attachment n.m“. Profile authors shall complete all required information in the temp
34、late, column 2 of the PPF tables. Profiles may contain any other specifications, parameter restrictions, etc., unless explicitly prohibited by the rules of this clause and the PPF tables. 3 ANSI 8632-3 92 0724150 0527173 039 = ANSI/ISO/IEC 8632-3-1 992JAM 1-1994 4 ANSI 8632-3 92 0724350 0527374 T75
35、w QISOIIEC ci rr, 8 s“ 3 .- o e c n. ANSI/ISO/IEC 8632-3-1992lAM 1-1994 ru rr, L O s“ 5 ANSI 8632-3 92 m 0724150 0527375 903 m ANSI/ISO/IEC 8632-3-1 992lAM 1-1 994 U 6 a1so/JEc ANSI 8632-3 72 0724350 0527376 848 o I I ANSI/ISO/IEC 8632-3-1992/AM 1-1994 7 1 ANSIIISOIIEC 8632-3-1992 for Information Te
36、chnology - Computer Graphics - Metafile for the Storage and of Picture Description Infon Part 3: Binary Encoding Transfer nation - -AIA American National Standards institute 1 11 West 42nd Street New York, New York 10036 American Nat i on al Approval of an American National Standard requires verific
37、ation by ANSI that the requirements for due process, consensus, and other criteria for approval have been met by the standards developer. Standard Consensus is established when, in the judgment of the ANSI Board of Standards Review, substantial agreement has been reached by directly and materially a
38、ffected interests. Substantial agreement means much more than a simple majority, but not necessarily unanimity. Consensus requires that all views and objections be considered, and that a concerted effort be made toward their resolution. The use of American National Standards is completely voluntary;
39、 their existence does not in any respect preclude anyone, whether he has approved the standards or not, from manufacturing, marketing, purchasing, or using products, processes, or procedures not conforming to the standards. The American National Standards Institute does not develop standards and wil
40、l in no circumstances give an interpretation of any American National Standard. Moreover, no person shall have the right or authority to issue an interpretation of an American National Standard in the name of the American National Standards Institute. Requests for interpretations should be ad- dress
41、ed to the secretariat or sponsor whose name appears on the title page of this standard. CAUTION NOTICE: This American National Standard may be revised or withdrawn at any time. The procedures of the American National Standards Institute require that action be taken periodically to reaffirm, revise,
42、or withdraw this standard. Purchasers of American National Standards may receive current information on all standards by calling or writing the American National Standards Institute. Published by American Nat Ional Stan dards I nst i t Ute 11 West 42nd Street, New York, New York 10036 Copyright O1 9
43、92 by ISO/IEC All rights reserved. No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without prior written permission of the publisher. Printed in the United States of America APS1.5C994175 - ANSI 8632-3 92 m 0724150 0527086 806 m ANSI/ISO/IEC
44、 8632-3-1 992 American National Standard for Information Technology - Computer Graphics - Metafile for the Storage and Transfer of Picture Description Information - Part 3: Binary Encoding Secretariat Computer and Business Equipment Manufacturers Association Approved July 18, 1994 American National
45、Standards Institute, Inc. ANSI 8632-3 92 O724350 0527087 742 COhTENTS 1scope 1 2 Normative references . 2 3 Notational conventions . 3 4 Overailstructure . 4 4.1 General form of metafile . 4 4.2 General form of pictures . 4 4.3 General structure of the binary metafile 4 4.4 Structure of the command
46、header 5 5 Primitive data forms 5.1 Signed integcr . 5.1.1 Signed integer at 8-bit precision . 5.1.2 Signed integer at 16-bit precision . 5.1.3 Signed integer at 24-bit precision . 5.1.4 Signed integer at 32-bit precision . 5.2 Unsigned integer 5.2.1 Unsigned integers at 8-bit precision 5.2.2 Unsign
47、ed integers at 16-bit precision 5.2.3 Unsigned integers at 24-bit precision 5.2.4 Unsigned integers at 32-bit precision 5.3 Character 5.4 Fixed point real 5.4.1 Fixed point red at 32-bit precision . 5.4.2 Fixed point red at 64-bit precision . 5.4.3 Vdueoffixcdpoint reals . 5.5 Floating point . 5.5.1
48、 Floating point real at 32-bit precision 5.5.2 Floating point real at 64-bit precision 6 Representation of abstract parameter types . . . 8 . 8 . 8 . 8 . 9 . 9 . 9 . 9 . 9 . 9 . 10 . 10 . 10 . 10 . IO . 11 . II . 12 . 12 . 13 11 ANSI 8632-3 92 9 0724350 0527088 689 9 7 Representation of each element
49、 18 7.1 Method of presentation . 18 7.3 Metafile descriptor elements . 21 7.4 Picture descriptor elements 28 7.6 Graphical primitive elements . 36 7.7 Attribute elements 43 7.10 Segment control and segment attribute elements . 54 7.2 Delimiter elements 19 . 7.5 Control elements 33 . . 7.8 Escape element 52 7.9 External elements 53 8Defaults 58 9 Conformance 59 A Formalgrammar 60 . . B Examples . B.l Example 1 : BEGIN METAFILE Example 1 B.2 Example 2 : BEGIN PICTURE Test . B.4 Example 4 : TEXT Hydrogen at O. 1