<?xml version="1.0"?><phpdoc><class name="ImlibDraw" extends="ImlibCliprect" undoc="false" access="public" package="Imlib"><file>/home/matt/src/cvs/imlib/docs/class.ImlibDraw.php</file><doc><author email="cardinal@dodds.net">Matt McClanahan</author><inherited src="Array"/><description/><shortdescription>Does everything relevant to drawing or filling ellipses, lines, or rectangles</shortdescription><version>0.3</version></doc><function name="ImlibDraw" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>ImlibDraw constructor</shortdescription></doc></function><function name="_draw_something" undoc="false" access="private"><doc><parameter name="$x" type="int">param</parameter><parameter name="$y" type="int">param</parameter><parameter name="$w" type="int">param</parameter><parameter name="$h" type="int">param</parameter><parameter name="$cb" type="string">name of the function to call</parameter><return name="" type="bool">False if no image is set yet</return><description>Since all the drawing functions work the same way, this functiondoes all the work.  It takes four ints, often x,y,w,h, and passesthem to the specified function.</description><shortdescription>Callback for drawing everything</shortdescription></doc></function><function name="draw_ellipse" undoc="false" access="public"><doc><parameter name="$x" type="int">X coordinate</parameter><parameter name="$y" type="int">Y coordinate</parameter><parameter name="$w" type="int">horizontal amplitude</parameter><parameter name="$h" type="int">vertical amplitude</parameter><return name="" type="bool">False if no image is set yet</return><description/><shortdescription>Draw an ellipse</shortdescription></doc></function><function name="draw_line" undoc="false" access="public"><doc><parameter name="$x1" type="int">X coordinate</parameter><parameter name="$y1" type="int">Y coordinate</parameter><parameter name="$x2" type="int">X coordinate</parameter><parameter name="$y2" type="int">Y coordinate</parameter><return name="" type="bool">False if no image is set yet</return><description/><shortdescription>Draw a line</shortdescription></doc></function><function name="draw_rectangle" undoc="false" access="public"><doc><parameter name="$x" type="int">left X coordinate</parameter><parameter name="$y" type="int">left Y coordinate</parameter><parameter name="$w" type="int"/><parameter name="$h" type="int"/><return name="" type="bool">False if no image is set yet</return><description/><shortdescription>Draw a rectangle</shortdescription></doc></function><function name="fill_ellipse" undoc="false" access="public"><doc><parameter name="$x" type="int">X coordinate</parameter><parameter name="$y" type="int">Y coordinate</parameter><parameter name="$w" type="int">horizontal amplitude</parameter><parameter name="$h" type="int">vertical amplitude</parameter><return name="" type="bool">False if no image is set yet</return><description/><shortdescription>Fill an ellipse</shortdescription></doc></function><function name="fill_rectangle" undoc="false" access="public"><doc><parameter name="$x" type="int">left X coordinate</parameter><parameter name="$y" type="int">left Y coordinate</parameter><parameter name="$w" type="int"/><parameter name="$h" type="int"/><return name="" type="bool">False if no image is set yet</return><description/><shortdescription>Fill a rectangle</shortdescription></doc></function><function name="get_image" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>Get the current image resource id#</shortdescription></doc></function><function name="set_image" undoc="false" access="public"><doc><parameter name="$im" type="int">resource id#</parameter><return type="void"/><description/><shortdescription>Set the image resource id# to draw on</shortdescription></doc></function><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>