S
steve bull
I have a program in which I draw various shapes to a form but I would like to move it off the form into a user control.
The painting on the form takes a significant amount of time. I was thinking of making a bitmap map to the control so
that when it does a refresh it doesn't need to recalculate everything. It is easy using the form because I have clipping
and all the graphics draw routines(line, polygon etc). Is there a way to draw to a bitmap and use that to do refreshes.
From what I see of bitmap it does not give any facility for drawing shapes.
Any ideas would be welcome.
Thanks, Steve
The painting on the form takes a significant amount of time. I was thinking of making a bitmap map to the control so
that when it does a refresh it doesn't need to recalculate everything. It is easy using the form because I have clipping
and all the graphics draw routines(line, polygon etc). Is there a way to draw to a bitmap and use that to do refreshes.
From what I see of bitmap it does not give any facility for drawing shapes.
Any ideas would be welcome.
Thanks, Steve