gnu.x11.extension.render
Class Render
java.lang.Object
gnu.x11.extension.Extension
gnu.x11.extension.render.Render
- All Implemented Interfaces:
- ErrorFactory
public class Render
- extends Extension
- implements ErrorFactory
X Rendering Extension.
This extension is still under active development. Please check its homepage.
The implemented version is XRender 0.0.14.
Method Summary |
Error |
build(Display display,
int code,
int seq_no,
int bad,
int minor_opcode,
int major_opcode)
|
void |
composite_glyphs(int op,
Picture src,
Picture dst,
PictFormat mask_format,
GlyphSet glyphset,
int src_x,
int src_y,
int dst_x,
int dst_y,
Glyph[] glyphs)
|
void |
composite(int op,
Picture src,
Picture mask,
Picture dst,
int src_x,
int src_y,
int mask_x,
int mask_y,
int dst_x,
int dst_y,
int width,
int height)
|
DrawablePicture |
create_picture(Drawable drawable,
PictFormat format,
DrawablePicture.Attributes attr)
|
Picture |
create_solid_fill(int red,
int green,
int blue,
int alpha)
Creates a Picture instance for a solid fill operation with the specified
color. |
void |
dithers(Drawable drawable)
|
java.lang.String |
more_string()
Additional information such as client version and server version to
display in toString() . |
PictFormat |
picture_format(PictFormat.Template template,
boolean must)
|
PictFormat[] |
picture_formats()
|
void |
picture_index_values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MINOR_OPCODE_STRINGS
public static final java.lang.String[] MINOR_OPCODE_STRINGS
CLIENT_MAJOR_VERSION
public static final int CLIENT_MAJOR_VERSION
- See Also:
- Constant Field Values
CLIENT_MINOR_VERSION
public static final int CLIENT_MINOR_VERSION
- See Also:
- Constant Field Values
server_major_version
public int server_major_version
server_minor_version
public int server_minor_version
CLEAR
public static final int CLEAR
- See Also:
- Constant Field Values
SRC
public static final int SRC
- See Also:
- Constant Field Values
DST
public static final int DST
- See Also:
- Constant Field Values
OVER
public static final int OVER
- See Also:
- Constant Field Values
OVER_REVERSE
public static final int OVER_REVERSE
- See Also:
- Constant Field Values
IN
public static final int IN
- See Also:
- Constant Field Values
IN_REVERSE
public static final int IN_REVERSE
- See Also:
- Constant Field Values
OUT
public static final int OUT
- See Also:
- Constant Field Values
OUT_REVERSE
public static final int OUT_REVERSE
- See Also:
- Constant Field Values
ATOP
public static final int ATOP
- See Also:
- Constant Field Values
ATOP_REVERSE
public static final int ATOP_REVERSE
- See Also:
- Constant Field Values
XOR
public static final int XOR
- See Also:
- Constant Field Values
ADD
public static final int ADD
- See Also:
- Constant Field Values
SATURATE
public static final int SATURATE
- See Also:
- Constant Field Values
MAXIMUM
public static final int MAXIMUM
- See Also:
- Constant Field Values
BAD_PICTURE_FORMAt
public static final int BAD_PICTURE_FORMAt
- See Also:
- Constant Field Values
BAD_PICTURE
public static final int BAD_PICTURE
- See Also:
- Constant Field Values
BAD_PICTURE_OPERATIOR
public static final int BAD_PICTURE_OPERATIOR
- See Also:
- Constant Field Values
BAD_GLYPH_SET
public static final int BAD_GLYPH_SET
- See Also:
- Constant Field Values
BAD_GLYPH
public static final int BAD_GLYPH
- See Also:
- Constant Field Values
ERROR_STRINGS
public static final java.lang.String[] ERROR_STRINGS
Render
public Render(Display display)
throws NotFoundException
- Throws:
NotFoundException
picture_formats
public PictFormat[] picture_formats()
picture_index_values
public void picture_index_values()
dithers
public void dithers(Drawable drawable)
composite
public void composite(int op,
Picture src,
Picture mask,
Picture dst,
int src_x,
int src_y,
int mask_x,
int mask_y,
int dst_x,
int dst_y,
int width,
int height)
- Parameters:
operation
- CLEAR
SRC
DST
OVER
OVER_REVERSE
IN
IN_REVERSE
OUT
OUT_REVERSE
ATOP
ATOP_REVERSE
XOR
ADD
SATURATE
MAXIMUM
- See Also:
- XRenderComposite
composite_glyphs
public void composite_glyphs(int op,
Picture src,
Picture dst,
PictFormat mask_format,
GlyphSet glyphset,
int src_x,
int src_y,
int dst_x,
int dst_y,
Glyph[] glyphs)
build
public Error build(Display display,
int code,
int seq_no,
int bad,
int minor_opcode,
int major_opcode)
- Specified by:
build
in interface ErrorFactory
create_picture
public DrawablePicture create_picture(Drawable drawable,
PictFormat format,
DrawablePicture.Attributes attr)
- See Also:
DrawablePicture#Picture(Render, Drawable, DrawablePicture.Format, DrawablePicture.Attributes)
create_solid_fill
public Picture create_solid_fill(int red,
int green,
int blue,
int alpha)
- Creates a Picture instance for a solid fill operation with the specified
color. Only the least significant 16 bit of the values are used.
- Parameters:
red
- the red componentgreen
- the green componentblue
- the blue componentalpha
- the alpha component
- Returns:
- a solid fill
picture_format
public PictFormat picture_format(PictFormat.Template template,
boolean must)
- See Also:
- XRenderFindFormat
more_string
public java.lang.String more_string()
- Description copied from class:
Extension
- Additional information such as client version and server version to
display in
toString()
.
- Overrides:
more_string
in class Extension