gnu.x11.test
Class Blend

java.lang.Object
  extended by gnu.app.Application
      extended by gnu.x11.Application
          extended by gnu.x11.test.Graphics
              extended by gnu.x11.test.Blend

public class Blend
extends Graphics

Test blending in X Rendering Extension.

Modified from blend.c in render sample code by Keith Packard.

See Also:
screenshot, help output

Field Summary
 GC alpha_gc
           
 Picture alpha_picture
           
 Pixmap alpha_pixmap
           
 GC color_gc
           
 Picture color_picture
           
 Pixmap color_pixmap
           
 Render render
           
 Picture window_picture
           
 
Fields inherited from class gnu.x11.test.Graphics
event, leave_display_open, window
 
Fields inherited from class gnu.x11.Application
display, option
 
Fields inherited from class gnu.app.Application
exit_now, help_option
 
Constructor Summary
Blend(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void paint()
           
 
Methods inherited from class gnu.x11.test.Graphics
about, dispatch_event, exec
 
Methods inherited from class gnu.app.Application
about, exit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha_gc

public GC alpha_gc

color_gc

public GC color_gc

alpha_picture

public Picture alpha_picture

color_picture

public Picture color_picture

window_picture

public Picture window_picture

alpha_pixmap

public Pixmap alpha_pixmap

color_pixmap

public Pixmap color_pixmap

render

public Render render
Constructor Detail

Blend

public Blend(java.lang.String[] args)
      throws NotFoundException
Throws:
NotFoundException
Method Detail

paint

public void paint()
Overrides:
paint in class Graphics

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception