HISE Logo Forum
    • Categories
    • Register
    • Login

    Is a path better than SVG?

    Scheduled Pinned Locked Moved General Questions
    6 Posts 4 Posters 112 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.
    • whoopsydoodleW
      whoopsydoodle
      last edited by

      Is using a path number array more performant or better in some way than using an SVG?

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @whoopsydoodle
        last edited by

        @whoopsydoodle if you can achieve what you want with a monochromatic path, then yes this will be better (both from a handling / versatility perspective as well as performance).

        whoopsydoodleW 1 Reply Last reply Reply Quote 0
        • whoopsydoodleW
          whoopsydoodle @Christoph Hart
          last edited by

          @Christoph-Hart great. thanks!

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

            @whoopsydoodle Use a base64 path instead of an array

            3c73abd7-7a3a-4ee8-b369-907bcb7881aa-image.png

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            orangeO 1 Reply Last reply Reply Quote 0
            • orangeO
              orange @d.healey
              last edited by

              @d-healey Is there a big performance different between base64 & array?

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

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

                @orange I don't think so, but they usually take fewer lines of script than an array.

                Also if the image you want is part of an icon font use that instead of paths.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

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

                22

                Online

                1.7k

                Users

                11.9k

                Topics

                103.3k

                Posts