www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/21/13:44:39

Message-Id: <199609211733.MAA00686@ghgcorp.ghgcorp.com>
Comments: Authenticated sender is <rbachtel AT mailman DOT ghgcorp DOT com>
From: "Bachtel" <rbachtel AT ghgcorp DOT com>
To: djgpp AT delorie DOT com
Date: Fri, 20 Sep 1996 17:12:41 +0000
MIME-Version: 1.0
Subject: GRX20 BitBlt, please help!!

I am (almost) certain that this question got through the last time I 
posted it, but I've been wrong before (many times) and I'll be wrong 
again (many times), I'm sure.

Anyway, in GRX20 (I'm using DJGPP2.0), what is the proper syntax for 
using GrBitBlt as a sprite function? I tried to use the same syntax 
in the BitBlt demo that came with GRX20, but to no avail. I can 
create a context, and copy (I think) the data from 0,0 to 39,39 
(copying with BitBlt) on the screen, but when I make a nice loop to 
put the stored context (the sprite) at random locations on the 
screen, and the block is written over the part of the screen where 
the original sprite was saved from, the saved sprite seeems to 
change. Note that the sprite created with GrCreateSubContext, but 
GrCreateContext.

Anyway, if anyone can point me to help (no docs in my copy of grx20, 
and I haven't found the docs for the original on which its based), I 
will be _very_ appreciative.

Cheers,
Jeff
rbachtel AT ghgcorp DOT com
shotoftequila AT juno DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019