drawBezierShape primitive failed

Torsten Sadowski moehl at akaflieg.extern.tu-berlin.de
Mon Nov 25 06:46:59 UTC 2002


Hi,

while playing a bit with Balloon I got a primitive failed error on my Mac.
The offending code is:

drawOn: aCanvas
	myCanvas_aCanvas asBalloonCanvas.
	myCanvas drawBezierShape: #(10 at 10 10 at 50 50 at 50) color: Color red
		borderWidth: 2 borderColor: Color blue.
	myCanvas line:10 at 10 to:50 at 50 width:2 color: Color red.
	^myCanvas

The line works. Any idea whats wrong?

Torsten




More information about the Squeak-dev mailing list