Le 06/06/2020 à 15:12, Gregory Pittman a écrit :
So I have now an explanation at least but It is a little "weird" as what you
see is not what you get when in mm unit and that I am storing those values for further
use in another script :(
This is one of those things that "is what it is".
From the manual:
getImageOffset(...)
getImageOffset(["name"]) -> (x,y)
Returns a (x, y) tuple containing the offset values in point unit of the image frame
"name". If "name" is not given the currently selected item is used.
I guess a scribus scripter API function would be helpfull
to convert points to cm or inches and reverse
in the very same way scribus does it
(= with the exact same ratios and roundings)
JL
___
Scribus Mailing List: scribus@lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net