SetBackground |
Bitmaps | |
Aptilis 1 |
SetBackground(BitmapHandle, Colour)
setBackground allows you to specify a background color in order for
the font anti-aliasing to work correctly. Note that the background colour
is also redefined by clearBitmap, except that
clearBitmap also repaints the whole bitmap.
Of course, if you have redefined some colours with
setColor
the anti-aliasing will probably not work as expected.
See also printAt.
Return Value:
0 if everything was OK or -1 if you indicated a non-valid
bitmap.
For more details see the Bitmap topic.