Source

pygame / doc / capi / sdlttf.rst

Full commit

pygame2.sdlttf.base

The :mod:`pygame2.sdlttf.base` C API contains objects and functions for accessing TrueType font rendering on SDL surfaces.

Import

Include headers:

pygame2/pgsdlttf.h

Macros

PyFont

The PyFont object is used for rendering text to a :ctype:`PySDLSurface`.

Members

Functions