'Generates individual QR points as subpaths'

def _generate_subpaths(self):

    rect_size = self.units(self.box_size, text=False)
    for point in self._points:
        x_base = self.units(((point[0] + self.border) * self.box_size), text=False)
        y_base = self.units(((point[1] + self.border) * self.box_size), text=False)
        (yield ('M    %(x0)s    %(y0)s    L    %(x0)s    %(y1)s    L    %(x1)s    %(y1)s    L    %(x1)s    %(y0)s    z' % dict(x0=x_base, y0=y_base, x1=(x_base + rect_size), y1=(y_base + rect_size))))
