You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked for ways to make mathGlyphs easier to translate. Adding support for transformation matrices would be nice but it would be quite complex.
What about this notation to move all the geometry in a glyph by (100, 200)
a = glyph.toMathGlyph()
b = a + (100, 200)
This would be analogous to the support __mul__ has for anisotropic factors. __add__ and __sub__ can check if the object is a glyph or a tuple and then call _processMathOne or a new _processTranslate.
The text was updated successfully, but these errors were encountered:
I've looked for ways to make mathGlyphs easier to translate. Adding support for transformation matrices would be nice but it would be quite complex.
What about this notation to move all the geometry in a glyph by (100, 200)
This would be analogous to the support
__mul__
has for anisotropic factors.__add__
and__sub__
can check if the object is a glyph or a tuple and then call_processMathOne
or a new_processTranslate
.The text was updated successfully, but these errors were encountered: