home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!jahnke@biosci.arizona.edu
- From: jahnke@biosci.arizona.edu (Jerome Jahnke)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: NOVICE MAC programmer questions
- Message-ID: <1992Jul28.230350.13891@organpipe.uug.arizona.edu>
- Date: 28 Jul 92 23:03:50 GMT
- References: <1992Jul28.002330.20244@silvlis.com>
- Sender: news@organpipe.uug.arizona.edu
- Distribution: usa
- Organization: Biology Learning Center
- Lines: 49
-
- In article <1992Jul28.002330.20244@silvlis.com>, patf@silvlis.com (Pat Fitzgibbons) writes:
- >
- > 1. Are there any books which would tell
- > me how to get started on mac or will
- > it be obvious from the Think C manuals ?
-
- Get the Macintosh Programming Primer vol 2 at least by Mark Reed. It will get
- you off and running with an app skeleton and clue you in on the basics.
-
- Get some volumes of Inside Mac (you might want to wait a few months as they
- are redoing them). I know you can check them out here at the U of A library,
- it might be another option for you.
-
-
- > 2. How do people get artwork into their C programs ?
- > My girlfriend is an artist and can draw
- > phenominal things on a computer. How do
- > I use these drawings in a program ? Does
- > she just use some sort of paint program
- > and run something to convert the drawings
- > or is there a special tool for drawing
- > things for a C program ?
-
- It all depends on what you want to do with the images. You can get a copy
- of ResEdit and copy the images to the clipboard (Cmd C) and then go into
- ResEdit, and depending on the drawing program, you can then paste it into
- a PICT resource. ResEdit is available for free at ftp.apple.com.
-
- All you have to do then is
- GetPicture( Resource_Number );
- and
- DrawPicture( PicHandle, PicRect );
-
- But you have to have a window to draw in and a few other things, all of which
- is explained in the Macintosh Programming Primers vol 1 and 2.
-
- > --
- > O O O Patrick Fitzgibbons /\ | These are my opinions.
- > \ / patf@silvlis.com /--\ Sunnyvale ) -- Any agreement with my
- > X /\/ \ CA | company is purely
- > / \ in / \ \ coincidental.
- >
-
- Jer,
- ----
- Jerome Jahnke
- Biology Learning Center
- University of Arizona
- 'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
-