[Mono-bugs] [Bug 75028][Wis] Changed - Cairo graphics class should have virtual functions

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 24 02:13:17 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 miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75028

--- shadow/75028	2005-05-23 16:46:37.000000000 -0400
+++ shadow/75028.tmp.9980	2005-05-24 02:13:17.000000000 -0400
@@ -93,6 +93,20 @@
 Graphics class. Noone expects overriding Cairo.TransformPoint to
 change how Cairo draws graphics (or maybe they would ?)"
 
 Yes they would. That's what overriding is used for.
 
 Anyways, I strongly vote sealed.
+
+------- Additional Comments From miguel at ximian.com  2005-05-24 02:13 -------
+Hello,
+
+    There is a discussion on the form that bindings to Cairo should
+take on the Cairo mailing list.  I suggest that we study that.
+
+    Now, sealed completely blocks off any inheritance of the class,
+and that would be a mistake.   But turning methods into virtual
+methods is something that must be evaluated on a case-by-case basis
+because they effectively introduce a maintenance entry point. 
+
+    So we first need good examples of reasons why this must be allowed
+for particular entry points. 


More information about the mono-bugs mailing list