> Can you clarify what you are doing a bit? > > > > 2. I also tryed your A method, it draw fastly, but it=20 > > is complicated, because we have different size pen and=20 > > eraser, the classification is not easy. > > No, creating a drawing program is a hard problem, so it is not easy. > > I still think you might find the fl_offscreen approach easier and > suggest you try that. > > If you just want to make a drawing program, there are a few alerady that > you could try, or at least refer to, to see what they did. Perhaps this > might help? > > http://www.rothcode.com/antipaint.tgz=20
Thank you. Only have one mainbuffer to use, so have no fl_offscreen. I want to know, it clear all the datas drawed by drawling() when redraw widget,how to save the drawed datas?? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

