home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- 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
- From: tinsel@uiuc.edu (Thomas Aaron Insel)
- Subject: Re: NOVICE MAC programmer questions
- References: <1992Jul28.002330.20244@silvlis.com>
- Message-ID: <Bs4CJs.67E@news.cso.uiuc.edu>
- Originator: tai50080@uxa.cso.uiuc.edu
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: tinsel@uiuc.edu
- Organization: {not speaking for the} University of Illinois at Urbana
- Distribution: usa
- Date: Tue, 28 Jul 1992 21:47:49 GMT
- Lines: 26
-
- patf@silvlis.com (Pat Fitzgibbons) writes:
-
- > 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 ?
-
- This bit is easy. No conversion, and very few special tools
- are needed. Draw your picture in a paint or drawing program, and
- copy it to the clipboard as a PICT (the usual format for
- cut-n-paste of pictures). Then, use ResEdit to paste these
- into your program's resource file as PICT resources. When you
- want to use one, you can load it with GetPicture() and display
- it one of many ways--Quickdraw has many commands for manipulating
- and displaying pictures, or you can set a window to automatically
- display a certain picture (so you don't have to worry about
- update events and such). The details for just about all of this
- are in Inside Macintosh I.
- --
- Thomas Aaron Insel (tinsel@uiuc.edu)
- I speak for myself, and not for the State or University of Illinois.
- "We must not confuse dissent with disloyalty." -- Edward R. Murrow
-