gnu.x11.extension.render
Class Picture

java.lang.Object
  extended by gnu.x11.Resource
      extended by gnu.x11.extension.render.Picture

public class Picture
extends Resource

Picture in RENDER.


Nested Class Summary
static class Picture.Attributes
          ValueList for Picture.
static class Picture.Format
          RENDER picture format.
 
Field Summary
 Drawable drawable
           
static Picture NONE
          Predefined picture.
 Render render
           
 
Fields inherited from class gnu.x11.Resource
display, id
 
Constructor Summary
Picture(int id)
          Predefined.
Picture(Render render, Drawable drawable, Picture.Format format, Picture.Attributes attr)
           
 
Method Summary
 void change(Picture.Attributes attr)
           
 void fill_rectangle(int op, Color color, int x, int y, int width, int height)
           
 void free()
           
 void scale(int color_scale, int alpha_scale, Picture src, int src_x, int src_y, int dst_x, int dst_y, int width, int height)
           
 void set_clip_rectangles(int x_origin, int y_origin, Rectangle[] rectangles)
           
 
Methods inherited from class gnu.x11.Resource
unintern
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final Picture NONE
Predefined picture.

See Also:
Window.NONE

render

public Render render

drawable

public Drawable drawable
Constructor Detail

Picture

public Picture(int id)
Predefined.


Picture

public Picture(Render render,
               Drawable drawable,
               Picture.Format format,
               Picture.Attributes attr)
See Also:
XRenderCreatePicture, Render.create_picture(Drawable, Picture.Format, Picture.Attributes)
Method Detail

change

public void change(Picture.Attributes attr)
See Also:
XRenderChangePicture

set_clip_rectangles

public void set_clip_rectangles(int x_origin,
                                int y_origin,
                                Rectangle[] rectangles)
See Also:
XRenderSetPictureClipRectangles

free

public void free()
See Also:
XRenderFreePicture

scale

public void scale(int color_scale,
                  int alpha_scale,
                  Picture src,
                  int src_x,
                  int src_y,
                  int dst_x,
                  int dst_y,
                  int width,
                  int height)

fill_rectangle

public void fill_rectangle(int op,
                           Color color,
                           int x,
                           int y,
                           int width,
                           int height)
See Also:
XRenderFillRectangle