Rename DrawText to DrawTextFixSize and create DrawText

This commit is contained in:
2025-04-09 15:58:41 +05:00
parent 593c4a6596
commit e49aa61c67
5 changed files with 60 additions and 21 deletions

View File

@@ -25,7 +25,12 @@ syscalls.Event.<EventName>
### Text encoding
```lua
syscalls.Encoding.<value>
```
+ `cp866`
+ `cp866_8x16`
+ `utf8`
+ `utf16`
@@ -52,7 +57,9 @@ syscalls.textSize.<value>
+ `56x112`
+ `64x128`
### `DrawText(text, xPos, yPos, textColor, textSize, textLen, backgroundColor, encoding)`
### `DrawText(text, xPos, yPos, textColor, textScale, textLen, backgroundColor, encoding)`
### `DrawTextFixSize(text, xPos, yPos, textColor, textSize, textLen, backgroundColor, encoding)`
Draw text.