gnu.x11
Class Fontable.TextExtentReply

java.lang.Object
  extended by gnu.x11.Data
      extended by gnu.x11.Fontable.TextExtentReply
Enclosing class:
Fontable

public static class Fontable.TextExtentReply
extends Data

Reply of Fontable.text_extent(String).


Field Summary
 
Fields inherited from class gnu.x11.Data
data, index, offset
 
Constructor Summary
Fontable.TextExtentReply(Data data)
           
 
Method Summary
 int ascent()
          Returns the ascent of the font.
 int descent()
          Returns the descent of the font.
 int overall_ascent()
          Returns the overall ascent of the font.
 int overall_descent()
          Returns the overall descent of the string in the queried font.
 int overall_left()
          Returns the overall left of the string in the queried font.
 int overall_right()
          Returns the overall right of the string in the queried font.
 int overall_width()
          Returns the overall width of the string in the queried font.
 
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, toString, 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
 

Constructor Detail

Fontable.TextExtentReply

public Fontable.TextExtentReply(Data data)
Method Detail

ascent

public int ascent()
Returns the ascent of the font.

Returns:
the ascent of the font

descent

public int descent()
Returns the descent of the font.

Returns:
the descent of the font

overall_ascent

public int overall_ascent()
Returns the overall ascent of the font.

Returns:
the overall ascent of the font

overall_descent

public int overall_descent()
Returns the overall descent of the string in the queried font.

Returns:
the overall descent of the string in the queried font

overall_width

public int overall_width()
Returns the overall width of the string in the queried font.

Returns:
the overall width of the string in the queried font

overall_left

public int overall_left()
Returns the overall left of the string in the queried font.

Returns:
the overall left of the string in the queried font

overall_right

public int overall_right()
Returns the overall right of the string in the queried font.

Returns:
the overall right of the string in the queried font