// allocate the bitmap, that contains the base and the mip-levels
m_bitmap = new int[size];
for (int i = 0; i < size; i++)
m_bitmap[i] = 0;
m_rasterizer = new SimpleRasterizer();
ScanCallbackImpl callback = new ScanCallbackImpl(m_bitmap,
m_scanLineSize);
m_callback = callback;
m_rasterizer.setup(m_width, m_width, callback);
geom.queryEnvelope2D(m_geomEnv);