This is a patch to solve the problem miss drawing on MS-Windows.
I have tested this code on Win7 using the GTK-2.24 and MinGW.
This patch repair three problems.
The first problem is the reason of the problem miss drawing.
Because gdk_screen_get_resolution() of gtkplotcairo.c have always
returns -1, Failed to get the font, it eventually breaks the Cairo
The second problem, because the gtk_plot_cairo_draw_pixmap() of
gtkplotcairo.c did not check a cairo object, it produces SEGV.
The third problem, testgtkplot.c prints out a too small image like a stamp.
I hope you like it.
Get latest updates about Open Source Projects, Conferences and News.