home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-08-03 | 1.5 KB | 45 lines | [TEXT/CWIE] |
- BSDOffscreenLib v1.0.2
- BuggySoft™ Development
- By Scott Dunbar.
- © 1997.
-
- email: buggysft@aimnet.com
- web: http://www.aimnet.com/~buggysft/
- ftp: ftp://ftp.aimnet.com/pub/users/buggysft/
-
- BSDOffscreenLib is a CodeWarrior 11 library that I made for my own use in a game of ours
- called Torture Chamber. You can use this lib free of charge.
-
- It makes doing to following much easier:
-
- copying from a Window to another Window
- copying from a Window to a GWorld
- copying from a GWorld to a Window
- copying from a GWorld to a GWorld
-
- There are also some routines for creating GWorlds and manipulating them. There are 4
- variations of the copying routines.
-
- They are:
- xxxx2xxxx(); // straight copy
- xxxx2xxxxRect(); // copy using provided src & dest Rects
- xxxx2xxxxRgn(); // copy using provided clipping rgn
- xxxx2xxxxRectRgn(); // copy using both Rects and Rgn
- xxxx2xxxxMask(); // copy using masks
-
- Other routines are:
- Screen2GWorld(); // copy the screen to a GWorld
-
- QuickGWorld(); // make a GWorld with only one paramter
- CreateGWorldEmpty(); // make an exmpty GWorld with a given bit depth
- CreateGWorldPict(); // make a GWorld with a picture
- CreateGWorldPattern(); // make a GWorld with a Patter (untested)
- CreateGWorld(); // make a GWorld (all paramters available)
- OpenGWorld(); // opens a GWorld for editing
- CloseGWorld(); // closes the GWorld opened with OpenGWorld()
-
- Check out the header, "BSDOffscreen.h," for a complete list of them.
- Take a look at the example I've included for more detailed use of this library.
-
- Thanks!
- - Scott Dunbar