Re: Problem with getProperty

JLuc <[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
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: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.