Code: Select all
nWidth=16:nHeight=16:nTemp.f=99.9
hImage = CreateImage(#PB_Any, nWidth + 4, nHeight, 32, RGB(212,208,200))
If StartDrawing(ImageOutput(hImage))
DrawText(1,1,StrF(nTemp,0));,RGB(0,0,0),RGB(254,254,254))
;Debug DrawText(1,1,StrF(nTemp,0),RGB(254,254,254),RGB(0,0,0))
StopDrawing()
endif