🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #47316

Displaying 'PICT's in Think Pascal 2.03

#47316
From: STEELE MARK ALLEN
Date: Sat, 03 Mar 1990 22:59
10 lines
1256 bytes
I am trying to write a program in Think Pascal 2.03 that will display a 
PICT resource. The problem is as follows: I created a resource with ResEdit
pasted the picture into the PICT resource number 400, I checked the size
of the rectangle, then in my project I used the command GetPicture(400) to
get the pict resource ( I remebered to check the box in the run options...)
then I set up a rectangle of the same size as the picture.rectangle, then
copied the picture into that rectangle on the screen as ugh!!! the mess 
that displays on the screen is nothing near what the PICT should be.
What am I forgetting?????
			-Mark Steele
Technical Details
Message-ID: <17714@boulder.Colorado.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!mailrus!ncar!boulder!steelem
References: <940@uvicctr.UVic.CA.UUCP> <1990Mar3.190730.15647@mintaka.lcs.mit.edu> <25f046a2.6509@polyslo.CalPoly.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!mailrus!ncar!boulder!steelem
From: steelem@boulder.Colorado.EDU (STEELE MARK ALLEN)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Displaying 'PICT's in Think Pascal 2.03
Message-ID: <17714@boulder.Colorado.EDU>
Date: 3 Mar 90 22:59:16 GMT
References: <940@uvicctr.UVic.CA.UUCP> <1990Mar3.190730.15647@mintaka.lcs.mit.edu> <25f046a2.6509@polyslo.CalPoly.EDU>
Sender: news@boulder.Colorado.EDU
Reply-To: steelem@boulder.Colorado.EDU (STEELE MARK ALLEN)
Distribution: usa
Organization: University of Colorado, Boulder
Lines: 10