pixel_mode field.
struct FT_Bitmap {
unsigned int rows;
unsigned int width;
int pitch;
unsigned char * buffer;
unsigned short num_grays;
unsigned char pixel_mode;
unsigned char palette_mode;
void * palette;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | FT_Bitmap.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFER
The struct member offsets. |
| public static final int | NUM_GRAYS
The struct member offsets. |
| public static final int | PALETTE
The struct member offsets. |
| public static final int | PALETTE_MODE
The struct member offsets. |
| public static final int | PITCH
The struct member offsets. |
| public static final int | PIXEL_MODE
The struct member offsets. |
| public static final int | ROWS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | FT_Bitmap(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public static FT_Bitmap | |
| public static FT_Bitmap. | calloc(int
the buffer capacity capacity)Returns a new |
| public static FT_Bitmap | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static FT_Bitmap. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected FT_Bitmap | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static FT_Bitmap | |
| public static FT_Bitmap | |
| public static FT_Bitmap. | create(int
the buffer capacity capacity)Returns a new |
| public static FT_Bitmap. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static FT_Bitmap | |
| public static FT_Bitmap. | |
| public static FT_Bitmap | |
| public static FT_Bitmap. | malloc(int
the buffer capacity capacity)Returns a new |
| public static FT_Bitmap | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static FT_Bitmap. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ByteBuffer | |
| public static short | |
| public static long | |
| public static byte | |
| public static int | |
| public static byte | |
| public static int | |
| public short | |
| public static int | |
| public long | |
| public byte | |
| public int | |
| public byte | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUFFER | back to summary |
|---|---|
| public static final int BUFFER The struct member offsets. | |
| NUM_GRAYS | back to summary |
|---|---|
| public static final int NUM_GRAYS The struct member offsets. | |
| PALETTE | back to summary |
|---|---|
| public static final int PALETTE The struct member offsets. | |
| PALETTE_MODE | back to summary |
|---|---|
| public static final int PALETTE_MODE The struct member offsets. | |
| PITCH | back to summary |
|---|---|
| public static final int PITCH The struct member offsets. | |
| PIXEL_MODE | back to summary |
|---|---|
| public static final int PIXEL_MODE The struct member offsets. | |
| ROWS | back to summary |
|---|---|
| public static final int ROWS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| FT_Bitmap | back to summary |
|---|---|
| protected FT_Bitmap(long address, ByteBuffer container) | |
| FT_Bitmap | back to summary |
|---|---|
| public FT_Bitmap(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| buffer | back to summary |
|---|---|
public ByteBuffer buffer(int capacity)
| |
| calloc | back to summary |
|---|---|
| public static FT_Bitmap calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static FT_Bitmap. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static FT_Bitmap calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static FT_Bitmap. Returns a new
| |
| create | back to summary |
|---|---|
| protected FT_Bitmap create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static FT_Bitmap create() Returns a new | |
| create | back to summary |
|---|---|
| public static FT_Bitmap create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static FT_Bitmap. Returns a new
| |
| create | back to summary |
|---|---|
| public static FT_Bitmap. Create a
| |
| createSafe | back to summary |
|---|---|
| public static FT_Bitmap createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static FT_Bitmap. Like
| |
| malloc | back to summary |
|---|---|
| public static FT_Bitmap malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static FT_Bitmap. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static FT_Bitmap malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static FT_Bitmap. Returns a new
| |
| nbuffer | back to summary |
|---|---|
| public static ByteBuffer nbuffer(long struct, int capacity) Unsafe version of
| |
| nnum_grays | back to summary |
|---|---|
| public static short nnum_grays(long struct) Unsafe version of | |
| npalette | back to summary |
|---|---|
| public static long npalette(long struct) Unsafe version of | |
| npalette_mode | back to summary |
|---|---|
| public static byte npalette_mode(long struct) Unsafe version of | |
| npitch | back to summary |
|---|---|
| public static int npitch(long struct) Unsafe version of | |
| npixel_mode | back to summary |
|---|---|
| public static byte npixel_mode(long struct) Unsafe version of | |
| nrows | back to summary |
|---|---|
| public static int nrows(long struct) Unsafe version of | |
| num_grays | back to summary |
|---|---|
public short num_grays()
| |
| nwidth | back to summary |
|---|---|
| public static int nwidth(long struct) Unsafe version of | |
| palette | back to summary |
|---|---|
public long palette()
| |
| palette_mode | back to summary |
|---|---|
public byte palette_mode()
| |
| pitch | back to summary |
|---|---|
public int pitch()
| |
| pixel_mode | back to summary |
|---|---|
public byte pixel_mode()
| |
| rows | back to summary |
|---|---|
public int rows()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| width | back to summary |
|---|---|
public int width()
| |
FT_Bitmap structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final FT_Bitmap |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| protected FT_Bitmap | |
| public short | |
| public long | |
| public byte | |
| public int | |
| public byte | |
| public int | |
| protected FT_Bitmap. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final FT_Bitmap ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| buffer | back to summary |
|---|---|
public ByteBuffer buffer(int capacity)
| |
| getElementFactory | back to summary |
|---|---|
| protected FT_Bitmap getElementFactory() Implements abstract org.
| |
| num_grays | back to summary |
|---|---|
public short num_grays()
| |
| palette | back to summary |
|---|---|
public long palette()
| |
| palette_mode | back to summary |
|---|---|
public byte palette_mode()
| |
| pitch | back to summary |
|---|---|
public int pitch()
| |
| pixel_mode | back to summary |
|---|---|
public byte pixel_mode()
| |
| rows | back to summary |
|---|---|
public int rows()
| |
| self | back to summary |
|---|---|
| protected FT_Bitmap. Implements abstract org.
| |
| width | back to summary |
|---|---|
public int width()
| |