Modifier and Type | Field and Description |
---|---|
private final MarlinCache | |
private static final boolean | |
private static final int | |
private static final int | |
pack-priv final RendererStats | |
private final Renderer | |
private static final int | |
private static final int | |
private int | |
private int |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | dispose()
Implements sun. |
public void | getAlpha(final byte[] tile, final int offset, final int rowstride)
Implements sun. |
private void | getAlphaNoRLE(final byte[] tile, final int offset, final int rowstride)
Gets the alpha coverage values for the current tile. |
private void | getAlphaRLE(final byte[] tile, final int offset, final int rowstride)
Gets the alpha coverage values for the current tile. |
pack-priv void | |
public int | Returns: the height of the standard alpha tileImplements sun. |
public int | Returns: the width of the standard alpha tileImplements sun. |
public int | Returns: 0x00 for no coverage, 0xff for total coverage, or any other value for partial coverage of the tileImplements sun. |
pack-priv static String | |
pack-priv MarlinTileGenerator | |
public void | nextTile()
Implements sun. |
cache | back to summary |
---|---|
private final MarlinCache cache |
DISABLE_BLEND | back to summary |
---|---|
private static final boolean DISABLE_BLEND |
FILL_TILE_W | back to summary |
---|---|
private static final int FILL_TILE_W |
MAX_TILE_ALPHA_SUM | back to summary |
---|---|
private static final int MAX_TILE_ALPHA_SUM |
rdrStats | back to summary |
---|---|
pack-priv final RendererStats rdrStats |
renderer | back to summary |
---|---|
private final Renderer renderer |
TH_AA_ALPHA_FILL_EMPTY | back to summary |
---|---|
private static final int TH_AA_ALPHA_FILL_EMPTY |
TH_AA_ALPHA_FILL_FULL | back to summary |
---|---|
private static final int TH_AA_ALPHA_FILL_FULL |
x | back to summary |
---|---|
private int x |
y | back to summary |
---|---|
private int y |
MarlinTileGenerator | back to summary |
---|---|
pack-priv MarlinTileGenerator(final RendererStats stats, final Renderer r, final MarlinCache cache) |
dispose | back to summary |
---|---|
public void dispose() Implements sun. Disposes this tile generator: clean up before reusing this instance
|
getAlpha | back to summary |
---|---|
public void getAlpha(final byte[] tile, final int offset, final int rowstride) Implements sun. Gets the alpha coverage values for the current tile. Either this method, or the nextTile() method should be called once per tile, but not both.
|
getAlphaNoRLE | back to summary |
---|---|
private void getAlphaNoRLE(final byte[] tile, final int offset, final int rowstride) Gets the alpha coverage values for the current tile. Either this method, or the nextTile() method should be called once per tile, but not both. |
getAlphaRLE | back to summary |
---|---|
private void getAlphaRLE(final byte[] tile, final int offset, final int rowstride) Gets the alpha coverage values for the current tile. Either this method, or the nextTile() method should be called once per tile, but not both. |
getBbox | back to summary |
---|---|
pack-priv void getBbox(int[] bbox) |
getTileHeight | back to summary |
---|---|
public int getTileHeight() Implements sun. Gets the height of the tiles that the generator batches output into.
|
getTileWidth | back to summary |
---|---|
public int getTileWidth() Implements sun. Gets the width of the tiles that the generator batches output into.
|
getTypicalAlpha | back to summary |
---|---|
public int getTypicalAlpha() Implements sun. Gets the typical alpha value that will characterize the current tile. The answer may be 0x00 to indicate that the current tile has no coverage in any of its pixels, or it may be 0xff to indicate that the current tile is completely covered by the path, or any other value to indicate non-trivial coverage cases.
|
hex | back to summary |
---|---|
pack-priv static String hex(int v, int d) |
init | back to summary |
---|---|
pack-priv MarlinTileGenerator init() |
nextTile | back to summary |
---|---|
public void nextTile() Implements sun. Skips the current tile and moves on to the next tile. Either this method, or the getAlpha() method should be called once per tile, but not both.
|