from sdl3.SDL import * # type: ignore
from sdl3 import SDL_POINTER
import ctypes, typing
LP_SDL_Rect: typing.TypeAlias = SDL_POINTER[SDL_Rect]
LP_RTF_Context: typing.TypeAlias = SDL_POINTER[RTF_Context]
LP_SDL_IOStream: typing.TypeAlias = SDL_POINTER[SDL_IOStream]
LP_SDL_Renderer: typing.TypeAlias = SDL_POINTER[SDL_Renderer]
LP_RTF_FontEngine: typing.TypeAlias = SDL_POINTER[RTF_FontEngine]
[docs]
def RTF_Version() -> ctypes.c_int:
...
[docs]
def RTF_CreateContext(_0: LP_SDL_Renderer, _1: LP_RTF_FontEngine) -> LP_RTF_Context:
...
[docs]
def RTF_Load(_0: LP_RTF_Context, _1: ctypes.c_char_p) -> ctypes.c_int:
...
[docs]
def RTF_Load_IO(_0: LP_RTF_Context, _1: LP_SDL_IOStream, _2: ctypes.c_int) -> ctypes.c_int:
...
[docs]
def RTF_GetTitle(_0: LP_RTF_Context) -> ctypes.c_char_p:
...
[docs]
def RTF_GetSubject(_0: LP_RTF_Context) -> ctypes.c_char_p:
...
[docs]
def RTF_GetAuthor(_0: LP_RTF_Context) -> ctypes.c_char_p:
...
[docs]
def RTF_GetHeight(_0: LP_RTF_Context, _1: ctypes.c_int) -> ctypes.c_int:
...
[docs]
def RTF_Render(_0: LP_RTF_Context, _1: LP_SDL_Rect, _2: ctypes.c_int) -> None:
...
[docs]
def RTF_FreeContext(_0: LP_RTF_Context) -> None:
...