home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!wupost!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!unixg.ubc.ca!rudolph
- From: rudolph@unixg.ubc.ca (Christopher E Rudolph)
- Newsgroups: comp.sys.mac.programmer
- Subject: PixMaps
- Date: 14 Dec 92 00:03:57 GMT
- Organization: The University of British Columbia
- Lines: 22
- Message-ID: <rudolph.724291437@unixg.ubc.ca>
- NNTP-Posting-Host: unixg.ubc.ca
- Summary: How do I declare pixel data from scratch?
- Keywords: pixmap question
-
-
- Hello,
-
- I would like to declare pixel data for a PixMap data structure from
- within my program and not have to call the data from, say a cicn in a
- resource.
-
-
- Example:
-
- Say I had a ball that I would like to decribe in terms of actual pixels on
- the screen. How would I go about declaring an array of values for this
- ball, which I would then like to assign to the baseAddr field of the
- PixMap data structure.
-
- My biggest problem is I don't know how to go about defining the pixel image.
- If anyone could help me out with this I would really appreciate it.
-
- Thanks in advance,
-
- Chris Rudolph (ComputerScience, UBC) <rudolph@unixg.ubc.ca>
- ------------------------------------------------------------
-