[Mono-bugs] [Bug 75997][Wis] Changed - Mono.Cairo 100% non-usable
on win32.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 6 14:28:35 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by john.luke at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75997
--- shadow/75997 2005-09-06 07:00:18.000000000 -0400
+++ shadow/75997.tmp.7329 2005-09-06 14:28:35.000000000 -0400
@@ -101,6 +101,23 @@
public Graphics(GdkWindow window) {...}
and have that sense & throw a PlatformNotSupportedException.
Sound reasonable? This is my first attempt at contributing to mono so
please point out where I'm thinking incorrectly about things.
+
+------- Additional Comments From john.luke at gmail.com 2005-09-06 14:28 -------
+In my opinion, Mono.Cairo can't and shouldn't depend on gtk-sharp
+which is what "the functionality of getting a cairo surface form a gdk
+window" would cause.
+
+Also, gdk_cairo_create is new in gtk2.8 so that is not available in
+the current gtk# binding, when it moves to the 2.8 api then this will
+work. Although I am not sure if gtk# will use Mono.Cairo or its own
+internal binding.
+
+I recently added a Graphics.cs in Mono.Cairo/gtk/Samples that can be
+used in place of sysdraw.cs that will probably work on both linux and
+windows but have not been able to test it on windows yet. Please try
+it and report back. Cairo.Graphics.SetTargetDrawable should probably
+be removed in favor of Cairo.Graphics.TargetSurface property and the
+various Surface types.
More information about the mono-bugs
mailing list