Hi,<br>
<br>
I phrased my message pretty badly, what I should have done is simply
drawn your attention to the bug. Have you read it? 3 out of 4 people in
the discussion disagree with this.<br>
<br>
Thanks,<br>
Adam<br>
<br><br><div><span class="gmail_quote">On 5/25/05, <b class="gmail_sendername">Owen Taylor</b> <<a href="mailto:otaylor@redhat.com">otaylor@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 2005-05-25 at 16:26 +0100, Adam Lofts wrote:<br>> Hello,<br>><br>> I recently filed a bug in mono bugzilla about making cairo drawing<br>> operations (i.e. functions in Mono.Cairo.Graphics) virtual, see
<br>> <a href="http://bugzilla.ximian.com/show_bug.cgi?id=75028">http://bugzilla.ximian.com/show_bug.cgi?id=75028</a>. This needs more<br>> discussion, the main questions being -<br>><br>> Which (if any) of the Cairo functions should be marked virtual ?
<br>> Is it useful to be able to really overload the Cairo public api (this<br>> would require Cairo to use gobject or something similar) ?<br>><br>> The answers should be added to the bindings section of the manual.
<br><br>The bindings section of the manual recommends not allowing users<br>to derive from cairo_t if at all possible. (Because of the potential<br>problem of disassociation, mostly)<br><br>Beyond that, I don't think overriding any of the cairo_t methods
<br>makes sense. cairo_fill() has an exactly defined meaning. If you<br>make it do something else in a subclass, then it's no longer<br>cairo_fill(). So, call it something else.<br><br>Regards,<br> Owen
<br><br><br><br>BodyID:13884997.2.n.logpart (stored separately)<br><br></blockquote></div><br>