gnu.x11.extension.render
Class Picture.Format

java.lang.Object
  extended by gnu.x11.Data
      extended by gnu.x11.extension.render.Picture.Format
Enclosing class:
Picture

public static class Picture.Format
extends Data

RENDER picture format.


Nested Class Summary
static class Picture.Format.Direct
          RENDER direct format.
 
Field Summary
static int ALPHA_BIT
           
static int ALPHA_MASK_BIT
           
 int bitmask
           
static int BLUE_BIT
           
static int BLUE_MASK_BIT
           
static int COLORMAP_BIT
           
static int DEPTH_BIT
           
static int GREEN_BIT
           
static int GREEN_MASK_BIT
           
static int ID_BIT
           
static int LENGTH
           
static int RED_BIT
           
static int RED_MASK_BIT
           
static int TYPE_BIT
           
static java.lang.String[] TYPE_STRINGS
           
 
Fields inherited from class gnu.x11.Data
data, index, offset
 
Constructor Summary
Picture.Format()
           
Picture.Format(Data data, int offset)
           
 
Method Summary
 void clear()
           
 int colormap_id()
           
 int depth()
           
 Picture.Format.Direct direct_format()
           
 int id()
           
 boolean match(Picture.Format template)
           
 void set_depth(int i)
           
 void set_id(int i)
           
 void set_type(int i)
           
 java.lang.String toString()
           
 int type()
           
 
Methods inherited from class gnu.x11.Data
byte_to_string, len, len, n, np, p, pad, read_boolean, read_double, read_float, read_string, read1, read2, read4_boolean, read4, read8, to_string, unit, unit, unit, write_string16, write_string16, write_unused, write1_unused, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write2_unused, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write3_unused, write4_unused, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write8, write8, write8, write8, write8, write8, write8, write8
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LENGTH

public static final int LENGTH
See Also:
Constant Field Values

ID_BIT

public static final int ID_BIT
See Also:
Constant Field Values

TYPE_BIT

public static final int TYPE_BIT
See Also:
Constant Field Values

DEPTH_BIT

public static final int DEPTH_BIT
See Also:
Constant Field Values

RED_BIT

public static final int RED_BIT
See Also:
Constant Field Values

RED_MASK_BIT

public static final int RED_MASK_BIT
See Also:
Constant Field Values

GREEN_BIT

public static final int GREEN_BIT
See Also:
Constant Field Values

GREEN_MASK_BIT

public static final int GREEN_MASK_BIT
See Also:
Constant Field Values

BLUE_BIT

public static final int BLUE_BIT
See Also:
Constant Field Values

BLUE_MASK_BIT

public static final int BLUE_MASK_BIT
See Also:
Constant Field Values

ALPHA_BIT

public static final int ALPHA_BIT
See Also:
Constant Field Values

ALPHA_MASK_BIT

public static final int ALPHA_MASK_BIT
See Also:
Constant Field Values

COLORMAP_BIT

public static final int COLORMAP_BIT
See Also:
Constant Field Values

bitmask

public int bitmask

TYPE_STRINGS

public static final java.lang.String[] TYPE_STRINGS
Constructor Detail

Picture.Format

public Picture.Format()

Picture.Format

public Picture.Format(Data data,
                      int offset)
Method Detail

id

public int id()

depth

public int depth()

colormap_id

public int colormap_id()

type

public int type()
Returns:
valid: Picture.Format.Direct.TYPE

direct_format

public Picture.Format.Direct direct_format()

clear

public void clear()

set_id

public void set_id(int i)

set_depth

public void set_depth(int i)

set_type

public void set_type(int i)
Parameters:
i - valid: Picture.Format.Direct.TYPE

match

public boolean match(Picture.Format template)

toString

public java.lang.String toString()
Overrides:
toString in class Data