gfx/skia/trunk/src/animator/SkAnimate3DSchema.xsd

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
     2 	xmlns:Sk="http://www.skia.com/schema/SkAnimateSchema.xsd"
     3 	targetNamespace="urn:skia3D" xmlns:Sk3D="urn:skia3D">
     5 	<xs:simpleType name="Patch" >
     6 		<xs:restriction base="xs:string" >
     7 		</xs:restriction>
     8 	</xs:simpleType>
    10 	<xs:simpleType name="Point" >
    11 		<xs:restriction base="xs:string" >
    12 			<xs:pattern value="[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)( *[ ,] *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)){2}" /> 
    13 		</xs:restriction>
    14 	</xs:simpleType>
    16 	<xs:element name="camera">
    17 		<xs:complexType >
    18 			<xs:attribute name="axis" type="Sk3D:Point" />
    19 			<xs:attribute name="hackHeight" type="Sk:Float" />
    20 			<xs:attribute name="hackWidth" type="Sk:Float" />
    21 			<xs:attribute name="location" type="Sk3D:Point" />
    22 			<xs:attribute name="observer" type="Sk3D:Point" />
    23 			<xs:attribute name="patch" type="Sk3D:Patch" />
    24 			<xs:attribute name="zenith" type="Sk3D:Point" />
    25 			<xs:attribute name="id" type="xs:ID" />
    26 		</xs:complexType>
    27 	</xs:element>
    29 	<xs:element name="patch">
    30 		<xs:complexType >
    31 			<xs:attribute name="origin" type="Sk3D:Point" />
    32 			<xs:attribute name="rotateDegrees" type="Sk:MemberFunction" />
    33 			<xs:attribute name="u" type="Sk3D:Point" />
    34 			<xs:attribute name="v" type="Sk3D:Point" />
    35 			<xs:attribute name="id" type="xs:ID" />
    36 		</xs:complexType>
    37 	</xs:element>
    39 </xs:schema>

mercurial