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