1 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
3 * Cairo.cs: fixes cairo_current_matrix signature
4 * Font.cs: fixes internal _create method always returning null
5 * Graphics.cs: fixes Graphics.Matrix
6 * Matrix.cs: does not allow matrix objects without a wrapped handle
7 * Surface.cs: implements Surface.Show
9 2004-05-26 Miguel de Icaza <miguel@ximian.com>
11 * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
12 return value is owned by Cairo.
14 2004-05-10 Radek Doulik <rodo@ximian.com>
16 * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
17 cairo_curve_to instead of passing x2, x2
19 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
20 * Mono.Cairo/Pattern.cs: implemented all the new pattern API
21 introduced in Cairo 0.1.20
22 * Font.cs: created class that encapsulates a font object creation
24 * Cairo.cs: new dllexports, structs, and enums.
25 * Graphics.cs: added all the font functions, fixed the signature
26 of the methods that have changed, added new methods
28 2003-11-28 Miguel de Icaza <miguel@ximian.com>
30 * Mono.Cairo/Object.cs:
32 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
33 while to find out why Cairo applications would crash sometimes.
34 The problem was that Cairo.Object:TargetSurface get property would
35 create a Surface from an IntPtr, leading to having two managed
36 objects owning the same unmanaged Surface.
38 (Surface..ctor): Make private, so only this module can create
41 (Surface.Dispose): Add disposable pattern, finalizer.
43 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
45 2003-10-11 Duncan Mak <duncan@ximian.com>
47 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
48 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
49 (cairo_current_matrix): Signature changed, updated.
50 (cairo_surface_reference): New API.
51 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
53 * Mono.Cairo/Surface.cs:
54 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
55 (Destroy): It's supposed to return void, not IntPtr.
57 2003-09-08 Duncan Mak <duncan@ximian.com>
59 * Mono.Cairo/Surface.cs (PutImage): Removed.
61 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
63 * Mono.Cairo/Cairo.cs (cairo_copy): New API
64 (cairo_surface_put_image): Removed.
66 2003-09-05 Duncan Mak <duncan@ximian.com>
68 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
70 2003-09-04 Duncan Mak <duncan@ximian.com>
72 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
73 *_get_* to *_current_*.
74 (cairo_set_target_drawable):
75 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
76 (cairo_current_tolerance):
77 (cairo_set_tolerance): Fix typo. Thanks Alp.
79 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
82 2003-08-12 Duncan Mak <duncan@ximian.com>
84 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
85 name because the namespace name (Cairo) is the same as the class
86 name (also Cairo). To resolve this ambiguity while keeping the
87 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
89 2003-08-12 Duncan Mak <duncan@ximian.com>
91 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
92 the enums no longer need to be nested inside the Cairo class.
94 * Mono.Cairo/Matrix.cs:
95 * Mono.Cairo/Object.cs:
96 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
97 the name of a class, esp. now that we have namespaces. So I have
98 decided to rename them.
100 CairoObject -> Cairo.Object
101 CairoMatrixObject -> Cairo.Matrix
102 CairoSurfaceObject -> Cairo.Surface
104 I didn't like the Mono.Cairo namespace either, so they're just in
105 the Cairo namespace now. I know it's icky that the directory is
106 called Mono.Cairo, and the dll we write to is called
107 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
108 and not 'Mono.Cairo'. C'est la vie.
110 2003-08-12 Duncan Mak <duncan@ximian.com>
112 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
113 is actually a CairoSurfaceObject (a C cairo_surface_t); the
114 CairoPatternObject is just something I made up...
116 2003-08-12 Nick Drochak <ndrochak@gol.com>
118 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
120 2003-08-11 Duncan Mak <duncan@ximian.com>
123 * Mono.Cairo.dll.sources: Added.
125 * Mono.Cairo/Cairo.cs:
126 * Mono.Cairo/CairoObject.cs:
127 * Mono.Cairo/CairoMatrixObject.cs:
128 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
130 2003-08-09 Duncan Mak <duncan@ximian.com>
132 * Mono.Cairo/Cairo.cs:
133 * Mono.Cairo/CairoObject.cs:
134 * Mono.Cairo/CairoMatrixObject.cs:
135 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.