COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 09-01-2017, 05:40 AM   #1
shawone
Human being with feelings
 
Join Date: Sep 2016
Posts: 3
Default svg knob

Hi,

I looking for a way to design knob in my audio Plugin.
With knobman and filmstrip images I am currently able to do that.
But I am wondering if it's possible to do the same thing with a different approach.

Does someone know if it's possible with SVG ? Do I need specific library or it is possible with WDL + Iplug ?

Thanks
shawone is offline   Reply With Quote
Old 09-06-2017, 04:39 AM   #2
gstuff
Human being with feelings
 
Join Date: Feb 2014
Posts: 49
Default

Lice has: LICE_LoadSVG in lice_svg.cpp, looks basic but might be worth checking out. I prefer using Cairo to draw controls from scratch, it has nice gradients and alpha, clipping etc. Cairo also has librsvg to load SVG files directly, haven't tried it yet.
gstuff is offline   Reply With Quote
Old 09-06-2017, 04:57 AM   #3
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

Quote:
Originally Posted by gstuff View Post
Lice has: LICE_LoadSVG in lice_svg.cpp, looks basic but might be worth checking out. I prefer using Cairo to draw controls from scratch, it has nice gradients and alpha, clipping etc. Cairo also has librsvg to load SVG files directly, haven't tried it yet.
There is a nice tool to convert svg to cairo code if you don't want to mess with librsvg...
https://github.com/akrinke/svg2cairo
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is offline   Reply With Quote
Old 09-07-2017, 03:44 PM   #4
shawone
Human being with feelings
 
Join Date: Sep 2016
Posts: 3
Default

ok, thank you for your responses.
shawone is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.