[Gambas-user] gb3: recent changes to PaintImage and DrawImage

Benoît Minisini gambas at ...1...
Sun May 1 02:46:18 CEST 2011


> It seems the destination width/height parameters have been removed from
> these two methods in a recent gb3 revision. Is there an alternate way to
> scale a subset of the source image to the target image? 90% of my code
> doesn't scale it at all but scaling is still necessary for some operations.

I screwed up. It was removed from gb.image.imlib, because gb.image cannot 
scale images. But gb.gtk and gb.qt4 know how to scale and paint at the same 
time. So I should have kept the gb.image.imlib feature, and tried to fix 
gb.image instead.

I will find a solution...

-- 
Benoît Minisini




More information about the User mailing list