Content deleted Content added
m Replacing Usage_WebBrowsers_Chart.png with File:DrawingML_example.png (by Bidgee because: File renamed (Old name was misleading)). |
m cite template field corrections using AWB |
||
Line 234:
=== DrawingML ===<!-- [[English Metric Unit]] links to here -->
[[Image:
DrawingML is the [[vector graphics markup language]] used in Office Open XML documents. Its major features are the graphics rendering of text elements, graphical vector-based shape elements, graphical tables and charts.
Line 245:
DrawingML is unrelated to the other [[vector graphics]] formats such as [[SVG]]. These can be converted to DrawingML to include natively in an Office Open XML document. This is a different approach to that of the [[OpenDocument]] format, which uses a subset of SVG, and includes vector graphics as separate files.
A DrawingML graphic's dimensions are specified in [[English Metric Unit]]s (EMUs). It is so called because it allows an exact common representation of dimensions originally in either English or Metric units. This unit is defined as 1/360,000 of a [[centimeter]] and thus there are 914,400 EMUs per [[inch]], and 12,700 EMUs per [[point (typography)|point]]. This unit was chosen so that integers can be used to accurately represent most dimensions encountered in a document. Floating point cannot accurately represent a fraction that is not a sum of powers of two and the error is magnified when the fractions are added together many times, resulting in misalignment. As an inch is exactly 2.54 centimeters, or 127/50, 1/127 inch is an integer multiple of a power-of-ten fraction of the meter (2×10<sup>−4</sup> m). To accurately represent (with an integer) 1 μm = 10<sup>−6</sup> m, a divisor of 100 is further needed. To accurately represent the [[point (typography)|point]] unit, a divisor of 72 is needed, which also allows divisions by 2, 3, 4, 6, 8, 9, 12, 18, 24, and 36 to be accurate. Multiplying these together gives 127×72×100 = 914,400 units per inch; this also allows exact representations of multiples of 1/100 & 1/32 inch. According to [[Rick Jelliffe]], programmer and standards activist (ISO, W3C, IETF), EMUs are a rational solution to a particular set of design criteria.<ref>{{ cite web|
Some have criticised the use of DrawingML (and the transitional-use-only [[Vector Markup Language|VML]]) instead of [[World Wide Web Consortium|W3C]] recommendation [[SVG]].<ref>{{ cite web | url=http://reddevnews.com/features/article.aspx?editorialsid=2356 | title= The X Factor | publisher=reddevnews.com |month=October | year=2007 }}</ref> VML did not become a W3C recommendation.<ref>{{ cite web | url = http://www.w3.org/TR/NOTE-VML | title = VML — the Vector Markup Language | publisher = W3.org | date = 1998-05-13 | accessdate = 2009-05-19 }}</ref>
|