[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider: [7394] trunk/build/SCClassLibrary/Common/ Geometry/Rect.sc



Revision: 7394
          http://svn.sourceforge.net/supercollider/?rev=7394&view=rev
Author:   cruxxial
Date:     2008-02-29 12:25:43 -0800 (Fri, 29 Feb 2008)

Log Message:
-----------
just moving the CoreGraphics/Quartz comment down to the appropriate method

Modified Paths:
--------------
    trunk/build/SCClassLibrary/Common/Geometry/Rect.sc

Modified: trunk/build/SCClassLibrary/Common/Geometry/Rect.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Geometry/Rect.sc	2008-02-29 20:21:41 UTC (rev 7393)
+++ trunk/build/SCClassLibrary/Common/Geometry/Rect.sc	2008-02-29 20:25:43 UTC (rev 7394)
@@ -1,6 +1,4 @@
 
-// the drawing routines in these classes use Quickdraw.
-// If you want CoreGraphics drawing, use methods in Pen.
 
 Rect {
 	var <>left=0, <>top=0, <>width=0, <>height=0;
@@ -132,6 +130,8 @@
 		stream << this.class.name << "(" <<* [left, top, width, height] << ")";
 	}
 	
+	// the drawing routine here use Quickdraw.
+	// If you want CoreGraphics drawing, use methods in Pen.
 	draw { arg color, operation=2;
 		_Rect_Draw
 		^this.primitiveFailed
@@ -148,6 +148,7 @@
 	}
 	hash { ^left.hash bitXor: top.hash bitXor: width.hash bitXor: height.hash }
 	
+	// deprec
 	layout { arg argBounds; 
 		this.set(argBounds.left, argBounds.top, argBounds.width, argBounds.height);
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.