C
Crirus
Do you think is a bad practice to declare graphics and bitmaps as globals in
an app in order to avoid dealocation if this is a speed issue?
I have to draw lots of small tiles that eventualy are drawed on a big buffer
bitmap that is painted on screen.
So each new tile require a tmp bitmap and a graphics, because I render that
tiles from multiple images
I was thinking on using the same bitmap and graphics to draw all tiles...
an app in order to avoid dealocation if this is a speed issue?
I have to draw lots of small tiles that eventualy are drawed on a big buffer
bitmap that is painted on screen.
So each new tile require a tmp bitmap and a graphics, because I render that
tiles from multiple images
I was thinking on using the same bitmap and graphics to draw all tiles...