I want to write a game and I noticed that the text output is different in size on different devices.
Drawing with:
In my example, the rectangle and the text should always be equal to each other.
But they are not...
Only Windows and my Android Tablet are the same.
What am I doing wrong?
Can someone please nudge me in the right direction?
Drawing with:
B4X:
cnv.DrawText( "Test", 50,200, xui.CreateFont2(Main.ninjaFont,32), 0xffffffff, "LEFT" )
Dim rect As B4XRect
rect.Initialize( 45,110,380,210 )
cnv.DrawRect( rect, 0xffffffff, False, 1 )
In my example, the rectangle and the text should always be equal to each other.
But they are not...
Only Windows and my Android Tablet are the same.
What am I doing wrong?
Can someone please nudge me in the right direction?