没有合适的资源?快使用搜索试试~ 我知道了~
首页微软emf文件格式详解
微软emf文件格式详解
4星 · 超过85%的资源 需积分: 50 113 下载量 197 浏览量
更新于2023-07-05
4
收藏 7.8MB PDF 举报
文件格式 EMF (Enhanced MetaFile) ——是在印刷工业中应用与Windows操作系统的文件格式。实际上EMF是原始WMF(Windows metafile)格式的32位版本。EMF格式的产生是为了解决WMF在印刷行业中的不足。EMF是设备独立性的一种格式,也就是说EMF可以始终保持着图形的精度,而无论用打印机打印出何种分辨率(dot/inch)的硬拷贝
资源详情
资源推荐
1 / 306
[MS-EMF] — v20101112
Enhanced Metafile Format
Copyright © 2010 Microsoft Corporation.
Release: Friday, November 12, 2010
[MS-EMF]:
Enhanced Metafile Format
Intellectual Property Rights Notice for Open Specifications Documentation
Technical Documentation. Microsoft publishes Open Specifications documentation for
protocols, file formats, languages, standards as well as overviews of the interaction among each
of these technologies.
Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other
terms that are contained in the terms of use for the Microsoft website that hosts this
documentation, you may make copies of it in order to develop implementations of the
technologies described in the Open Specifications and may distribute portions of it in your
implementations using these technologies or your documentation as necessary to properly
document the implementation. You may also distribute in your implementation, with or without
modification, any schema, IDL’s, or code samples that are included in the documentation. This
permission also applies to any documents that are referenced in the Open Specifications.
No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
Patents. Microsoft has patents that may cover your implementations of the technologies
described in the Open Specifications. Neither this notice nor Microsoft's delivery of the
documentation grants any licenses under those or any other Microsoft patents. However, a given
Open Specification may be covered by Microsoft's Open Specification Promise (available here:
http://www.microsoft.com/interop/osp) or the Community Promise (available here:
http://www.microsoft.com/interop/cp/default.mspx). If you would prefer a written license, or if
the technologies described in the Open Specifications are not covered by the Open Specifications
Promise or Community Promise, as applicable, patent licenses are available by contacting
iplg@microsoft.com.
Trademarks. The names of companies and products contained in this documentation may be
covered by trademarks or similar intellectual property rights. This notice does not grant any
licenses under those rights.
Fictitious Names. The example companies, organizations, products, domain names, e-mail
addresses, logos, people, places, and events depicted in this documentation are fictitious. No
association with any real company, organization, product, domain name, email address, logo,
person, place, or event is intended or should be inferred.
Reservation of Rights. All other rights are reserved, and this notice does not grant any rights
other than specifically described above, whether by implication, estoppel, or otherwise.
Tools. The Open Specifications do not require the use of Microsoft programming tools or
programming environments in order for you to develop an implementation. If you have access to
Microsoft programming tools and environments you are free to take advantage of them. Certain
Open Specifications are intended for use in conjunction with publicly available standard
specifications and network programming art, and assumes that the reader either is familiar with the
aforementioned material or has immediate access to it.
2 / 306
[MS-EMF] — v20101112
Enhanced Metafile Format
Copyright © 2010 Microsoft Corporation.
Release: Friday, November 12, 2010
Revision Summary
Date
Revision
History
Revision
Class
Comments
07/10/2007
1.0
Major
Initial Availability
08/17/2007
1.1
Minor
Updated the technical content.
09/21/2007
1.2
Minor
Updated the technical content.
10/26/2007
2.0
Major
Added new sections describing the
EMR_COMMENT_EMFPLUS and EMR_COMMENT_EMFSPOOL
records.
01/25/2008
2.1
Minor
Reconstructed record categories for clarity.
03/14/2008
3.0
Major
Abstract data model and Windows version-specific behavior
added.
06/20/2008
3.1
Minor
Updated the technical content.
07/25/2008
3.1.1
Editorial
Revised and edited the technical content.
08/29/2008
3.2
Minor
Updated the technical content.
10/24/2008
4.0
Major
Updated and revised the technical content.
12/05/2008
4.1
Minor
Updated the technical content.
01/16/2009
5.0
Major
Updated and revised the technical content.
02/27/2009
5.1
Minor
Updated the technical content.
04/10/2009
5.2
Minor
Updated the technical content.
05/22/2009
5.2.1
Editorial
Revised and edited the technical content.
07/02/2009
5.3
Minor
Updated the technical content.
08/14/2009
5.4
Minor
Updated the technical content.
09/25/2009
5.5
Minor
Updated the technical content.
11/06/2009
5.5.1
Editorial
Revised and edited the technical content.
12/18/2009
5.6
Minor
Updated the technical content.
01/29/2010
5.6.1
Editorial
Revised and edited the technical content.
03/12/2010
5.7
Minor
Updated the technical content.
04/23/2010
5.7.1
Editorial
Revised and edited the technical content.
06/04/2010
5.8
Minor
Updated the technical content.
07/16/2010
5.8
No change
No changes to the meaning, language, or formatting of the
3 / 306
[MS-EMF] — v20101112
Enhanced Metafile Format
Copyright © 2010 Microsoft Corporation.
Release: Friday, November 12, 2010
Date
Revision
History
Revision
Class
Comments
technical content.
08/27/2010
5.8
No change
No changes to the meaning, language, or formatting of the
technical content.
10/08/2010
5.9
Minor
Clarified the meaning of the technical content.
11/19/2010
6.0
Major
Significantly changed the technical content.
4 / 306
[MS-EMF] — v20101112
Enhanced Metafile Format
Copyright © 2010 Microsoft Corporation.
Release: Friday, November 12, 2010
Contents
1 Introduction ............................................................................................................. 9
1.1 Glossary ............................................................................................................... 9
1.2 References .......................................................................................................... 16
1.2.1 Normative References ..................................................................................... 16
1.2.2 Informative References ................................................................................... 16
1.3 Overview ............................................................................................................ 16
1.3.1 Metafile Structure ........................................................................................... 16
1.3.2 Graphics Objects ............................................................................................ 18
1.3.3 Byte Ordering ................................................................................................ 19
1.4 Relationship to Protocols and Other Structures ........................................................ 19
1.5 Applicability Statement ......................................................................................... 19
1.6 Versioning and Localization ................................................................................... 19
1.7 Vendor-Extensible Fields ....................................................................................... 20
2 Structures .............................................................................................................. 21
2.1 EMF Enumerations ............................................................................................... 21
2.1.1 RecordType Enumeration ................................................................................ 21
2.1.2 ArcDirection Enumeration ................................................................................ 29
2.1.3 ArmStyle Enumeration .................................................................................... 30
2.1.4 BackgroundMode Enumeration ......................................................................... 31
2.1.5 ColorAdjustment Enumeration ......................................................................... 31
2.1.6 ColorMatchToTarget Enumeration ..................................................................... 31
2.1.7 ColorSpace Enumeration ................................................................................. 32
2.1.8 Contrast Enumeration ..................................................................................... 32
2.1.9 DIBColors Enumeration ................................................................................... 33
2.1.10 EmrComment Enumeration ............................................................................ 33
2.1.11 ExtTextOutOptions Enumeration ..................................................................... 34
2.1.12 FamilyType Enumeration ............................................................................... 35
2.1.13 FloodFill Enumeration .................................................................................... 35
2.1.14 FormatSignature Enumeration ........................................................................ 35
2.1.15 GradientFill Enumeration ............................................................................... 36
2.1.16 GraphicsMode Enumeration............................................................................ 36
2.1.17 HatchStyle Enumeration ................................................................................ 37
2.1.18 ICMMode Enumeration .................................................................................. 38
2.1.19 Illuminant Enumeration ................................................................................. 38
2.1.20 Letterform Enumeration ................................................................................ 39
2.1.21 MapMode Enumeration .................................................................................. 40
2.1.22 MetafileVersion Enumeration .......................................................................... 41
2.1.23 MidLine Enumeration..................................................................................... 41
2.1.24 ModifyWorldTransformMode Enumeration ........................................................ 42
2.1.25 PenStyle Enumeration ................................................................................... 42
2.1.26 Point Enumeration ........................................................................................ 44
2.1.27 PolygonFillMode Enumeration ......................................................................... 44
2.1.28 Proportion Enumeration ................................................................................. 44
2.1.29 RegionMode Enumeration .............................................................................. 45
2.1.30 SerifType Enumeration .................................................................................. 46
2.1.31 StockObject Enumeration .............................................................................. 47
2.1.32 StretchMode Enumeration.............................................................................. 49
2.1.33 StrokeVariation Enumeration ......................................................................... 50
2.1.34 Weight Enumeration ..................................................................................... 50
5 / 306
[MS-EMF] — v20101112
Enhanced Metafile Format
Copyright © 2010 Microsoft Corporation.
Release: Friday, November 12, 2010
2.1.35 XHeight Enumeration .................................................................................... 51
2.2 EMF Objects ........................................................................................................ 52
2.2.1 BitFIX28_4 Object .......................................................................................... 52
2.2.2 ColorAdjustment Object .................................................................................. 52
2.2.3 DesignVector Object ....................................................................................... 54
2.2.4 EmrFormat Object .......................................................................................... 54
2.2.5 EmrText Object .............................................................................................. 55
2.2.6 EpsData Object .............................................................................................. 57
2.2.7 GradientRectangle Object ................................................................................ 58
2.2.8 GradientTriangle Object .................................................................................. 58
2.2.9 Header Object ................................................................................................ 59
2.2.10 HeaderExtension1 Object .............................................................................. 61
2.2.11 HeaderExtension2 Object .............................................................................. 61
2.2.12 LogBrushEx Object ....................................................................................... 62
2.2.13 LogFont Object ............................................................................................. 62
2.2.14 LogFontEx Object ......................................................................................... 65
2.2.15 LogFontExDv Object ..................................................................................... 67
2.2.16 LogFontPanose Object ................................................................................... 68
2.2.17 LogPalette Object ......................................................................................... 70
2.2.18 LogPaletteEntry Object .................................................................................. 70
2.2.19 LogPen Object .............................................................................................. 71
2.2.20 LogPenEx Object .......................................................................................... 71
2.2.21 Panose Object .............................................................................................. 73
2.2.22 PixelFormatDescriptor Object ......................................................................... 74
2.2.23 Point28_4 Object .......................................................................................... 77
2.2.24 RegionData Object ........................................................................................ 77
2.2.25 RegionDataHeader Object .............................................................................. 78
2.2.26 TriVertex Object ........................................................................................... 79
2.2.27 UniversalFontId Object .................................................................................. 79
2.2.28 XForm Object ............................................................................................... 80
2.3 EMF Records ....................................................................................................... 81
2.3.1 Bitmap Record Types ...................................................................................... 82
2.3.1.1 EMR_ALPHABLEND Record ......................................................................... 84
2.3.1.2 EMR_BITBLT Record .................................................................................. 89
2.3.1.3 EMR_MASKBLT Record .............................................................................. 92
2.3.1.4 EMR_PLGBLT Record ................................................................................. 97
2.3.1.5 EMR_SETDIBITSTODEVICE Record ............................................................. 101
2.3.1.6 EMR_STRETCHBLT Record ........................................................................ 103
2.3.1.7 EMR_STRETCHDIBITS Record ................................................................... 107
2.3.1.8 EMR_TRANSPARENTBLT Record ................................................................. 109
2.3.2 Clipping Record Types .................................................................................... 112
2.3.2.1 EMR_EXCLUDECLIPRECT Record ................................................................ 114
2.3.2.2 EMR_EXTSELECTCLIPRGN Record .............................................................. 115
2.3.2.3 EMR_INTERSECTCLIPRECT Record ............................................................. 115
2.3.2.4 EMR_OFFSETCLIPRGN Record ................................................................... 116
2.3.2.5 EMR_SELECTCLIPPATH Record .................................................................. 117
2.3.3 Comment Record Types ................................................................................. 117
2.3.3.1 EMR_COMMENT Record ............................................................................ 119
2.3.3.2 EMR_COMMENT_EMFPLUS Record .............................................................. 119
2.3.3.3 EMR_COMMENT_EMFSPOOL Record ........................................................... 120
2.3.3.4 EMR_COMMENT_PUBLIC Record Types ....................................................... 120
2.3.3.4.1 EMR_COMMENT_BEGINGROUP Record .................................................. 122
2.3.3.4.2 EMR_COMMENT_ENDGROUP Record ..................................................... 123
剩余305页未读,继续阅读
lqsluo
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功