SDLFont.measureText

class SDLFont
SDL_Point
measureText
(
string text
)

Return Value

Type: SDL_Point

Size of text in pixels if rendered with this font.

Meta