Git Product home page Git Product logo

Comments (4)

binary1248 avatar binary1248 commented on May 31, 2024

SVG is a whole specification on it's own, see here. There are dedicated libraries for SVG rendering because it is that hard to get right. I doubt SFGUI will ever go in that direction 😉. Maybe if SFGUI were to integrate another library that took care of SVG rendering and use its output it might work, but don't expect this anytime soon.

from sfgui.

heapwolf avatar heapwolf commented on May 31, 2024

Thanks! I agree on direction; I like how purpose focused this library is. I found this which just outputs simple data structures that can be used to draw with. Maybe I can take these data structures and pass them to openGL?

from sfgui.

binary1248 avatar binary1248 commented on May 31, 2024

You can do many things with OpenGL, and even SFML would be powerful enough for this case 😉. In fact, I would recommend using SFML for this as it takes care of a lot of the annoyances that you shouldn't have to care about when coding in OpenGL directly. When you are done writing the SFML SVG renderer, feel free to present it on the SFML projects forum, I'm sure many other people will find it useful 😃.

from sfgui.

heapwolf avatar heapwolf commented on May 31, 2024

Awesome, thanks for the input!! I will try to encapsulate svg rendering into a widget that follows the same patterns of the core.

from sfgui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.