source: OGRE/trunk/ogrenew/Samples/Media/gui/Font.xsd @ 692

Revision 692, 2.6 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

RevLine 
[692]1<?xml version="1.0" ?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3        <xsd:element name="Font" type="FontType" />
4
5        <xsd:complexType name="FontType">
6                <xsd:sequence>
7                        <xsd:element name="Mapping" type="MapType" maxOccurs="unbounded" minOccurs="0" />
8                        <xsd:element name="GlyphSet" type="GlyphSetType" maxOccurs="unbounded" minOccurs="0" />
9                        <xsd:element name="GlyphRange" type="GlyphRangeType" maxOccurs="unbounded" minOccurs="0" />
10                        <xsd:element name="Glyph" type="GlyphType" maxOccurs="unbounded" minOccurs="0" />
11                </xsd:sequence>
12                <xsd:attributeGroup ref="FontAttrs" />
13        </xsd:complexType>
14        <xsd:complexType name="MapType">
15                <xsd:attribute name="Codepoint" type="xsd:nonNegativeInteger" use="required" />
16                <xsd:attribute name="Image" type="xsd:string" use="required" />
17                <xsd:attribute name="HorzAdvance" type="xsd:integer" use="optional" default="-1" />
18        </xsd:complexType>
19        <xsd:complexType name="GlyphType">
20                <xsd:attribute name="Codepoint" type="xsd:nonNegativeInteger" use="required" />
21        </xsd:complexType>
22        <xsd:complexType name="GlyphRangeType">
23                <xsd:attribute name="StartCodepoint" type="xsd:nonNegativeInteger" use="required" />
24                <xsd:attribute name="EndCodepoint" type="xsd:nonNegativeInteger" use="required" />
25        </xsd:complexType>
26        <xsd:complexType name="GlyphSetType">
27                <xsd:attribute name="Glyphs" type="xsd:string" use="required" />
28        </xsd:complexType>
29        <xsd:attributeGroup name="FontAttrs">
30                <xsd:attribute name="Name" type="xsd:string" use="required" />
31                <xsd:attribute name="Filename" type="xsd:string" use="required" />
32                <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
33                <xsd:attribute name="Type" use="required">
34                        <xsd:simpleType>
35                                <xsd:restriction base="xsd:string">
36                                        <xsd:enumeration value="Dynamic" />
37                                        <xsd:enumeration value="Static" />
38                                </xsd:restriction>
39                        </xsd:simpleType>
40                </xsd:attribute>
41                <xsd:attribute name="Size" type="xsd:nonNegativeInteger" use="optional" default="12" />
42                <xsd:attribute name="FirstCodepoint" type="xsd:nonNegativeInteger" use="optional" default="32" />
43                <xsd:attribute name="LastCodepoint" type="xsd:nonNegativeInteger" use="optional" default="127" />
44                <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" />
45                <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" />
46                <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" />
47                <xsd:attribute name="AntiAlias" type="xsd:boolean" use="optional" default="true" />
48        </xsd:attributeGroup>
49</xsd:schema>
Note: See TracBrowser for help on using the repository browser.