[Q] slow animated dashed lines/connectors
Martin Drautzburg
martin.drautzburg at web.de
Sat Apr 19 18:36:22 UTC 2003
Ned Konz <ned at bike-nomad.com> writes:
> But the simplest way to do this kind of thing in general is to use a
> FormCanvas and tell your Morph to draw on the FormCanvas. This
> renders to a real Form that can then be used to draw with later.
Okay I tried that
|form rect|
rect _ (SchemeView example2).
form _ FormCanvas extent: rect extent.
rect drawOnCanvas: form.
[Sensor anyButtonPressed]
whileFalse: [
form showAt: Sensor cursorPoint]
I can move the form around in no time. Nice. But of course is destroys
my background. Are you aware of any code I could steel ideas from for
fast dragging. (This is NOT the animation issue but the dragging issue
from an earlier thread)
More information about the Squeak-dev
mailing list
|