Browse Source

python: adapt to Text::AbstractGlyphCache changes.

next
Vladimír Vondruš 3 years ago
parent
commit
eee7bf002b
  1. 2
      src/python/magnum/text.cpp

2
src/python/magnum/text.cpp

@ -90,7 +90,7 @@ void text(py::module_& m) {
py::class_<Text::AbstractGlyphCache> abstractGlyphCache{m, "AbstractGlyphCache", "Base for glyph caches"}; py::class_<Text::AbstractGlyphCache> abstractGlyphCache{m, "AbstractGlyphCache", "Base for glyph caches"};
abstractGlyphCache abstractGlyphCache
/** @todo features */ /** @todo features */
.def_property_readonly("texture_size", &Text::AbstractGlyphCache::textureSize, "Glyph cache texture size") .def_property_readonly("texture_size", &Text::AbstractGlyphCache::size, "Glyph cache texture size")
.def_property_readonly("padding", &Text::AbstractGlyphCache::padding, "Glyph padding") .def_property_readonly("padding", &Text::AbstractGlyphCache::padding, "Glyph padding")
/** @todo glyph iteration and population */ /** @todo glyph iteration and population */
; ;

Loading…
Cancel
Save