From: Carlos Briceno <carlos.main@gm...> - 2010-12-25 00:44:49
Im new to using jEuclid and kind of new as a programmer in java.
With struggle i have finished a small application using jEuclid, this application renders a mathml string and displays it a jMathComponent. This is working fine. Now i want to use the content from the jMathComponent to create an image, i know that for that the converter class is used.
I have checked the API documentation for converter and found that Converter.render(node Document, layoutcontext lc) will be probably the better method to use to do this. I know for sure that i can get the document from the jMathComponent, but for the life of me i can not figure out from where to get the layoutcontext.
If someone could be so kind to explain this one with a little example would be much appreciate it.
Thanks in advance
BTW, i used the mathviewer application as a base for the test application im using right now.