1/* origin.sswf V1.00 - written by Alexis Wilke for Made to Order Software Corp. (c) 2002-2009 */
2/* encoding="iso8859-1" */
3
4/*
5
6Copyright (c) 2002-2009 Made to Order Software Corp.
7
8Permission is hereby granted, free of charge, to any
9person obtaining a copy of this software and
10associated documentation files (the "Software"), to
11deal in the Software without restriction, including
12without limitation the rights to use, copy, modify,
13merge, publish, distribute, sublicense, and/or sell
14copies of the Software, and to permit persons to whom
15the Software is furnished to do so, subject to the
16following conditions:
17
18The above copyright notice and this permission notice
19shall be included in all copies or substantial
20portions of the Software.
21
22THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
23ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
25FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
26EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
28WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
29ARISING FROM, OUT OF OR IN CONNECTION WITH THE
30SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31SOFTWARE.
32
33*/
34
35
36/*
37 * This file can be used in a sprite to draw a set of vertical and
38 * horizontal lines showing the x and y axis within that sprite
39 * (which represent the center of rotation).
40 */
41
42block sswf {
43	list origin {
44		list insert {
45			line style "line_red" { width: 0.1; sswf.col.red; };
46			shape "hline" {
47				rectangle { -1000, -1, 1000, 1 };
48				line_red; move: -1000, 0; edges { 2000, 0 };
49			};
50			shape "vline" {
51				rectangle { -1, -1000, 1, 1000 };
52				line_red; move: 0, -1000; edges { 0, 2000 };
53			};
54		};
55		list img {
56			place object {
57				depth: 32000;
58				obj: insert.hline;
59			};
60			place object {
61				depth: 32001;
62				obj: insert.vline;
63			};
64		}
65	};
66};
67
68// vim: ts=8
69