Here is cool example you can't do easily with a Font!
Code: (Select All)
Screen _NewImage(1000, 600, 32)
size = 64
For i = 0 To 20
Text8 20, row, size, &HFF00FF88, "This is line" + Str$(i)
row = row + size + 1
size = size * .9
Next
Sleep
Sub Text8 (x, y, textHeight, K As _Unsigned Long, txt$)
Dim fg As _Unsigned Long, cur&, I&, multi, xlen
fg = _DefaultColor
f = _Font
'screen snapshot
cur& = _Dest
I& = _NewImage(8 * Len(txt$), 8, 32)
_Dest I&
_Font 8
Color K, _RGBA32(0, 0, 0, 0)
_PrintString (0, 0), txt$
multi = textHeight / 8
xlen = Len(txt$) * 8 * multi
_PutImage (x, y)-Step(xlen, textHeight), I&, cur&
Color fg
_FreeImage I&
_Dest cur&
_Font f
End Sub
b = b + ...