Project

General

Profile

« Previous | Next » 

Revision b73dcaa7

Added by Leszek Koltunski over 7 years ago

Javadoc

View differences:

src/main/java/org/distorted/library/DistortedBitmap.java
23 23

  
24 24
///////////////////////////////////////////////////////////////////////////////////////////////////
25 25
/**
26
 * Wrapper around the standard Android Bitmap class to which one can apply graphical effects.
27
 * <p>
28
 * General idea is as follows:
29
 * <ul>
30
 * <li> Create an instance of DistortedBitmap
31
 * <li> Paint something onto the Bitmap that's backing it up
32
 * <li> Apply some effects
33
 * <li> Draw it!
34
 * </ul>
35
 * <p>
36
 * The effects we can apply fall into three general categories:
37
 * <ul>
38
 * <li> Matrix Effects, i.e. ones that change the Bitmap's ModelView Matrix (moves, scales, rotations)
39
 * <li> Vertex Effects, i.e. effects that are implemented in the Vertex Shader. Those typically change
40
 *      the shape of (some sub-Region of) the Bitmap in some way (deforms, distortions, sinks)
41
 * <li> Fragment Effects, i.e. effects that change (some of) the pixels of the Bitmap (transparency, macroblock)
42
 * </ul>
43
 * <p>
44
 * 
26
 * DistortedObject descendant - with a Grid of flat rectangles.
45 27
 */
46 28
public class DistortedBitmap extends DistortedObject
47 29
   {

Also available in: Unified diff