[comp.sys.mac.programmer] CopyBits ?????

steelem@boulder.Colorado.EDU (STEELE MARK ALLEN) (03/06/90)

I have managed to load in a picture resource, draw it to a rectangle
on an off screen bit map (I assume I am getting it drawn) I looked at
the resource and it looks ok if I send it straight to the screen. So
What I did then is set up a destination rectangle on the main screen
and did a CopyBits to it with the following code:
	offScreenBitMap	: BitMap;
	srcRect	: Rect;
	dstRect : Rect;

CopyBits(offScreenBitMap,myWindow^.portBits,srcRect,dstRect,srcCopy,NIL);

and the garbage I get on the screen is incredible!! If I run the same
steps in a program that draws to the screen (no windows, menus etc.) it
works perfectly, why not on a window???

Question #2:
	Symantec advertises all the products that have been developed
with think pascal and think C well what did they use to develope their languages
in???
	-Mark Steele

Philip.Craig@p27.f22.n282.z1.FIDONET.ORG (Philip Craig) (03/08/90)

In a message to All [06 Mar 90 06:16:00] STEELE MARK ALLEN writes:

 >Question #2:
 >        Symantec advertises all the products that have been developed
 >with think pascal and think C well what did they use to develope
 >their languages
 >in???

Most probably, they were written in Think Pascal and Think C for the last few product evolutions.

--  
Philip Craig - via FidoNet node 1:282/33
UUCP: ...!uunet!imagery!22.27!Philip.Craig
ARPA: Philip.Craig@p27.f22.n282.z1.FIDONET.ORG

mikem@uhccux.uhcc.hawaii.edu (Mike Morton) (03/13/90)

Philip Craig writes about Think products:
>Most probably, they were written in Think Pascal and Think C for the last
>few product evolutions.

If memory serves, Think C was compiling itself back when it was version 1.0
(which us old-timers remember as LightspeedC).  Mike Kahl says he switched
from using another C (don't know which) as soon as he could bootstrap.

 -- Mike Morton // P.O. Box 11299, Honolulu, HI  96828, (808) 676-6966 HST
      Internet: mikem@uhccux.uhcc.hawaii.edu
    (anagrams): Mr. Machine Tool; Ethical Mormon; Chosen Immortal; etc.