Example #1
0
    def __init__(self, c, line_height):
        canvas.__init__(self, c.page, c._x, c._y, c._w, c._h, c._border,
                        c._clip)
        self.head = c.head
        self.body = c.body
        self.tail = c.tail

        self.line_height = line_height
        self._line_cursor = self.h()
        self.newline()
Example #2
0
    def __init__(self, c, line_height):
        canvas.__init__(self, c.page,
                        c._x, c._y, c._w, c._h,
                        c._border, c._clip)
        self.head = c.head
        self.body = c.body
        self.tail = c.tail

        self.line_height = line_height
        self._line_cursor = self.h()
        self.newline()
Example #3
0
    def __init__(self, parent, x, y, w, h, border=False, clip=False, **kw):
        canvas.__init__(self, parent, x, y, w, h, border, clip)

        self._y_cursor = h
Example #4
0
    def __init__(self, parent, x, y, w, h, border=False, clip=False, **kw):
        canvas.__init__(self, parent, x, y, w, h, border, clip)

        self._y_cursor = h