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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/animator/SkAnimate3DSchema.xsd	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
     1.5 +	xmlns:Sk="http://www.skia.com/schema/SkAnimateSchema.xsd"
     1.6 +	targetNamespace="urn:skia3D" xmlns:Sk3D="urn:skia3D">
     1.7 +
     1.8 +	<xs:simpleType name="Patch" >
     1.9 +		<xs:restriction base="xs:string" >
    1.10 +		</xs:restriction>
    1.11 +	</xs:simpleType>
    1.12 +
    1.13 +	<xs:simpleType name="Point" >
    1.14 +		<xs:restriction base="xs:string" >
    1.15 +			<xs:pattern value="[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)( *[ ,] *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)){2}" /> 
    1.16 +		</xs:restriction>
    1.17 +	</xs:simpleType>
    1.18 +
    1.19 +	<xs:element name="camera">
    1.20 +		<xs:complexType >
    1.21 +			<xs:attribute name="axis" type="Sk3D:Point" />
    1.22 +			<xs:attribute name="hackHeight" type="Sk:Float" />
    1.23 +			<xs:attribute name="hackWidth" type="Sk:Float" />
    1.24 +			<xs:attribute name="location" type="Sk3D:Point" />
    1.25 +			<xs:attribute name="observer" type="Sk3D:Point" />
    1.26 +			<xs:attribute name="patch" type="Sk3D:Patch" />
    1.27 +			<xs:attribute name="zenith" type="Sk3D:Point" />
    1.28 +			<xs:attribute name="id" type="xs:ID" />
    1.29 +		</xs:complexType>
    1.30 +	</xs:element>
    1.31 +
    1.32 +	<xs:element name="patch">
    1.33 +		<xs:complexType >
    1.34 +			<xs:attribute name="origin" type="Sk3D:Point" />
    1.35 +			<xs:attribute name="rotateDegrees" type="Sk:MemberFunction" />
    1.36 +			<xs:attribute name="u" type="Sk3D:Point" />
    1.37 +			<xs:attribute name="v" type="Sk3D:Point" />
    1.38 +			<xs:attribute name="id" type="xs:ID" />
    1.39 +		</xs:complexType>
    1.40 +	</xs:element>
    1.41 +
    1.42 +</xs:schema>

mercurial