Using the Imagelib library if I run this code on my desktop (version 6.42) both compiled and in the IDE the text drawn by ForeDrawer and Form1.FDrawString is heavier (bolder) than that drawn by BackDrawer and Form1.DrawString. The colours are also noticeably different although supposedly the same. It is not a scaling problem as the text sizes are the same.
If I run this code on my device (version 6.41) both optimised compiled and in the device IDE the text drawn by ForeDrawer is heavier (bolder) than that drawn by BackDrawer. As on the desktop the colours are also noticeably different in the same way and the text sizes are the same. However the text that is supposed to be drawn by both Form1.FDrawString and Form1.DrawString is not displayed at all!
I cannot explain this. Am I being stupid and missing something obvious or is there a problem?
If I run this code on my device (version 6.41) both optimised compiled and in the device IDE the text drawn by ForeDrawer is heavier (bolder) than that drawn by BackDrawer. As on the desktop the colours are also noticeably different in the same way and the text sizes are the same. However the text that is supposed to be drawn by both Form1.FDrawString and Form1.DrawString is not displayed at all!
I cannot explain this. Am I being stupid and missing something obvious or is there a problem?
B4X:
Sub App_Start
Form1.Show
col = cGreen
Form1.ForeLayer = True
ForeDrawer.New1("Form1", True)
BackDrawer.New1("Form1", False)
Brush.New1(col)
ForeDrawer.DrawString1("A string",20, Brush.Value, 0, 0)
BackDrawer.DrawString1("A string",20, Brush.Value, 0, 30)
Form1.FDrawString("A string",20, 0, 60,200,60, col)
Form1.DrawString("A string",20, 0, 90, 200,90, col)
End Sub