|Re: [Eugenia] Call operations from Formatting.eol [message #756220 is a reply to message #754998]
||Fri, 11 November 2011 14:41
| Antonio Garcia-Dominguez
Registered: January 2010
aoyou2002 wrote on Sun, 06 November 2011 09:45|
To create rhombs, arrows and other figures, I have found useful operations in Formatting.eol from Eugenia sources but I didn't find a way to call them.
Which ones? We recently added support for using SVG figures and polygons to the latest interim versions: see this page for details (figure="polygon" or figure="svg" in @gmf.node, for instance). Are you using those?
aoyou2002 wrote on Sun, 06 November 2011 09:45
Is there a way to call Eugenia operations ? For the moment, I'm copying the operations which I'm interested in.
We recommend using polishing transformations instead of directly calling operations in the EuGENia transformations, as these might change from one version to the next. Here is an example of how to use them.
Still, if you really want to use them, you should be able to import the EuGENia .eol script like this:
I just wrote this off the top of my head, so it might not work as it is. It's been a while since I last had to do something like this. Again, this will couple your EOL code to the version of EuGENia you use: we might change the operation you're using at any moment, breaking your code .
For these reasons, I'd suggest that you used the new annotations added in the last interim version (relevant bug). If these do not work for you, then you should try using polishing transformations, copying the bits of EOL code that you need.
[Updated on: Fri, 11 November 2011 14:42]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06911 seconds