Hello,

using the FLTK 1.1.7 draw functions, I made a widget with some bars and 
pies to present several evaluations. Now I wonder how to print it.

I think there are two ways - first printing the widget directly, or 
second exporting it into a common image format, saving it to disk and 
printing it out of a html-browser (second way I'm using for evaluation 
forms - creating html-text and deliver it to a browser, I didn't deal 
with printing for minimum 10 years ;o).

Out of the FLTK.org link section I just viewed Fl_Device and for windows 
users it only works for FLTK 1.1.4, so it would be necessary to go back 
to this version for using it. I'm sceptic of beeing this a good idea?
Is this the only printing library for FLTK, or are there other ways?

Then I looked for possibilities of saving widget contents and only found 
the hint to use some image libraries to do this out of Fl_Image data, 
but I'm using a widget. It offers a handle to Windows device context, 
maybe there is a way to use it for a windows print or image capture?

Okay, anyone here with a hint, how to solve this problem - favoured a 
fast and dirty solution. ;o)
If it becames a research project, I need to capitulate before starting, 
because there are some more urgent things to do, than printing some 
pretty pictures. But maybe there is an easy solution I overlooked and 
that wouldn't cost more than one or two days of work?

Thank you,

Ed
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to