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