changlog, param name fixes to FontSetSize, added FontSetMatrix
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
2         * Added xlib surface size / font size functions
3         * Added font matrix setting
4         
5 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6         * Cleanup all old methods, remove deprecated classes
7         
8 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
9         * General fixups, this is becoming ready for SVN
10
11 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
12         * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
13         * More cleanups to fonts and Graphics.cs
14
15 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
16         * Matrix.cs: binded all functions from Cairo 0.5.x
17         * Surface.cs: binded all functions from Cairo 0.5.x
18         * Pattern.cs: binded all functions from Cairo 0.5.x
19         
20 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
21         * Removed dependency on GTK 2.7.x in Samples
22         * Added more Matrix constructors
23         * Fixed typo in enum Extend
24         * Cairo.cs: fixed matrix_init* methods (dont use ref)
25         * Matrix.cs: moved to 0.5.x API, needs more work
26         
27 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
28         * Moved a major part of the API to follow Cairo 0.5.x
29         * *_current_* are being replaced by *_get_*
30         * move *_set_* function to new API
31         * Add SurfaceImage type
32         * Matrix operations are somehow broken right now
33         
34 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
35         * Graphics.cs: added get for Pattern property
36         * Cairo.cs: added FontExtents / TextExtents structs
37         * Cairo.cs: added several other functions from C API
38           cairo_text_extents
39         * Started move to Cairo 0.5.x
40
41 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
42         * Graphics.cs: Added helper types (PointD, Point, Distance)
43         * Incorporated Reference() into some constructors
44         * Pattern.cs: Split patter into 3 object types
45         * Use double precision for sub-pixel rendering all over
46         * Use IntPtr.Zero instead of (IntPtr) 0
47         * Graphics.cs: Remove SetRGBColor and use Color type
48         * Matrix.cs: add Affine type as a subclass.
49    
50 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
51         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
52         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
53
54 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
55
56         * Cairo.cs: fixes cairo_current_matrix signature
57         * Font.cs: fixes internal _create method always returning null
58         * Graphics.cs: fixes Graphics.Matrix
59         * Matrix.cs: does not allow matrix objects without a wrapped handle
60         * Surface.cs: implements Surface.Show 
61
62 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
63
64         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
65         return value is owned by Cairo.
66
67 2004-05-10  Radek Doulik  <rodo@ximian.com>
68
69         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
70         cairo_curve_to instead of passing x2, x2
71
72 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
73         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
74         introduced in Cairo 0.1.20
75         * Font.cs: created class that encapsulates a font object creation
76         and managment.
77         * Cairo.cs: new dllexports, structs, and enums.
78         * Graphics.cs: added all the font functions, fixed the signature
79         of the methods that have changed, added new methods
80
81 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
82
83         * Mono.Cairo/Object.cs: 
84
85         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
86         while to find out why Cairo applications would crash sometimes.
87         The problem was that Cairo.Object:TargetSurface get property would
88         create a Surface from an IntPtr, leading to having two managed
89         objects owning the same unmanaged Surface.
90
91         (Surface..ctor): Make private, so only this module can create
92         surfaces. 
93
94         (Surface.Dispose): Add disposable pattern, finalizer.
95
96         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
97
98 2003-10-11  Duncan Mak  <duncan@ximian.com>
99
100         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
101         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
102         (cairo_current_matrix): Signature changed, updated.
103         (cairo_surface_reference): New API.
104         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
105
106         * Mono.Cairo/Surface.cs:        
107         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
108         (Destroy): It's supposed to return void, not IntPtr.
109
110 2003-09-08  Duncan Mak  <duncan@ximian.com>
111
112         * Mono.Cairo/Surface.cs (PutImage): Removed.
113
114         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
115
116         * Mono.Cairo/Cairo.cs (cairo_copy): New API
117         (cairo_surface_put_image): Removed.
118
119 2003-09-05  Duncan Mak  <duncan@ximian.com>
120
121         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
122
123 2003-09-04  Duncan Mak  <duncan@ximian.com>
124
125         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
126         *_get_* to *_current_*. 
127         (cairo_set_target_drawable): 
128         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
129         (cairo_current_tolerance):
130         (cairo_set_tolerance): Fix typo. Thanks Alp.
131
132         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
133         API.
134
135 2003-08-12  Duncan Mak  <duncan@ximian.com>
136
137         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
138         name because the namespace name (Cairo) is the same as the class
139         name (also Cairo). To resolve this ambiguity while keeping the
140         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
141
142 2003-08-12  Duncan Mak  <duncan@ximian.com>
143
144         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
145         the enums no longer need to be nested inside the Cairo class.
146
147         * Mono.Cairo/Matrix.cs:
148         * Mono.Cairo/Object.cs:
149         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
150         the name of a class, esp. now that we have namespaces. So I have
151         decided to rename them.
152
153                 CairoObject        -> Cairo.Object
154                 CairoMatrixObject  -> Cairo.Matrix
155                 CairoSurfaceObject -> Cairo.Surface
156
157         I didn't like the Mono.Cairo namespace either, so they're just in
158         the Cairo namespace now. I know it's icky that the directory is
159         called Mono.Cairo, and the dll we write to is called
160         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
161         and not 'Mono.Cairo'. C'est la vie.
162         
163 2003-08-12  Duncan Mak  <duncan@ximian.com>
164
165         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
166         is actually a CairoSurfaceObject (a C cairo_surface_t); the
167         CairoPatternObject is just something I made up...
168
169 2003-08-12  Nick Drochak <ndrochak@gol.com>
170
171         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
172
173 2003-08-11  Duncan Mak  <duncan@ximian.com>
174
175         * makefile:
176         * Mono.Cairo.dll.sources: Added.
177
178         * Mono.Cairo/Cairo.cs:
179         * Mono.Cairo/CairoObject.cs:
180         * Mono.Cairo/CairoMatrixObject.cs: 
181         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
182
183 2003-08-09  Duncan Mak  <duncan@ximian.com>
184
185         * Mono.Cairo/Cairo.cs:
186         * Mono.Cairo/CairoObject.cs:
187         * Mono.Cairo/CairoMatrixObject.cs: 
188         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.