FLTK logo

[fltk.general] Re: Read in SVG and render using cairo

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

Re: Read in SVG and render using cairo "anmol.... Nov 06, 2020  
 
Hi Manolo. I took some time to read and understand this. The SVG data is limited by the fltk render functions i.e. rotate, scale etc. Cairo has a more extensive vector graphics feature set. Also, animations are not supported.
This is a very interesting feature and thanks for the dev team for putting it in.
Looking at Fl::cairo_cc(cairo_t *), can I draw into a cairo context with 2D vector primitives, and then pass it to fltk ? Will the drawn cairo operations be recognized by fltk ?

On Tuesday, November 3, 2020 at 9:11:34 PM UTC+5:30 Manolo wrote:
Short answer: No.

However, I'd like to be sure you're aware of the new class Fl_SVG_File_Surface allowing
FLTK to record any graphics as SVG data (in 1.4 only).

--
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 on the web visit https://groups.google.com/d/msgid/fltkgeneral/cfb435b2-6478-47d4-b0d0-3dc50c3cf854n%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-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.