public void setup ( int width , int height , ScanCallback callback ) { width_ = width ; height_ = height ; ySortedEdges_ = null ; activeEdgesTable_ = null ; numEdges_ = 0 ; callback_ = callback ; if ( scanBuffer_ == null ) scanBuffer_ = new int [ 128 * 3 ] ; startAddingEdges ( ) ; }
Sets up the rasterizer .