Scripter function to change basepont

Previous topic - Next topic

nemiliztli

Hi,
Is there a scripter function to change the basepoint of a selected object?

a.l.e

mmm... i guess that rotateObjectAbs should be deprecated and replaced by setRotation() (as the companion of the existing getRotation()).

i think that the basepoint should be an optional (named) argument of the new setRotation(), since i don't really see an interest for a script to modify the basepoint (since the user might have set a specific basepoint, the script will need to reset it after having modified it)

i've created a ticket for this:

https://bugs.scribus.net/view.php?id=17079

a.l.e


nemiliztli

Thanks A.l.e.!
Now how do I install this patch?

a.l.e

well, the easy way is to wait for the patch to get into scribus...

otherwise you can

- download the scribus sources
- install the tools and libraries for compiling
- compile scribus (to check that everything is fine)
- apply the patch to the sources
- compile again scribus

it somehow doable on linux (most of all if you're used to compiling things).
might be hard on windows and / or macos (except if you're used to compile qt programs)

i guess you can try to wait a few days and see what happens.

nemiliztli