it's nice that Rect:- and Rect+ were added recently.
to complete this can someone commit these too?
+Rect{
/ {|that|
var thatRect;
thatRect = that.asRect;
^Rect(
this.left / thatRect.left,
this.top / thatRect.top,
this.width / thatRect.width,
this.height / thatRect.height
)
}
* {|that|
var thatRect;
thatRect = that.asRect;
^Rect(
this.left * thatRect.left,
this.top * thatRect.top,
this.width * thatRect.width,
this.height * thatRect.height
)
}
}
tom tlalim
....................
www.tomtlalim.tk
radio.sampleandhold.org
www.myspace.com/intowhite
www.club-mtk.tk
www.tangiercluj.tk
....................
_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev