home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13118 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!tai50080
  3. From: tinsel@uiuc.edu (Thomas Aaron Insel)
  4. Subject: Re: NOVICE MAC programmer questions
  5. References: <1992Jul28.002330.20244@silvlis.com>
  6. Message-ID: <Bs4CJs.67E@news.cso.uiuc.edu>
  7. Originator: tai50080@uxa.cso.uiuc.edu
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Reply-To: tinsel@uiuc.edu
  10. Organization: {not speaking for the} University of Illinois at Urbana
  11. Distribution: usa
  12. Date: Tue, 28 Jul 1992 21:47:49 GMT
  13. Lines: 26
  14.  
  15. patf@silvlis.com (Pat Fitzgibbons) writes:
  16.  
  17. >   2. How do people get artwork into their C programs ?
  18. >      My girlfriend is an artist and can draw 
  19. >      phenominal things on a computer. How do 
  20. >      I use these drawings in a program ? Does
  21. >      she just use some sort of paint program 
  22. >      and run something to convert the drawings
  23. >      or is there a special tool for drawing 
  24. >      things for a C program ?
  25.  
  26. This bit is easy.  No conversion, and very few special tools
  27. are needed.  Draw your picture in a paint or drawing program, and
  28. copy it to the clipboard as a PICT (the usual format for 
  29. cut-n-paste of pictures).  Then, use ResEdit to paste these
  30. into your program's resource file as PICT resources.  When you
  31. want to use one, you can load it with GetPicture() and display
  32. it one of many ways--Quickdraw has many commands for manipulating
  33. and displaying pictures, or you can set a window to automatically
  34. display a certain picture (so you don't have to worry about
  35. update events and such).  The details for just about all of this
  36. are in Inside Macintosh I.
  37. -- 
  38. Thomas Aaron Insel (tinsel@uiuc.edu)
  39.   I speak for myself, and not for the State or University of Illinois.
  40.   "We must not confuse dissent with disloyalty." -- Edward R. Murrow
  41.