This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OpenVG Tools and SVG

Hi,

I am looking at parsing an SVG file and converting it to OpenVG paths. I have seen that included in the SDK, there is a class to do exactly what I want. I have run into a problem where the parser is unable to use OpenVGU functions such as vguEllipse and vguRoundRect.

I know that the code for the SVG parser is correct as I have traced it through and even compiled the library for a windows machine, which works as expected.

However, in my own test code, I can call OpenVGU functions with success to draw ellipses, rectangles, etc.

I am not sure why when using the parser, I am unable to draw shapes that use the OpenVGU library. Does anybody have any suggestions?

Thanks,

 

Andy

  •   How long are the generated paths?  Problems with OpenVG are often due to curves being vectorized into paths that are too long.   The

    OpenVG Application Development Recommendations document cautions to watch the path lengths.

        Have you tried the PVRVecEx plugin for Adobe Illustrator?  That is another way to convert SVG to PVG for the OpenVG driver.

    Regards, Clay