using SVG files…

Home Forums General General MIDI discussion using SVG files…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #118186
    protonproton
    Participant
    • Topics: 19
    • Replies: 91
    • Total: 110
    • ★★

    Hello hive,

    are there any panels available that uses drawable SVG files for the graphics that I could download and study the code?
    I checked already Roman’s RENDER demo panel but he is using the ZipFile route there. What I need is a simple procedure to use SVG file/s from my resources, nothing fancy.
    Since I am not sure if all the classes are already included by Roman I think it might be wise to ask the forum first.
    Any tips for using SVG files instead of PNGs will be much appreciated.
    Thanks in advance!
    M.

    #118189
    dnaldoogdnaldoog
    Participant
    • Topics: 3
    • Replies: 371
    • Total: 374
    • ★★

    I’m not sure you can, because it seems to be commented out in the Graphics Class:

    https://github.com/RomanKubiak/ctrlr/search?q=SVG&unscoped_q=SVG

    #118196
    protonproton
    Participant
    • Topics: 19
    • Replies: 91
    • Total: 110
    • ★★

    Hi dnaldoog!

    Thanks for the reply!!! This is exactly what I was worried about. Too bad those are not included, it would be so much easier to create panels smaller in size without the need to use PNGs but SVGs instead.
    The good news is it still can be done using the ZipFile but I personally wish for a simpler way so maybe in some future build Roman will do something about it.
    BTW: Any word on what is the current state of the Cntrlr updates? Ver.6 was around the corner but since over a year nothing happened really. I know Roman has a lot on his plate right now so I am not even gonna bother him about my little SVGs issues 😉
    Cheers people and stay safe in this turbulent times!
    M.

    #118613
    OffSignal
    Participant
    • Topics: 0
    • Replies: 2
    • Total: 2

    I agree that SVG should be an absolute minimum today for working with scalable content. It seems that JUCE supports svg files so i don’t understand why Ctrlr doesn’t.


    @proton
    : what is the “ZipFile” method you’re talking about?
    And you should look into the Downloads section, because Ctrlr-6.0.26 is available for Windows since october 2019.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
There is currently 0 users and 26 guests online
No users are currently active
Forum Statistics
Threads: 2,393, Posts: 16,738, Members: 59,189
Most users ever online was 12 on January 22, 2019 3:47 pm
Do NOT follow this link or you will be banned from the site!