summaryrefslogtreecommitdiffstats
path: root/share/ui/units.xml
diff options
context:
space:
mode:
Diffstat (limited to 'share/ui/units.xml')
-rw-r--r--share/ui/units.xml101
1 files changed, 101 insertions, 0 deletions
diff --git a/share/ui/units.xml b/share/ui/units.xml
new file mode 100644
index 0000000..713a538
--- /dev/null
+++ b/share/ui/units.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<unitdefs>
+<unit type="DIMENSIONLESS" pri="y">
+ <name>%</name>
+ <plural>%</plural>
+ <abbr>%</abbr>
+ <factor>1.00</factor>
+ <description>Percentage</description>
+</unit>
+<unit type="LINEAR" pri="y">
+ <name>pixel</name>
+ <plural>pixels</plural>
+ <abbr>px</abbr>
+ <factor>1.00</factor>
+ <description>CSS Pixels (96/inch)</description>
+</unit>
+<unit type="LINEAR" pri="n">
+ <name>point</name>
+ <plural>points</plural>
+ <abbr>pt</abbr>
+ <factor>1.333333333333333</factor>
+ <description>PostScript points (72/inch)</description>
+</unit>
+<unit type="LINEAR" pri="n">
+ <name>pica</name>
+ <plural>picas</plural>
+ <abbr>pc</abbr>
+ <factor>16.0</factor>
+ <description>12 points</description>
+</unit>
+<unit type="LINEAR" pri="n">
+ <name>inch</name>
+ <plural>inches</plural>
+ <abbr>in</abbr>
+ <factor>96.0</factor>
+ <description>Inches (96 px/in)</description>
+</unit>
+<unit type="LINEAR" pri="n">
+ <name>millimeter</name>
+ <plural>millimeters</plural>
+ <abbr>mm</abbr>
+ <factor>3.779527559055119</factor>
+ <description>Millimeters (25.4 mm/in)</description>
+</unit>
+<unit type="LINEAR" pri="n">
+ <name>centimeter</name>
+ <plural>centimeters</plural>
+ <abbr>cm</abbr>
+ <factor>37.79527559055119</factor>
+ <description>Centimeters (10 mm/cm)</description>
+</unit>
+<unit type="RADIAL" pri="y">
+ <name>degree</name>
+ <plural>degrees</plural>
+ <abbr>°</abbr>
+ <factor>1.00</factor>
+ <description>Degrees</description>
+</unit>
+<unit type="RADIAL" pri="n">
+ <name>radian</name>
+ <plural>radians</plural>
+ <abbr>rad</abbr>
+ <factor>57.29577951308232</factor>
+ <description>Radians (180/pi deg/rad)</description>
+</unit>
+<unit type="RADIAL" pri="n">
+ <name>gradian</name>
+ <plural>gradians</plural>
+ <abbr>grad</abbr>
+ <factor>0.9</factor>
+ <description>Gradians (360/400 deg/grad)</description>
+</unit>
+<unit type="RADIAL" pri="n">
+ <name>turn</name>
+ <plural>turns</plural>
+ <abbr>turn</abbr>
+ <factor>360</factor>
+ <description>Turns (360 deg/turn)</description>
+</unit>
+<unit type="FONT_HEIGHT" pri="y">
+ <name>font-height</name>
+ <plural>font-heights</plural>
+ <abbr>em</abbr>
+ <factor>1.00</factor>
+ <description>Font height</description>
+</unit>
+<unit type="FONT_HEIGHT" pri="n">
+ <name>x-height</name>
+ <plural>x-heights</plural>
+ <abbr>ex</abbr>
+ <factor>0.50</factor>
+ <description>Height of letter 'x'</description>
+</unit>
+<unit type="FONT_HEIGHT" pri="n">
+ <name>half-em</name>
+ <plural>half-ems</plural>
+ <abbr>en</abbr>
+ <factor>0.50</factor>
+ <description>Half of font height</description>
+</unit>
+</unitdefs>