On 24 Mar 2007, at 12:01, Alex wrote:
>
> I would like to know the correct usage of fl_draw_image(). Lets say  
> I want to draw my custom buffer inside my window, at positions 0,0  
> with dimensions 20x20 pixels.

Check the source for the file fl_jpeg_image.cxx in the test  
directory, that shows how to use fl_draw_image().

For a bit more backstory, and some examples of alternative ways to  
display image data with fltk, see this Howto:
http://www.fltk.org/articles.php?L468


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

Reply via email to