|
jxUtil 0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourceforge.jxutil.net.xfs.XFSDataTypes.XFSDataType | +--org.sourceforge.jxutil.net.xfs.XFSDataTypes.CARD32 | +--org.sourceforge.jxutil.net.xfs.XFSDataTypes.BITMAPFORMAT
This structure specifies how glyph images are transmitted in response to QueryXBitmaps8 and QueryXBitmaps16 requests.
CARD32 containing the following fields defined by the sets of values given further below.
All unspecified bits must be zero.
Use of an invalid BITMAPFORMAT causes a Format error to be returned.
BITMAPFORMAT: CARD32
NB:BITMAPFORMAT is represented internally as a Java long.
Field Summary | |
static int |
BitOrderMSB
If the BIT-ORDER-MSB bit is set, the left-most bit in each glyph scanline unit is stored in the Most Significant Bit of each transmitted scanline unit. |
static int |
ByteOrderMSB
If the BYTE-ORDER-MSB bit is set, the Most Significant Byte of each scanline unit is returned first. |
static int |
ImageRectMax
This refers to all scanlines, from the maximum ascent (or the font ascent, whichever is greater) to the maximum descent (or the font descent, whichever is greater), padded to the same horizontal extents as MaxWidth. |
static int |
ImageRectMaxWidth
This refers to the scanlines between the glyph s ascent and descent, padded on the left to the minimum left-bearing (or 0, whichever is less) and on the right to the maximum right-bearing (or logical-width, whichever is greater). |
static int |
ImageRectMin
This refers to the minimal bounding rectangle surrounding the inked pixels in the glyph. |
static int |
ScanlinePad16
The SCANLINE-PAD field specifies the number of bits (8, 16, 32, or 64) to which each glyph scanline is padded before transmitting. |
static int |
ScanlinePad32
The SCANLINE-PAD field specifies the number of bits (8, 16, 32, or 64) to which each glyph scanline is padded before transmitting. |
static int |
ScanlinePad64
The SCANLINE-PAD field specifies the number of bits (8, 16, 32, or 64) to which each glyph scanline is padded before transmitting. |
static int |
ScanlinePad8
The SCANLINE-PAD field specifies the number of bits (8, 16, 32, or 64) to which each glyph scanline is padded before transmitting. |
static int |
ScanlineUnit16
The SCANLINE-UNIT field specifies the number of bits (8, 16, 32, or 64) that should be treated as a unit for swapping. |
static int |
ScanlineUnit32
The SCANLINE-UNIT field specifies the number of bits (8, 16, 32, or 64) that should be treated as a unit for swapping. |
static int |
ScanlineUnit64
The SCANLINE-UNIT field specifies the number of bits (8, 16, 32, or 64) that should be treated as a unit for swapping. |
static int |
ScanlineUnit8
The SCANLINE-UNIT field specifies the number of bits (8, 16, 32, or 64) that should be treated as a unit for swapping. |
Fields inherited from class org.sourceforge.jxutil.net.xfs.XFSDataTypes.CARD32 |
bytes |
Constructor Summary | |
XFSDataTypes.BITMAPFORMAT()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BitOrderMSB
public static final int ByteOrderMSB
public static final int ImageRectMax
ImageRectMax: All glyph images have the same sized bitmap and share a common origin. This is the least compact representation, but may be the easiest or most efficient (particularly for character cell fonts) for some clients to use. The edges of the rectangle are:
left | min (XFONTINFO.MIN-BOUNDS.LBEARING, 0) |
right | max (XFONTINFO.MAX-BOUNDS.RBEARING, XFONTINFO.MAX-BOUNDS.WIDTH) |
top | max (XFONTINFO.FONT-ASCENT, XFONTINFO.MAX-BOUNDS.ASCENT) |
bottom | max (XFONTINFO.FONT-DESCENT, XFONTINFO.MAX-BOUNDS.DESCENT) |
public static final int ImageRectMaxWidth
ImageRectMaxWidth: All glyph images share a common horizontal origin. This is a combination of ImageRectMax in the horizontal direction and ImageRectMin in the vertical direction. The edges of the rectangle are:
left | min (XFONTINFO.MIN-BOUNDS.LBEARING, 0) |
right | max (XFONTINFO.MAX-BOUNDS.RBEARING, XFONTINFO.MAX-BOUNDS.WIDTH) |
top | XCHARINFO.ASCENT |
bottom | XCHARINFO.DESCENT |
public static final int ImageRectMin
ImageRectMin: This is the most compact representation. The edges of the rectangle are:
left | XCHARINFO.LBEARING |
right | XCHARINFO.RBEARING |
top | XCHARINFO.ASCENT |
bottom | XCHARINFO.DESCENT |
public static final int ScanlinePad16
public static final int ScanlinePad32
public static final int ScanlinePad64
public static final int ScanlinePad8
public static final int ScanlineUnit16
public static final int ScanlineUnit32
public static final int ScanlineUnit64
public static final int ScanlineUnit8
Constructor Detail |
public XFSDataTypes.BITMAPFORMAT()
|
jxUtil 0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |