www.pudn.com > sswf-1.7.4-src.zip > colors.sswf


/* colors.sswf V1.00 - written by Alexis Wilke for Made to Order Software, Ltd. (c) 2002-2006 */
/* encoding="iso8859-1" */

/*

Copyright (c) 2002-2006 Made to Order Software, Ltd.

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and
associated documentation files (the "Software"), to
deal in the Software without restriction, including
without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice
shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

/*
 * This file describs colors one can use with his and/or her
 * SWF script. Include this file on your command line and
 * then you can reference any color as:
 *
 *		sswf.col.
 *
 */

block sswf {
	list col {
		color black  { 0, 0, 0, 1 };
		color grey0  { black };
		color grey1  { 0.0666666, 0.0666666, 0.0666666, 1 };
		color grey2  { 0.1333333, 0.1333333, 0.1333333, 1 };
		color grey3  { 0.2, 0.2, 0.2, 1 };
		color grey4  { 0.2666666, 0.2666666, 0.2666666, 1 };
		color grey5  { 0.3333333, 0.3333333, 0.3333333, 1 };
		color grey6  { 0.4, 0.4, 0.4, 1 };
		color grey7  { 0.4666666, 0.4666666, 0.4666666, 1 };
		color grey8  { 0.5333333, 0.5333333, 0.5333333, 1 };
		color grey9  { 0.6, 0.6, 0.6, 1 };
		color grey10 { 0.6666666, 0.6666666, 0.6666666, 1 };
		color grey11 { 0.7333333, 0.7333333, 0.7333333, 1 };
		color grey12 { 0.8, 0.8, 0.8, 1 };
		color grey13 { 0.8666666, 0.8666666, 0.8666666, 1 };
		color grey14 { 0.9333333, 0.9333333, 0.9333333, 1 };
		color white  { 1, 1, 1, 1 };
		color grey15 { white };
		color gray0  { black };
		color gray1  { grey1 };
		color gray2  { grey2 };
		color gray3  { grey3 };
		color gray4  { grey4 };
		color gray5  { grey5 };
		color gray6  { grey6 };
		color gray7  { grey7 };
		color gray8  { grey8 };
		color gray9  { grey9 };
		color gray10 { grey10 };
		color gray11 { grey11 };
		color gray12 { grey12 };
		color gray13 { grey13 };
		color gray14 { grey14 };
		color gray15 { white };
		color red    { 1, 0, 0, 1 };
		color green  { 0, 1, 0, 1 };
		color blue   { 0, 0, 1, 1 };
		color cyan   { 0, 1, 1, 1 };
		color purple { 1, 0, 1, 1 };
		color yellow { 1, 1, 0, 1 };
		color transparent { 0, 0, 0, 0 };
	} fc;
	/* the color unit is forced so users can't specify the wrong one */
};

// vim: ts=4