Font class, Pattern class, fixes, new methods, and updating Mono.Cairo to the latest...
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
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
5         and managment.
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
9
10 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
11
12         * Mono.Cairo/Object.cs: 
13
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.
19
20         (Surface..ctor): Make private, so only this module can create
21         surfaces. 
22
23         (Surface.Dispose): Add disposable pattern, finalizer.
24
25         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
26
27 2003-10-11  Duncan Mak  <duncan@ximian.com>
28
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.
34
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.
38
39 2003-09-08  Duncan Mak  <duncan@ximian.com>
40
41         * Mono.Cairo/Surface.cs (PutImage): Removed.
42
43         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
44
45         * Mono.Cairo/Cairo.cs (cairo_copy): New API
46         (cairo_surface_put_image): Removed.
47
48 2003-09-05  Duncan Mak  <duncan@ximian.com>
49
50         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
51
52 2003-09-04  Duncan Mak  <duncan@ximian.com>
53
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.
60
61         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
62         API.
63
64 2003-08-12  Duncan Mak  <duncan@ximian.com>
65
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.
70
71 2003-08-12  Duncan Mak  <duncan@ximian.com>
72
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.
75
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.
81
82                 CairoObject        -> Cairo.Object
83                 CairoMatrixObject  -> Cairo.Matrix
84                 CairoSurfaceObject -> Cairo.Surface
85
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.
91         
92 2003-08-12  Duncan Mak  <duncan@ximian.com>
93
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...
97
98 2003-08-12  Nick Drochak <ndrochak@gol.com>
99
100         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
101
102 2003-08-11  Duncan Mak  <duncan@ximian.com>
103
104         * makefile:
105         * Mono.Cairo.dll.sources: Added.
106
107         * Mono.Cairo/Cairo.cs:
108         * Mono.Cairo/CairoObject.cs:
109         * Mono.Cairo/CairoMatrixObject.cs: 
110         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
111
112 2003-08-09  Duncan Mak  <duncan@ximian.com>
113
114         * Mono.Cairo/Cairo.cs:
115         * Mono.Cairo/CairoObject.cs:
116         * Mono.Cairo/CairoMatrixObject.cs: 
117         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.