[Mono-dev] [PATCH] Mono.Cairo/Context.cs

Patrick Perry patperry at stanford.edu
Wed May 16 19:37:29 EDT 2007


This is a *tiny* patch that adds the member:

public void GetClipExtents (out double x1, out double y1, out double  
x2, out double y2)

which calls the Cairo 1.4 function:

void cairo_clip_extents (cairo_t *cr, double *x1, double *y1, double  
*x2, double *y2)

I realize from a C# standpoint it is more natural to have a property  
for this, but that would not be consistent with the Cairo API.  This  
function gives two points, not a Rectangle.


Patrick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Context.cs.patch
Type: application/octet-stream
Size: 674 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070516/d0f75bc5/attachment.obj 
-------------- next part --------------





More information about the Mono-devel-list mailing list