Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.text.DistanceFieldGlyphCacheGL class

OpenGL glyph cache with distance field rendering

Special methods

def __init__(self, size: Vector2i, processed_size: Vector2i, radius: int) -> None
Constructor

Properties

format: PixelFormat get
Glyph cache format
padding: Vector2i get
Glyph padding
processed_format: PixelFormat get
Processed glyph cache format
processed_size: Vector3i get
Processed glyph cache texture size
size: Vector3i get
Glyph cache texture size
texture: gl.Texture2D get
Cache texture