gnu.x11.extension.render
Class DrawablePicture

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

public class DrawablePicture
extends Picture

Picture in RENDER.


Nested Class Summary
static class DrawablePicture.Attributes
          ValueList for DrawablePicture.
 
Field Summary
 Drawable drawable
           
 Render render
           
 
Fields inherited from class gnu.x11.extension.render.Picture
NONE
 
Fields inherited from class gnu.x11.Resource
display, id
 
Constructor Summary
DrawablePicture(Render render, Drawable drawable, PictFormat format, DrawablePicture.Attributes attr)
           
 
Method Summary
 void change(DrawablePicture.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, DrawablePicture 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
id, unintern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

render

public Render render

drawable

public Drawable drawable
Constructor Detail

DrawablePicture

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

change

public void change(DrawablePicture.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,
                  DrawablePicture 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