summaryrefslogtreecommitdiffstats
path: root/share/ui/units.xml
blob: 713a538d7f39fda980bf9b969667194d4e631c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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>