🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #19804

Drawpicture from C - HELP!!

#19804
From: Joe Gervais
Date: Sun, 04 Oct 1987 05:41
23 lines
1488 bytes
	I'm programing in Megmax C (v. 2.0 (?)) and after defining a picture
and closing it, I can draw it in the original srcrect but if I try to move it I don't get anything.  I "believe" I'm doing it correctly, but I just don't get   anything.  Even just offsetting the srcrect (so as not to change size and need  scaling) it doesn't work.


      	pichandle pik;
	
	/* set two rects  */

        pik = openpicture(&pikrect2);
	.
	.
	closepicture();
	drawpicture(pik,&pikrect2);  /*<-- works*/
	drawpicture(pik,&pikrect1);  /* <-- nada.. */

	Is there is some common error I'm missing in declaration (I've tried simple forms as well as my picture) or some problem in C or Megamax specifically or ANYTHING?!?  Any advice except telling me to use lightspeed is GREATLY 
appreciatted!!!   That's about all...  I'm Tod but mail c/o Joe Gervais
@ sdcc18 UC San Diego Computing Center...

			Thanks in advance...
				-tk
			   Rebel w/o a clue..
Technical Details
Message-ID: <773@sdcc18.ucsd.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!ucbvax!sdcsvax!sdcc6!sdcc18!cs161aey

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!ucbvax!sdcsvax!sdcc6!sdcc18!cs161aey
From: cs161aey@sdcc18.ucsd.EDU (Joe Gervais)
Newsgroups: comp.sys.mac
Subject: Drawpicture from C - HELP!!
Message-ID: <773@sdcc18.ucsd.EDU>
Date: Sun, 4-Oct-87 01:41:17 EDT
Article-I.D.: sdcc18.773
Posted: Sun Oct  4 01:41:17 1987
Date-Received: Wed, 7-Oct-87 06:17:34 EDT
Organization: University of California, San Diego
Lines: 23
Keywords: Am I doing it wrong?!?