home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!agate!stanford.edu!apple!goofy!mumbo.apple.com!gallant.apple.com!seuss.apple.com!user
- From: absurd@apple.apple.com (Tim Dierks, software saboteur)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: PixMaps
- Message-ID: <absurd-131292203217@seuss.apple.com>
- Date: 14 Dec 92 04:59:35 GMT
- References: <rudolph.724291437@unixg.ubc.ca>
- Sender: news@gallant.apple.com
- Followup-To: comp.sys.mac.programmer
- Organization: MacDTS Marauders
- Lines: 38
-
- In article <rudolph.724291437@unixg.ubc.ca>, rudolph@unixg.ubc.ca
- (Christopher E Rudolph) wrote:
- >
- > 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 for reposting your question: your first version was kind of
- incomprehensible. [Note to all: if you're thinking of posting a question
- to c.s.m.p., the #1 thing you can do to improve your chances of getting
- an answer is write a clear, comprehensible question. People are less
- likely to answer if they're unsure of what you're asking.]
-
- Now back to our program....
-
- Read the "Graphics Overview" chapter of Inside Mac VI and the Tech Note
- previously numbered #120 "Principia Off-Screen Graphics Environments",
- by QuickDraw God (TM), Forrest Tanaka. (No, I don't know what it's
- called in the Brave New Tech Note World.)
-
- [This is where I tried to insert a description of how everthing works,
- but was unable to get it sounding right, so I deleted it. Read the
- documentation and the tech note; all will become clear.]
-
- Tim Dierks
- MacDTS pinball addict
-