[Q] slow animated dashed lines/connectors

Martin Drautzburg martin.drautzburg at web.de
Sat Apr 19 20:47:12 UTC 2003


Ned Konz <ned at bike-nomad.com> writes:


> For instance, try this Workspace code.
> 
> p _ PolygonMorph new setVertices: { 0 at 0. 100 at 100 }; makeOpen.
> p openInWorld.
> fc _ FormCanvas extent: p fullBounds extent.
> p drawOn: fc.
> fc form openAsMorph.

Oh it is a easy as that ! And for complex morphs I use #fullDrawOn:
right ?. Only remaining problem is it works with fully transparent and
opaque colors but not with translucent colors. What is the magic word
?

And yes - it is faster than dragging the original Morph.

This still redraws the background right ? While we're at it and just
for the hell of it: could we apply a similar caching thingy to
the background ?



More information about the Squeak-dev mailing list