[scribus] Problem with getProperty

JLuc jluc at no-log.org
Sat Jun 6 16:48:29 UTC 2020


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




More information about the scribus mailing list