[Mono-dev] [PATCH] v2 Mono.Cairo overhaul & Docs

Idan Gazit idan at fastmail.fm
Mon Nov 7 20:36:28 EST 2005


Hi again.

This is the final submission of this patch. It includes two patches,
code and docs. Updated changelog below.

Cheers,

Idan

Changes
=======

Matrix:
* Removed Matrix_T struct and associated properties,
* Added ==, != operators
* Implemented ICloneable
* Overrode Equals, GetHashcode, ToString
* Made constructors a little simpler, New matrices are constructed as
the identity matrix.
* Added IsIdentity
* Fiddled a bit with Multiply, now there is
void Multiply (Matrix b) -- multiplies this matrix by b
static Matrix Multiply (Matrix a, Matrix b) -- multiplies a by b and
returns the result.
* Threw out all references to "Identify", it's the "Identity".

CairoAPI:
* fix out/ref issues (segfaulting)

Graphics:
* convert [Inverse]Transform(Point/Distance) properties to methods so
you can transform arbitrary points/distances.
* added Transform (Matrix m)
* fixed Matrix {get; set;} to use updated CairoAPI.
* fixed FontSetMatrix (this should be made into a property for consistency)

Pattern:
* fixed Matrix {get; set;} to use updated CairoAPI.

Everywhere:
* Formatting according to mono style guide wherever I was already
modifying a line anyways.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo.patch
Type: text/x-patch
Size: 17973 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051108/cc801731/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo_docs.patch
Type: text/x-patch
Size: 27248 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051108/cc801731/attachment-0001.bin 


More information about the Mono-devel-list mailing list