1
|
<?xml version="1.0"?><phpdoc><class name="ImlibColorRange" extends="ImlibCliprect" undoc="false" access="public" package="Imlib"><file>/home/matt/src/cvs/imlib/docs/class.ImlibColorRange.php</file><doc><author email="cardinal@dodds.net">Matt McClanahan</author><inherited src="Array"/><description/><shortdescription>All functions relevant to creating and displaying color ranges</shortdescription><version>0.3</version></doc><function name="ImlibColorRange" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>ImlibColorRange constructor</shortdescription></doc></function><function name="add_color" undoc="false" access="public"><doc><parameter name="$x" type="int">from the previous color</parameter><parameter name="$r" type="int"/><parameter name="$g" type="int"/><parameter name="$b" type="int"/><parameter name="$a" type="int"/><return type="void"/><description>A distance of 0 will center it between the previous color and the end.$x is ignored for the first color.</description><shortdescription>Add a color to the color range at distance $x.</shortdescription></doc></function><function name="add_color_array" undoc="false" access="public"><doc><parameter name="$x" type="int">from the previous color</parameter><parameter name="$arr" type="array">array (r,g,b,a)</parameter><return type="void"/><description>A distance of 0 will center it between the previous color and the end.$x is ignored for the first color.</description><shortdescription>Add a color to the color range at distance $x.</shortdescription></doc></function><function name="create" undoc="false" access="public"><doc><return name="" type="int">Resource id# of the new color range</return><description/><shortdescription>Create a new color range</shortdescription></doc></function><function name="free" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>Free the current color range</shortdescription></doc></function><function name="fill_rectangle" undoc="false" access="public"><doc><parameter name="$x" type="int">-left X coordinate of the box</parameter><parameter name="$y" type="int">-left Y coordinate of the box</parameter><parameter name="$w" type="int">of the box</parameter><parameter name="$h" type="int">of the box</parameter><parameter name="$angle" type="int">to rotate the color range (degrees)</parameter><return type="void"/><description>The color range will be filled in the specified box at angle $angle</description><shortdescription>Fill the current image with a rectangle using the current color range</shortdescription></doc></function><function name="set_image" undoc="false" access="public"><doc><parameter name="$im" type="int">id# of the image</parameter><return type="void"/><description/><shortdescription>Set the image to draw the color range on</shortdescription></doc></function><variable name="$cr" access="private" type="unknown"><doc><description/><shortdescription>Resource id# of the current color range</shortdescription></doc></variable><variable name="$im" access="private" type="unknown"><doc><description/><shortdescription>Resource id# of the image to draw on</shortdescription></doc></variable><inherited src="ImlibCliprect" type="functions"><element>imlibcliprect</element><element>get_cliprect</element><element>get_cliprect_array</element><element>get_cliprect_inuse</element><element>set_cliprect</element><element>set_cliprect_array</element><element>set_cliprect_inuse</element></inherited><inherited src="ImlibColor" type="functions"><element>imlibcolor</element><element>get_color</element><element>get_color_array</element><element>set_color</element><element>set_color_array</element></inherited><inherited src="ImlibCliprect" type="variables"><element>$cliprect</element><element>$cliprect_inuse</element></inherited><inherited src="ImlibColor" type="variables"><element>$color</element></inherited><path><parent>ImlibCliprect</parent><parent>ImlibColor</parent></path><baseclass>ImlibColor</baseclass></class></phpdoc>
|