Disclaimer: I haven't tried this and I know some things won't work but
....
As a matter of fact, the BalloonCanvas should be able to help you with
that. I used to be able to draw pretty much everything with a
(rotated, scaled whatever) balloon canvas. Some things were not
complete though; most notably dealing with text. So you might want to
give it a try by simply converting your regular canvas into a balloon
canvas and see what you get.
Cheers,
- Andreas
> -----Original Message-----
> From: squeak-dev-bounces_at_lists.squeakfoundation.org
> [mailto:squeak-dev-bounces_at_lists.squeakfoundation.org] On
> Behalf Of cg_at_cdegroot.com
> Sent: Wednesday, October 29, 2003 4:52 PM
> To: squeak-dev_at_lists.squeakfoundation.org
> Subject: 'Real' zooming&panning
>
>
> Hi All,
>
> Long time no speak. I'm delurking because I have a problem in
> Morphic that some of you hopefully can easily answer: still working
> on the supersecret design package with Chris Alexander, we want
> to have our
> designs zoom, pan, and make coffee. Well, mostly the first
> two, the last
> one is a feature for the next release ;-)
>
> Anyway, TwoWayScrollPane does almost exactly what we want, but in a
> completely ugly way - I never realized that the transformations in
> Morphic first draw and then scale, instead of just telling
> the affected
> morphs that they are living in an altered coordinate space
> (like, IIRC,
> Postscript). The result is that if you zoom a polygon, you suddenly
> get twice as thick borders, ugly handles, etcetera.
>
> Given that we want to be able to zoom from the neighbourhood level
> all the way down to the individual holes in your kitchensink, this
> ain't going to cut it.
>
> Is there a way to do 'real', vector-oriented, scaling in Morphic? If
> not, what would be the easiest solution to get something workable?
>
> TIA,
>
> Cees