<?xml version="1.0"?><phpdoc><class name="ImlibCliprect" extends="ImlibColor" undoc="false" access="public" package="Imlib"><file>/home/matt/src/cvs/imlib/docs/class.ImlibCliprect.php</file><doc><author email="cardinal@dodds.net">Matt McClanahan</author><inherited src="Array"/><description>The variables and methods in this class provide a clipping rectangle thatcan be used by any drawing function to restrict drawing/filling to arectangular region.</description><shortdescription>Provides variables and methods for a clipping rectangle</shortdescription><version>0.3</version></doc><function name="ImlibCliprect" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>ImlibCliprect constructor</shortdescription></doc></function><function name="get_cliprect" undoc="false" access="public"><doc><see type="function">set_cliprect()</see><parameter name="&amp;$x" type="int">left X coordinate to clip from</parameter><parameter name="&amp;$y" type="int">left Y coordinate to clip from</parameter><parameter name="&amp;$w" type="int">of the cliprect</parameter><parameter name="&amp;$h" type="int">of the cliprect</parameter><return type="void"/><description/><shortdescription>Get the four values of the cliprect</shortdescription></doc></function><function name="get_cliprect_array" undoc="false" access="public"><doc><see type="function">set_cliprect_array()</see><return name="" type="array">Array defining the clipping rectangle</return><description/><shortdescription>Get the array that defines the cliprect (x,y,w,h)</shortdescription></doc></function><function name="get_cliprect_inuse" undoc="false" access="public"><doc><see type="function">set_cliprect_inuse()</see><return name="" type="bool">True if the cliprect is in use</return><description/><shortdescription>Get the boolean that determines if a cliprect is in use or not</shortdescription></doc></function><function name="set_cliprect" undoc="false" access="public"><doc><see type="function">get_cliprect()</see><parameter name="$x" type="int">left X coordinate to clip from</parameter><parameter name="$y" type="int">left Y coordinate to clip from</parameter><parameter name="$w" type="int">of the cliprect</parameter><parameter name="$h" type="int">of the cliprect</parameter><return type="void"/><description/><shortdescription>Set the four values of the cliprect.  0 for X disables the cliprect.</shortdescription></doc></function><function name="set_cliprect_array" undoc="false" access="public"><doc><see type="function">get_cliprect_array()</see><parameter name="$arr" type="array">that defines the cliprect</parameter><return type="void"/><description/><shortdescription>Set the array that defines the cliprect (x,y,w,h)</shortdescription></doc></function><function name="set_cliprect_inuse" undoc="false" access="public"><doc><see type="function">get_cliprect_inuse()</see><parameter name="$set" type="bool">to enable, false to disable</parameter><return type="void"/><description/><shortdescription>Set the boolean that determines if the cliprect is in use</shortdescription></doc></function><variable name="$cliprect" access="private" type="array"><doc><description/><shortdescription>The array defining the cliprect (x,y,w,h)</shortdescription></doc></variable><variable name="$cliprect_inuse" access="private" type="bool"><doc><description/><shortdescription>A boolean that determines if a cliprect is in use or not</shortdescription></doc></variable><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="ImlibColor" type="variables"><element>$color</element></inherited><path><parent>ImlibColor</parent></path><baseclass>ImlibColor</baseclass><subclasses><subclass>ImlibColorRange</subclass><subclass>ImlibDraw</subclass><subclass>ImlibPoly</subclass></subclasses></class></phpdoc>