> Hi,
> 
> In MFC, i create a memory device context, create a new bitmap, draw some 
> lines, select bitmap in memory device context. Then i can draw this bitmap to 
> view(using bitblt or stretchblt function). I can stretch the bitmap to any 
> size.
> How to do the same with FLTK.
> I have tried with Fl_Offscreen. Using fl_copy_offscreen we can copy it to 
> view window. But how to stretch this Fl_Offscreen.

Fl_Offscreen is on win32 typedef for HBITMAP, which means that you can
use win32 specific functions for that (I'm not sure does they exists). 

Other solution would be to create Fl_Image compatible code (Fl_Bitmap, 
Fl_Pixmap) and do copy(W,H) on it, since it will do stretching if
needed.

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

Reply via email to