FLTK logo

[fltk.general] Re: Deficiencies in Fl_SVG_Image

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  All Forums  |  Back to fltk.general  ]
 
[ Previous Message ] [ New Message | Reply ] [ Next Message ]

Re: Deficiencies in Fl_SVG_Image "'Matthias Melcher' via fltk.general" 14:52 Oct 04  
  I am not sure what the other core devs will say. I'll try to give some background.

FLTK uses and links NanoSVG. So the same limits that apply to NanoSVG apply to FLTK's sig support as well. We do update from the original source regularly, and we do minor adaptations for compatibility. We do not plan to add features to NanoSVG. We try to keep FLTK fast and light.

There are three things that come spontaneously to my mind to work around this. The first one, just load a png or inline one, you already tried. If you want to stick with vector file, just link a different SVG interpreter. There are several libraries out there, and you can import the result using RGB. The third one will give mixed results, depending on the resolution of the target machine: use the commands in the SVG file and map them direct;y to FLTK graphics calls. This requires a little bit of coding, but FLTK rendering call include lines, loops and arbitrary filled areas, which is enough to draw any flag that does;t require shading.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fltkgeneral/f28eb7aa-fee5-4501-8377-7f612266e54bn%40googlegroups.com.
[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.