BookMorph size and printing
Ned Konz
ned at bike-nomad.com
Wed Sep 19 16:48:01 UTC 2001
On Wednesday 19 September 2001 06:24 am, Gary McGovern wrote:
> Hello,
> I'm trying to finish off a project, but I definitely need a couple of
> features that I can't get, and I am hoping someone can help.
>
> I need to have BookMorphs with an infinite or expandable size and also the
> capacity to print the pages. The project is mind maps / concept maps, and
> these can grow to be quite large.
Note that even if you use TwoWayScrollPanes to implement this, each
PasteUpMorph hangs on to a full-sized bitmap. These can be huge. But if
that's what you need, look at what I did in my Connectors with the
NCScrolledCompositeStateMorph.
I may do a ScrolledPageMorph sometime soon for a project of my own; this
would be a subclass of TwoWayScrollPane that would have a PasteUpMorph. It
would limit its size to the size of the PasteUpMorph (I think), and would
have an API to set its underlying page size. Or I'd change BookMorph to call
pageSize: (a new method I'd write) rather than extent:.
And it would print full-sized pages, with no scroll bars.
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|