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

Method render_glyph

lib/matplotlib/_mathtext.py:294–301  ·  view source on GitHub ↗

At position (*ox*, *oy*), draw the glyph specified by the remaining parameters (see `get_metrics` for their detailed description).

(self, output: Output, ox: float, oy: float, font: str,
                     font_class: str, sym: str, fontsize: float, dpi: float)

Source from the content-addressed store, hash-verified

292 return info.metrics
293
294 def render_glyph(self, output: Output, ox: float, oy: float, font: str,
295 font_class: str, sym: str, fontsize: float, dpi: float) -> None:
296 """
297 At position (*ox*, *oy*), draw the glyph specified by the remaining
298 parameters (see `get_metrics` for their detailed description).
299 """
300 info = self._get_info(font, font_class, sym, fontsize, dpi)
301 output.glyphs.append((ox, oy, info))
302
303 def render_rect_filled(self, output: Output,
304 x: float, y: float, w: float, h: float) -> None:

Callers 2

renderMethod · 0.80
renderMethod · 0.80

Calls 1

_get_infoMethod · 0.95

Tested by

no test coverage detected