Return a sequence of str values representing the text in *line_source* wrapped within this fitter when rendered at *point_size*.
(self, line_source, point_size)
| 104 | return self[1] |
| 105 | |
| 106 | def _wrap_lines(self, line_source, point_size): |
| 107 | """ |
| 108 | Return a sequence of str values representing the text in |
| 109 | *line_source* wrapped within this fitter when rendered at |
| 110 | *point_size*. |
| 111 | """ |
| 112 | text, remainder = self._break_line(line_source, point_size) |
| 113 | lines = [text] |
| 114 | if remainder: |
| 115 | lines.extend(self._wrap_lines(remainder, point_size)) |
| 116 | return lines |
| 117 | |
| 118 | |
| 119 | class _BinarySearchTree(object): |