| java.lang.Object org.apache.harmony.awt.gl.render.JavaShapeRasterizer
JavaShapeRasterizer | public class JavaShapeRasterizer (Code) | | |
Inner Class :abstract static class Filler | |
Method Summary | |
void | addActiveEdge(int levelY, int start, int end, boolean back) | void | addEdge(int x, int y, int num) | int[] | checkBufSize(int[] buf, int size) | int | findActiveEdges(int levelY) | int | getNext(int cur) | int | getNextShape(int cur) | int | getPrev(int cur) | void | init() | void | makeBuffer(PathIterator path, double flatness) | public MultiRectArea | rasterize(Shape shape, double flatness) | void | sort(int[] master, int[] slave, int length) |
POINT_CAPACITY | final static int POINT_CAPACITY(Code) | | |
activeCount | int activeCount(Code) | | |
activeExt | boolean[] activeExt(Code) | | |
activeXStep | float[] activeXStep(Code) | | |
activeYEnd | int[] activeYEnd(Code) | | |
boundCount | int boundCount(Code) | | |
edgesCount | int edgesCount(Code) | | |
edgesExt | boolean[] edgesExt(Code) | | |
JavaShapeRasterizer | public JavaShapeRasterizer()(Code) | | |
addActiveEdge | void addActiveEdge(int levelY, int start, int end, boolean back)(Code) | | Marks edge as active
|
addEdge | void addEdge(int x, int y, int num)(Code) | | Adds to the buffers new edge
|
checkBufSize | int[] checkBufSize(int[] buf, int size)(Code) | | Checks buffer size and realloc if necessary
|
findActiveEdges | int findActiveEdges(int levelY)(Code) | | Find new active edges
|
getNext | int getNext(int cur)(Code) | | |
getNextShape | int getNextShape(int cur)(Code) | | |
getPrev | int getPrev(int cur)(Code) | | |
makeBuffer | void makeBuffer(PathIterator path, double flatness)(Code) | | Prepare all buffers and variable to rasterize shape
|
rasterize | public MultiRectArea rasterize(Shape shape, double flatness)(Code) | | Rasterizes shape with particular flatness
Parameters: shape - - the souze Shape to be rasterized Parameters: flatness - - the rasterization flatness a MultiRectArea of rasterized shape |
sort | void sort(int[] master, int[] slave, int length)(Code) | | Sort buffers
|
|
|