mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-16 03:15:40 +00:00
REVIEWED: Added SetTextLineSpacing() to multiline examples
This commit is contained in:
@@ -47,6 +47,8 @@ int main(void)
|
||||
// NOTE: We define a font base size of 32 pixels tall and up-to 250 characters
|
||||
Font fontTtf = LoadFontEx("resources/pixantiqua.ttf", 32, 0, 250);
|
||||
|
||||
SetTextLineSpacing(48); // Set line spacing for multiline text (when line breaks are included '\n')
|
||||
|
||||
bool useTtf = false;
|
||||
|
||||
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
|
||||
Reference in New Issue
Block a user