TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Pascal Dutilleul
from: Rob Basler
date: 1994-08-08 13:34:00
subject: graphics

PD>I'm looking for some GPI-functions for grabbing a rectangle from my window.
PD>Currently I'm working on a library for sprites.  My idea is
PD>before actually putting a sprite (=bitmap) on the screen, I
PD>have to save the information that will be overwritten by my
PD>sprite.  So when I move my sprite to another position, I'll
PD>be able to restore the background.

PD>Thus I need a function (like Borland's GETIMAGE) to capture the contents of
PD>an area of pels (e.g. in a bitmap).  Unther DOS it's simple
PD>: just look in the videomemory.

Check out DLIB06.ZIP, it is a high-performance graphics library which
includes sprites for OS/2.  It also will tell you one way to do what you
want to do.

Rob.
___
 X SLMR 2.1a X I haven't lost my mind...it's backed up on tape somewhere

--- Maximus/2 2.01wb

* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 153/905 918 767 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.