[reportlab-users] Implementation of drawImage anchoring

Yoann Roman yroman-reportlab at altalang.com
Thu Aug 28 12:22:24 EDT 2008


Yoann Roman wrote...

> I've been reading (and re-reading) the doc for drawImage in Canvas, and

I'm

> pretty sure the implementation doesn't match what's described. To quote:

>

> [snip]

>

> I've got a patch for lib.boxstuff to get it to do what's stated in the

doc,

> but I wanted to verify whether the doc or the implementation was

incorrect.

> In my case, I needed what was stated in the doc.


Anyone have any ideas on this? If the implementation is correct, what's the
proper way to get the behavior described in the doc (i.e., centering an
image within a box anchored at x, y)?

Thanks,

--
Yoann Roman



More information about the reportlab-users mailing list