m_rect = rect; m_app = app; // build a buffer for the off-screen image m_imgBuff = m_app.createImage(rect.width,rect.height); m_gBuff = m_imgBuff.getGraphics();
return m_gBuff;
return m_imgBuff;
return m_rect;