Subversion Repositories Applications.papyrus

Rev

Rev 1318 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1318 Rev 1422
1
/*
1
/*
2
	Copyright (c) 2004-2006, The Dojo Foundation
2
	Copyright (c) 2004-2006, The Dojo Foundation
3
	All Rights Reserved.
3
	All Rights Reserved.
4
 
4
 
5
	Licensed under the Academic Free License version 2.1 or above OR the
5
	Licensed under the Academic Free License version 2.1 or above OR the
6
	modified BSD license. For more information on Dojo licensing, see:
6
	modified BSD license. For more information on Dojo licensing, see:
7
 
7
 
8
		http://dojotoolkit.org/community/licensing.shtml
8
		http://dojotoolkit.org/community/licensing.shtml
9
*/
9
*/
-
 
10
 
-
 
11
 
10
 
12
 
11
dojo.provide("dojo.graphics.color.hsv");
13
dojo.provide("dojo.graphics.color.hsv");
12
dojo.require("dojo.gfx.color.hsv");
14
dojo.require("dojo.gfx.color.hsv");
13
dojo.deprecated("dojo.graphics.color.hsv has been replaced by dojo.gfx.color.hsv", "0.5");
15
dojo.deprecated("dojo.graphics.color.hsv has been replaced by dojo.gfx.color.hsv", "0.5");
14
dojo.graphics.color.rgb2hsv = function (r, g, b) {
16
dojo.graphics.color.rgb2hsv = function (r, g, b) {
15
	dojo.deprecated("dojo.graphics.color.rgb2hsv has been replaced by dojo.gfx.color.rgb2hsv", "0.5");
17
	dojo.deprecated("dojo.graphics.color.rgb2hsv has been replaced by dojo.gfx.color.rgb2hsv", "0.5");
16
	return dojo.gfx.color.rgb2hsv(r, g, b);
18
	return dojo.gfx.color.rgb2hsv(r, g, b);
17
};
19
};
18
dojo.graphics.color.hsv2rgb = function (h, s, v) {
20
dojo.graphics.color.hsv2rgb = function (h, s, v) {
19
	dojo.deprecated("dojo.graphics.color.hsv2rgb has been replaced by dojo.gfx.color.hsv2rgb", "0.5");
21
	dojo.deprecated("dojo.graphics.color.hsv2rgb has been replaced by dojo.gfx.color.hsv2rgb", "0.5");
20
	return dojo.gfx.color.hsv2rgb(h, s, v);
22
	return dojo.gfx.color.hsv2rgb(h, s, v);
21
};
23
};
22
 
24