int function ( int arg0 ) { int loc0 = Fixed . div ( FIXED_DIGITS , arg0 , resolution ) ; int loc1 = Fixed . round ( FIXED_DIGITS , loc0 ) ; return Fixed . mul ( FIXED_DIGITS , loc1 , resolution ) ; }
fits an y coordinate to the grid . concode_field_sep int FIXED_DIGITS concode_elem_sep int numScanlines concode_elem_sep Scanline[] scanlines concode_elem_sep PolyEdge edgePoolLast concode_elem_sep int maxY concode_elem_sep int ONE concode_elem_sep PolyEdge edgePool concode_elem_sep int maxX concode_elem_sep int resolution concode_elem_sep int yResolution concode_elem_sep int upperBounds concode_elem_sep ActiveEdges activeEdges concode_elem_sep int minY concode_elem_sep int minX concode_elem_sep int halfStep concode_elem_sep float[] coords concode_elem_sep ScanlineCoverage scanlineCoverage concode_field_sep void doScanline concode_elem_sep void renderShape concode_elem_sep void setUpperBounds concode_elem_sep void clear concode_elem_sep void setResolution concode_elem_sep void addShape concode_elem_sep void edgePoolAdd concode_elem_sep void addEdge concode_elem_sep int scanlineIndex