Copy Bits Demo 31 C
Copy Bits Demo 31 C
Development · info-mac
| Filename | copy-bits-demo-31-c.hqx |
|---|---|
| Size | 152.9 KB (156570 bytes) |
| Downloads | 2 |
About
CopyBits Demo 3.1 is Freeware and may be included on the CD version of the Info-Mac archives.
Requires System 7 or later.
CopyBits Demo is an example project that gives several examples of using CopyBits to copy pictures both on screen and between offscreen Graphics Worlds and an onscreen window (as well as between GWorlds). It also allows you to experiment with using CopyBits, CopyMask, and CopyDeepMask using different images, masks, and transfer modes. It does all the following things using CopyBits and its variations:
1) Fade an area of the screen to black (using three different methods). 2) Demonstrates "flickering" regular animation vs. smooth animation. 3) Fades one image into another. (and new in v2.0) 4) "Pixelizes" and "depixelizes" an image (an animation effect where the picture ends up in a very blocky representation of the original). 5) Blurs an image. 6) Flips an image horizontally or vertically. 7) Applies fading effects to the entire screen rather than just part of a window. (and new in v3.0) 8) Slides one image onto another from any of the four major directions. 9) Imposes one image onto another inside a growing circle, or outside a shrinking circle. 10) Demonstrates several of the techniques on the full screen rather than just part of the window. 11) Demonstrates font anti-aliasing using CopyBits with the ditherCopy constant added to the transfer mode.
All the code and the project file to build the demo app is included (Metrowerks CodeWarrior C). The code is well documented.
Written by Kenneth Worley - [email protected]
File Info
This file is from the info-mac archive. It is BinHex encoded — use The Unarchiver to decode it.