[scribus-dev] Coordinate transformation
Elvis Stansvik
elvstone at gmail.com
Thu Jul 21 14:26:39 UTC 2011
2011/7/21 Elvis Stansvik <elvstone at gmail.com>:
> Maybe I'm just thick, but I need to do a
>
> global -> canvas -> item
>
> transformation of a point in my canvas mode.
>
> Canvas::globalToCanvas() gets me half way, but how do I go from canvas
> to item coordinates? PageItem::getTransform().map(pointOnCanvas), or ?
Doh. Using the inverse of that worked.
Elvis
More information about the scribus-dev
mailing list