Am Mo, 1.11.2010, 20:07 schrieb m0n0:
Should the clipping rectangle clip the original image
or should it clip the scaled image?
Framebuffer version is not an good reference for this,
because it doesn't implement scaling. GTK does it, but
the code is gdk dependent and I'm not sure how these
gdk_* functions behave.
If the clipping really should be done on the source
image, should the clipping rectangle also get scaled
like the image, and then applied to the scaled image?
Thanks for reading and your help. :)
I think I understand it now... the clipping is for the scaled image.
If I want to clip the original image to the portion which gets really
rendered, I have to calculate that myself - right :) ? Within the gtk
version this optimization seems to be done by the gtk_scale_pixbuf