masterBB
10-14-2011, 10:30 AM
I'm writing a tutorial about drawing on screen. To show some different techniques I need to all about bitmaps and I still got some problems with that.
A bitmap as Integer
Probably loaded into the memory somewhere, I only get the number.
Can create a TMufasaBitmap out of it by GetMufasaBitmap.
It has no drawing canvas property I can access.
A bitmap as TBitmap
I got a canvas.
I can't draw it on another canvas/bitmap.
Can't create any othere type of bitmap out of it.
A bitmap as TMufasaBitmap
Got no canvas.
Can create a TBitmap out of it.
Can get it back as integer if it was created as integer.
Can be drawn on a canvas.
I need a bitmap(or 2 which can be exchanged)
With a canvas.
Can be drawn on another canvas.
edit: before I forget and someone spends hours on this. This will be probably be solved with a fix to simba.
A bitmap as Integer
Probably loaded into the memory somewhere, I only get the number.
Can create a TMufasaBitmap out of it by GetMufasaBitmap.
It has no drawing canvas property I can access.
A bitmap as TBitmap
I got a canvas.
I can't draw it on another canvas/bitmap.
Can't create any othere type of bitmap out of it.
A bitmap as TMufasaBitmap
Got no canvas.
Can create a TBitmap out of it.
Can get it back as integer if it was created as integer.
Can be drawn on a canvas.
I need a bitmap(or 2 which can be exchanged)
With a canvas.
Can be drawn on another canvas.
edit: before I forget and someone spends hours on this. This will be probably be solved with a fix to simba.