HISE Logo Forum
    • Categories
    • Register
    • Login

    Is there a guide for the SVG to path converter?

    Scheduled Pinned Locked Moved Scripting
    7 Posts 3 Posters 102 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VirtualVirginV
      VirtualVirgin
      last edited by

      I can't seem to find much info in the documentation.

      I did find this on David Healey's Youtube but it using a method with JUCE instead of the one in HISE: https://www.youtube.com/watch?v=OHqAijNUabU&t=65s

      I am pretty sure there is a newer video, but I don't find it when searching either "svg" or "path" when searching the channel.

      Anyway, I am looking to convert a lot of glyphs in SVG format to path as I need to use some of them for the

      ScriptPanel.setMouseCursor(var pathIcon, var colour, var hitPoint)
      

      What are these different path options?
      Should I be using "HiseScript Path number array" format if I am just using the paths in HISE?

      You can listen to my orchestral mockups here:
      https://www.virtualvirgin.net/

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @VirtualVirgin
        last edited by d.healey

        @VirtualVirgin said in Is there a guide for the SVG to path converter?:

        What are these different path options?

        Here's a list of all the options - https://forum.hise.audio/topic/11041/different-os-cursors/4?_=1750753273844

        They are predefined and dependent on the OS.

        Would be useful to have this in the documentation

        VirtualVirginV C 2 Replies Last reply Reply Quote 0
        • VirtualVirginV
          VirtualVirgin @d.healey
          last edited by VirtualVirgin

          @d-healey Oop! Sorry I forgot to add this image:Screenshot 2025-06-23 at 6.41.19 PM.png

          Under the question "What are these different path options?".
          They are the path options for the SVG to path converter.

          You can listen to my orchestral mockups here:
          https://www.virtualvirgin.net/

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @VirtualVirgin
            last edited by d.healey

            @VirtualVirgin Ah I see, that's unrelated to the cursor stuff.

            Those are the different ways that an SVG can be represented in HISE. I always use Base64 Path. I'm not sure why anyone would use the others but I'm sure they have their purposes.

            Btw if you're converting svg icons, like those you'll find at Font Awesome, you might be better off using an icon font instead, @clevername27 put me on to them and I use them whenever I can now.

            VirtualVirginV 1 Reply Last reply Reply Quote 1
            • VirtualVirginV
              VirtualVirgin @d.healey
              last edited by

              @d-healey Thanks, I think the

              ScriptPanel.setMouseCursor(var pathIcon, var colour, var hitPoint)
              

              only accepts paths though.

              That is the only reason I am converting the SVG glyphs to paths.

              You can listen to my orchestral mockups here:
              https://www.virtualvirgin.net/

              d.healeyD 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @VirtualVirgin
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • C
                  Consint @d.healey
                  last edited by

                  @d-healey They are now in the docs: https://docs.hise.audio/scripting/scripting-api/scriptpanel/index.html#setmousecursor

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post

                  20

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.4k

                  Posts