1 2004-05-10 Radek Doulik <rodo@ximian.com>
3 * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
4 cairo_curve_to instead of passing x2, x2
6 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
7 * Mono.Cairo/Pattern.cs: implemented all the new pattern API
8 introduced in Cairo 0.1.20
9 * Font.cs: created class that encapsulates a font object creation
11 * Cairo.cs: new dllexports, structs, and enums.
12 * Graphics.cs: added all the font functions, fixed the signature
13 of the methods that have changed, added new methods
15 2003-11-28 Miguel de Icaza <miguel@ximian.com>
17 * Mono.Cairo/Object.cs:
19 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
20 while to find out why Cairo applications would crash sometimes.
21 The problem was that Cairo.Object:TargetSurface get property would
22 create a Surface from an IntPtr, leading to having two managed
23 objects owning the same unmanaged Surface.
25 (Surface..ctor): Make private, so only this module can create
28 (Surface.Dispose): Add disposable pattern, finalizer.
30 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
32 2003-10-11 Duncan Mak <duncan@ximian.com>
34 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
35 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
36 (cairo_current_matrix): Signature changed, updated.
37 (cairo_surface_reference): New API.
38 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
40 * Mono.Cairo/Surface.cs:
41 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
42 (Destroy): It's supposed to return void, not IntPtr.
44 2003-09-08 Duncan Mak <duncan@ximian.com>
46 * Mono.Cairo/Surface.cs (PutImage): Removed.
48 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
50 * Mono.Cairo/Cairo.cs (cairo_copy): New API
51 (cairo_surface_put_image): Removed.
53 2003-09-05 Duncan Mak <duncan@ximian.com>
55 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
57 2003-09-04 Duncan Mak <duncan@ximian.com>
59 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
60 *_get_* to *_current_*.
61 (cairo_set_target_drawable):
62 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
63 (cairo_current_tolerance):
64 (cairo_set_tolerance): Fix typo. Thanks Alp.
66 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
69 2003-08-12 Duncan Mak <duncan@ximian.com>
71 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
72 name because the namespace name (Cairo) is the same as the class
73 name (also Cairo). To resolve this ambiguity while keeping the
74 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
76 2003-08-12 Duncan Mak <duncan@ximian.com>
78 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
79 the enums no longer need to be nested inside the Cairo class.
81 * Mono.Cairo/Matrix.cs:
82 * Mono.Cairo/Object.cs:
83 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
84 the name of a class, esp. now that we have namespaces. So I have
85 decided to rename them.
87 CairoObject -> Cairo.Object
88 CairoMatrixObject -> Cairo.Matrix
89 CairoSurfaceObject -> Cairo.Surface
91 I didn't like the Mono.Cairo namespace either, so they're just in
92 the Cairo namespace now. I know it's icky that the directory is
93 called Mono.Cairo, and the dll we write to is called
94 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
95 and not 'Mono.Cairo'. C'est la vie.
97 2003-08-12 Duncan Mak <duncan@ximian.com>
99 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
100 is actually a CairoSurfaceObject (a C cairo_surface_t); the
101 CairoPatternObject is just something I made up...
103 2003-08-12 Nick Drochak <ndrochak@gol.com>
105 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
107 2003-08-11 Duncan Mak <duncan@ximian.com>
110 * Mono.Cairo.dll.sources: Added.
112 * Mono.Cairo/Cairo.cs:
113 * Mono.Cairo/CairoObject.cs:
114 * Mono.Cairo/CairoMatrixObject.cs:
115 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
117 2003-08-09 Duncan Mak <duncan@ximian.com>
119 * Mono.Cairo/Cairo.cs:
120 * Mono.Cairo/CairoObject.cs:
121 * Mono.Cairo/CairoMatrixObject.cs:
122 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.