Skip to content

Commit

Permalink
Sync SDL2_ttf header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Dec 13, 2024
1 parent 477db71 commit 5a1d4a1
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 2 deletions.
8 changes: 8 additions & 0 deletions SDL2_ttf/TTF_DIRECTION_BTT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
###### (This function is part of SDL_ttf, a separate library from SDL.)
# TTF_DIRECTION_BTT

Please refer to [TTF_Direction](TTF_Direction) for details.

----
[CategoryAPI](CategoryAPI), [CategoryAPIEnumerators](CategoryAPIEnumerators)

8 changes: 8 additions & 0 deletions SDL2_ttf/TTF_DIRECTION_LTR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
###### (This function is part of SDL_ttf, a separate library from SDL.)
# TTF_DIRECTION_LTR

Please refer to [TTF_Direction](TTF_Direction) for details.

----
[CategoryAPI](CategoryAPI), [CategoryAPIEnumerators](CategoryAPIEnumerators)

8 changes: 8 additions & 0 deletions SDL2_ttf/TTF_DIRECTION_RTL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
###### (This function is part of SDL_ttf, a separate library from SDL.)
# TTF_DIRECTION_RTL

Please refer to [TTF_Direction](TTF_Direction) for details.

----
[CategoryAPI](CategoryAPI), [CategoryAPIEnumerators](CategoryAPIEnumerators)

8 changes: 8 additions & 0 deletions SDL2_ttf/TTF_DIRECTION_TTB.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
###### (This function is part of SDL_ttf, a separate library from SDL.)
# TTF_DIRECTION_TTB

Please refer to [TTF_Direction](TTF_Direction) for details.

----
[CategoryAPI](CategoryAPI), [CategoryAPIEnumerators](CategoryAPIEnumerators)

4 changes: 2 additions & 2 deletions SDL2_ttf/TTF_FontLineSkip.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###### (This function is part of SDL_ttf, a separate library from SDL.)
# TTF_FontLineSkip

Query the recommended spacing between lines of text for a font.
Query the spacing between lines of text for a font.

## Header File

Expand All @@ -21,7 +21,7 @@ int TTF_FontLineSkip(const TTF_Font *font);
## Return Value
(int) Returns the font's recommended spacing.
(int) Returns the font's line spacing.
## Version
Expand Down
29 changes: 29 additions & 0 deletions SDL2_ttf/TTF_SetFontLineSkip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
###### (This function is part of SDL_ttf, a separate library from SDL.)
# TTF_SetFontLineSkip

Set the spacing between lines of text for a font.

## Header File

Defined in [<SDL_ttf.h>](https://github.com/libsdl-org/SDL_ttf/blob/SDL2/include/SDL_ttf.h)

## Syntax

```c
void TTF_SetFontLineSkip(TTF_Font *font, int lineskip);
```
## Function Parameters
| | | |
| ---------------------- | ------------ | ---------------------------------- |
| [TTF_Font](TTF_Font) * | **font** | the font to modify. |
| int | **lineskip** | the new line spacing for the font. |
## Version
This function is available since SDL_ttf 2.22.0.
----
[CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction)

0 comments on commit 5a1d4a1

Please sign in to comment.