Thread View: net.micro.mac
1 messages
1 total messages
Started by Mark N. Hume
Thu, 21 Feb 1985 19:03
How does MacDraw use the PICT resource, and selecting objects?
Author: Mark N. Hume
Date: Thu, 21 Feb 1985 19:03
Date: Thu, 21 Feb 1985 19:03
21 lines
1458 bytes
1458 bytes
I am trying to determine the format of PICT resources and how MacDraw in particular picks apart the commands therein. I would like to take a PICT resource from MacDraw and use it in a program I am writing (mainly because for now, I don't want to have to write the drawing code myself). Does MacDraw use Picture comments to determine the objects in a PICT? When MacDraw does find out the pict structure, what kind of data structure does it store the objects in? Any ideas? Another question I have is whether there is an easy way of telling what objects a user has selected on the screen. So far the only way I have thought of is by comparing the point of selection (or rectangle of selection) to every single object (actually, the rectangle enclosing the object, since for now my objects cannot overlap). Is there a more intelligent (faster/easier) way. Thanks for any help, Mark Hume -- Mark N. Hume
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads