[Mono-bugs] [Bug 81626][Wis] New - CairoAPI P/Invokes a non-existant function

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 14 20:51:41 EDT 2007

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 patperry at stanford.edu.


--- shadow/81626	2007-05-14 20:51:41.000000000 -0400
+++ shadow/81626.tmp.15286	2007-05-14 20:51:41.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 81626
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Mono.Cairo
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: patperry at stanford.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: CairoAPI P/Invokes a non-existant function
+Description of Problem:
+the FontMatrix property in Cairo.Context tries to call a nonexistant
+function with assumed prototype: 
+cario_matrix_t cairo_get_font_matrix(cairo_t *cr)
+The correct prototype is
+void cairo_get_font_matrix(cairo_t *cr, cairo_matrix_t *matrix);
+See the documentation here:
+This is a trivial fix.  Mono.Cairo/Cairo.cs and Mono.Cairo/Context.cs need
+to be changed.

More information about the mono-bugs mailing list