Re: problem with cairo_image_surface_create_from_png() and cairo_scale()

Stefan Salewski <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Sun, 2012-02-19 at 13:16 +0100, cairobeginner cairobeginner wrote:

> 
> complete source code is here:
> http://www.mikrocontroller.net/attachment/134681/main.c

Please note that

>gtk_widget_queue_draw_area(window,x*SZ_PIC_X*zoomX, y*SZ_PIC_Y*zoomY,
>SZ_PIC_X*zoomX, SZ_PIC_Y*zoomY);

may not work properly when zoomX and zoomY are float or double --
gtk_widget_queue_draw_area wants parameters of type gint, see

http://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-queue-draw-area



--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.