Connectors 2.0 questions
hjh-sqlist at lexdb.net
hjh-sqlist at lexdb.net
Tue Dec 21 18:23:26 UTC 2004
Quoting Michael Latta <lattam at mac.com>:
> 5) Is there a means of getting a selection from the screen into a
> document? JPeg would be tolerable, but PDF, SVG, or other vector
> format would be better.
In a Workspace evaluate
Form fromUser writeJPEGfileNamed: 'myFile.jpeg'
This gives you a cursor with which you select the rectangular screen area you
like to have written to the file.
Browse the class side of class form, category 'Instance creation' and the
instance side of the same class, category 'fileIn/out' for more information.
I once was possible to create EPS output from Morphic, but I haven't tested it
recently. There was (is) a visitor framework which could be extended to create
SVG output.
Hannes
See also:
http://minnow.cc.gatech.edu/squeak/697
More information about the Squeak-dev
mailing list
|