class_docstr: Class that draws text on a Cairo context.
  
  This class supports multi-line text unlike the original Cairo text
  drawing methods.
class_docstr_tok: ["Class","that","draws","text","on","a","Cairo","context",".","This","class","supports","multi-line","text","unlike","the","original","Cairo","text","drawing","methods","."]
docstr: Iterates over the label line by line and returns a tuple containing
  the folloing for each line: the line itself, the width of the line and
  the X-bearing of the line.
docstr_tok: ["Iterates","over","the","label","line","by","line","and","returns","a","tuple","containing","the","folloing","for","each","line",":","the","line","itself",",","the","width","of","the","line","and","the","X-bearing","of","the","line","."]
code: def _iterlines(self):
      """Iterates over the label line by line and returns a tuple containing
      the folloing for each line: the line itself, the width of the line and
      the X-bearing of the line."""
      ctx = self.context
      for line in self._text.split("\n"):
          xb, _, line_width, _, _, _ = ctx.text_extents(line)
          yield (line, line_width, xb)
  
file_path: python-igraph/src/igraph/drawing/cairo/text.py
imports: import re
  from warnings import warn
  from igraph.drawing.cairo.base import AbstractCairoDrawer
label_desc: Use image node_id 5 for calling the CairoTextDrawer obj's underlying member method code with example usage: obj._iterlines() without return types