03-30-2023, 06:12 PM
Hi, welcome to the forum.
Here is a small example of how the font can be made smaller using _PutImage. Round labels can also be made, or wavy according to SIN, the MapTriangle (2D) command can be used for this, or a custom font can be created in case of use on a graphics screen, or images can be used instead of individual characters. It just depends on what you choose.
Here is a small example of how the font can be made smaller using _PutImage. Round labels can also be made, or wavy according to SIN, the MapTriangle (2D) command can be used for this, or a custom font can be created in case of use on a graphics screen, or images can be used instead of individual characters. It just depends on what you choose.
Code: (Select All)
font& = _LoadFont("arial.ttf", 40, "bold")
virtual& = _NewImage(640, 70, 32)
_Font font&, virtual&
_PrintString (10, 10), "Some text", virtual&
Screen virtual&
Sleep
Screen _NewImage(800, 600, 32)
For t = 100 To 1 Step -1
Locate 1: Print "Text size: "; (t / 100) * 100; "%"
_PutImage (200, 200)-(200 + 6.4 * t, 200 + .7 * t), virtual&, 0
_Delay .1
_Display
Cls
Next