MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / VectorParse

Class VectorParse

lib/matplotlib/_mathtext.py:74–91  ·  view source on GitHub ↗

The namedtuple type returned by ``MathTextParser("path").parse(...)``. Attributes ---------- width, height, depth : float The global metrics. glyphs : list The glyphs including their positions. rect : list The list of rectangles.

Source from the content-addressed store, hash-verified

72
73
74class VectorParse(NamedTuple):
75 """
76 The namedtuple type returned by ``MathTextParser("path").parse(...)``.
77
78 Attributes
79 ----------
80 width, height, depth : float
81 The global metrics.
82 glyphs : list
83 The glyphs including their positions.
84 rect : list
85 The list of rectangles.
86 """
87 width: float
88 height: float
89 depth: float
90 glyphs: list[tuple[FT2Font, float, CharacterCodeType, GlyphIndexType, float, float]]
91 rects: list[tuple[float, float, float, float]]
92
93VectorParse.__module__ = "matplotlib.mathtext"
94

Callers 1

to_vectorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…