gnu.app.redbook
Class Pixel
java.lang.Object
gnu.app.Application
gnu.x11.Application
gnu.x11.extension.glx.Application
gnu.app.redbook.Pixel
public class Pixel
- extends Application
Draw a checkerbard image with pixel operations. To demonstrate GL.draw_pixels(int, int, int, int, gnu.x11.Data)
, GL.copy_pixels(int, int, int, int, int)
, and GL.pixel_zoom(float, float)
. move
pointer while pressing BUTTON1.
- To draw,
- To increase zoom factor, press 'z'.
- To decrease zoom factor, press 'Z'.
- To reset, press 'r' or 'R'.
Modified from image.c
.
- See Also:
-
screenshot 4,
help output
Constructor Summary |
Pixel(java.lang.String[] args)
|
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pixel
public Pixel(java.lang.String[] args)
main
public static void main(java.lang.String[] args)