(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.
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.
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 .
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)
def _iterlines ( self ) : ctx = self . context for line in self . _text . split ( "\n" ) : xb , _ , line_width , _ , _ , _ = ctx . text_extents ( line ) yield ( line , line_width , xb )