home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13122 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  2.4 KB

  1. 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
  2. From: jahnke@biosci.arizona.edu (Jerome Jahnke)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: NOVICE MAC programmer questions
  5. Message-ID: <1992Jul28.230350.13891@organpipe.uug.arizona.edu>
  6. Date: 28 Jul 92 23:03:50 GMT
  7. References: <1992Jul28.002330.20244@silvlis.com>
  8. Sender: news@organpipe.uug.arizona.edu
  9. Distribution: usa
  10. Organization: Biology Learning Center
  11. Lines: 49
  12.  
  13. In article <1992Jul28.002330.20244@silvlis.com>, patf@silvlis.com (Pat Fitzgibbons) writes:
  14. >   1. Are there any books which would tell
  15. >      me how to get started on mac or will
  16. >      it be obvious from the Think C manuals ?
  17.  
  18. Get the Macintosh Programming Primer vol 2 at least by Mark Reed. It will get
  19. you off and running with an app skeleton and clue you in on the basics.
  20.  
  21. Get some volumes of Inside Mac (you might want to wait a few months as they
  22. are redoing them). I know you can check them out here at the U of A library,
  23. it might be another option for you.
  24.  
  25.  
  26. >   2. How do people get artwork into their C programs ?
  27. >      My girlfriend is an artist and can draw 
  28. >      phenominal things on a computer. How do 
  29. >      I use these drawings in a program ? Does
  30. >      she just use some sort of paint program 
  31. >      and run something to convert the drawings
  32. >      or is there a special tool for drawing 
  33. >      things for a C program ?
  34.  
  35. It all depends on what you want to do with the images. You can get a copy
  36. of ResEdit and copy the images to the clipboard (Cmd C) and then go into
  37. ResEdit, and depending on the drawing program, you can then paste it into
  38. a PICT resource. ResEdit is available for free at ftp.apple.com.
  39.  
  40. All you have to do then is 
  41.      GetPicture( Resource_Number );
  42. and
  43.      DrawPicture( PicHandle, PicRect );
  44.  
  45. But you have to have a window to draw in and a few other things, all of which
  46. is explained in the Macintosh Programming Primers vol 1 and 2.
  47.  
  48. > --
  49. >  O O O  Patrick Fitzgibbons   /\            |         These are my opinions.
  50. >   \ /    patf@silvlis.com    /--\  Sunnyvale ) --     Any agreement with my 
  51. >    X                      /\/    \   CA     |         company is purely     
  52. >   / \        in          /  \     \                   coincidental.         
  53.  
  54. Jer,
  55. ----
  56. Jerome Jahnke
  57. Biology Learning Center
  58. University of Arizona
  59. 'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
  60.