From: Tiago Vignatti
It caches the image using load_jpeg at initialization and the draw handler
does the repaint with the correct size. I set nearest-neighbor filtering on
cairo which gives a better effect when resizing.
Images now are scaled-up correctly without ugly black background.
Signed-o
On 12/16/2011 07:59 AM, Tiago Vignatti wrote:
From: Tiago Vignatti
I set nearest-neighbor filtering on
cairo which gives a better effect when resizing.
Images now are scaled-up correctly without ugly black background.
Any chance you could report this to Cairo in some more forceful way? I
do
From: Tiago Vignatti
It caches the image using load_jpeg at initialization and the draw handler
does the repaint with the correct size. I set nearest-neighbor filtering on
cairo which gives a better effect when resizing.
Images now are scaled-up correctly without ugly black background.
Signed-o