wardlaw@hope.UUCP (Johnie Wardlaw) (07/07/86)
I have a question:
I have a 1040 ST and I use the Megamax C compiler. What I want to do is
load in a DEGAS picture into memory and then copy parts of it into BITBLK
images that can be drawn using the objc_draw() routine. I think that it
is reading in okay, but I can't be sure because it isn't putting anything
on the screen in ANY of the resolutions. What I do is read the DEGAS file
into a 32000 byte character array (allocated with malloc()) and then
use type casting to read the bytes into the integer array. I declared
each of my images as an OBJECT (not OBJECT *). Could this be the problem?
I create the BITBLK record with malloc(). Nothing is drawn. Any help
would be greatly appreciated! Thanks in advance,
/*********************************************************\
** Johnie Wardlaw, Undergraduate: Computer Science **
** University of California, Riverside **
** {ucbvax!ucdavis, ihnp4!ucla-cs} ucrmath!hope!wardlaw **
** **
** "If that was foreplay, I'm a dead man!" **
** -- Cocoon (alien sex scene) **
\*********************************************************/