Hi all.
There is a way to modify Bitmap contents (actually create content) of a DelphiFMX Image.Bitmap to add a text ?
I've tried:
bitmap = self.DIOImage.Bitmap
bitmap.Width = int(self.DIOImage.Width)
bitmap.Height = int(self.DIOImage.Height)
bitmap.Clear(0xFF000000)
canvas = bitmap.Canvas
r = RectF(8 + 15, 10, bitmap.Width - 8, bitmap.Height - 10)
??? canvas.FillText(r, 'Hello World', False, 100, 0, 0, 0) ???
But the image remains EMPTY and doesn't show anything...