Hi!

I'm currently planning to develop an application that needs to draw 
images to the screen.
I wanted to use FLTK for that, but I dont know some points:

1) Is it possible, to load an image with one function-call without 
knowing the type of the image (.jpg, png, etc).
e.g.
Fl_Image* img = Fl_loadimage("filename.jpg");
Fl_Image* img2 = Fl_loadimage("filename.bmp");

2) Is it possible to draw parts of an image, e.g. only the rect from 
(10, 10) to (100, 100)?

3) Is it possible to draw an image into a specified rect, meaning to 
scale the image?
e.g. draw an 1000*1000 sized image into a rect on the screen with the 
sizes 500*123?

4) Is it possible to draw parts of an image scaled to a specified rect? 
(meaning combining 2) and 3) )?

5) Is it possible to modify images permanently in memory, for example 
resizing it?

I hope you can tell me if it works and if so, how that works.
Im using fltk_1.1.7, cause fltk 2 is currently under development so its 
not so useful for planning a complete application.

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

Reply via email to