2007-07-07 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2007-07-07  Miguel de Icaza  <miguel@novell.com>
2
3         * Mono.Cairo/Context.cs: From Alp Toker: Add new API call
4         IdentityMatrix. 
5
6         * Mono.Cairo/Surface.cs: Integrate another cleanup from Alp.
7
8         * Mono.Cairo/SolidPattern.cs: Add helper APIs based on Alp's patch
9         based on F-Spot code.
10
11         Integrated various patches from Alp Toker:
12         
13         * Mono.Cairo/FontFace.cs: Add to the build.
14
15         * Mono.Cairo/Context.cs: Add a number of methods that are
16         compatible with the public Cairo API, and add commented out
17         Obsoletes for the names that we had.
18
19         (MaskSurface): More descriptive parameters
20
21         (SetSourceRGB, SetSourceRGBA): Removed [Obsoletes] from as those
22         are the public Cairo names.   Use the API directly without
23         creating a helper Color.
24
25         (FontFace): New property.
26
27         * Mono.Cairo/FontFace.cs: Partial integration of Alp's work for
28         FontFace.   There are two differences: no support for owns flag,
29         and no automatic unreffing on the finalizer thread.   Instead we
30         display an error message. 
31
32         * NativeMethods.cs: Split the native methods into its own file. 
33
34         * Mono.Cairo/Context.cs: Integrate Alp's patch to not use ref in
35         the call to cairo_font_extents, but use out instead.
36
37         * Integrate Alp's patch to rename CairoAPI NativeMethod, in
38         accordance to 2.7.1 framework guidelines.
39
40         * Removed the ifdef CAIRO_1_2, the documentation already reflects
41         that things are only available on Cairo 1.2.   
42
43         * Add new API calls to query Cairo for its version
44
45 2007-05-26  John Luke  <john.luke@gmail.com>
46
47         * Mono.Cairo/Cairo.cs:
48         * Mono.Cairo/Context.cs: fix call to cairo_get_font_matrix,
49         reported by patperry@stanford.edu (Patrick Perry) in bug#81626
50
51 2007-01-15  Alp Toker  <alp@atoker.com>
52
53         * Mono.Cairo/Surface.cs:
54         * Makefile: Disable CAIRO_1_2. Patches to make the 1.2 binding work
55         are being developed out-of-tree but not ready yet.
56
57 2007-01-08  Alp Toker  <alp@atoker.com>
58
59         * Mono.Cairo/Context.cs: Implement Context.GlyphExtents().
60         * Mono.Cairo/Cairo.cs: Change other TextExtents refs to outs.
61
62 2007-01-08  Alp Toker  <alp@atoker.com>
63
64         * Mono.Cairo/Context.cs: Restore Obsolete markings for old glyph
65         methods. It is fair to assume nobody was able to use these broken
66         methods, and Obsolete is important for the ongoing API review process.
67
68 2007-01-08  Alp Toker  <alp@atoker.com>
69
70         * Mono.Cairo/Context.cs:
71         * Mono.Cairo/Surface.cs:
72         Introduce Context.SetSource(). The old method also oddly took ints
73         instead of doubles. Obsolete Context.SetSourceSurface() and
74         Surface.Show().
75
76 2007-01-08  Alp Toker  <alp@atoker.com>
77
78         * Mono.Cairo/Format.cs: Obsolete Format.ARGB32/RGB24 in favour of
79         lower caps enum members.
80
81 2007-01-05  Alp Toker  <alp@atoker.com>
82
83         * Mono.Cairo/Pattern.cs: Obsolete Pattern(Surface) ctor in favour of
84         SurfacePattern(Surface).
85
86 2007-01-05  Alp Toker  <alp@atoker.com>
87
88         * Mono.Cairo/Context.cs:
89         * Mono.Cairo/Surface.cs: Generalize to Surface.LookupSurface()
90         This method will be useful elsewhere.
91
92 2007-01-04  Miguel de Icaza  <miguel@novell.com>
93
94         * Mono.Cairo/Context.cs (FromGlyphToUnManagedMemory): Deal with
95         an API limitation, the Glyph structure in Cairo is defined as
96         taking a `long' which would be 4 or 8 bytes depending on the
97         operating system.
98
99         We now cope with this by using the proper structure to the
100         unmanaged code. 
101
102 2006-12-30  Alp Toker  <alp@atoker.com>
103
104         * Makefile: Enable CAIRO_1_2.
105
106 2006-12-28  Alp Toker  <alp@atoker.com>
107
108         * Mono.Cairo/DirectFBSurface.cs: Confusion between the DirectFB
109         surface handle and Cairo surface handle was making the public
110         constructor unusable.
111
112 2006-12-27  Alp Toker  <alp@atoker.com>
113
114         * Mono.Cairo.dll.sources:
115         * Mono.Cairo/Context.cs:
116         * Mono.Cairo/GlitzSurface.cs: Add new surface.
117
118 2006-12-27  Alp Toker  <alp@atoker.com>
119
120         * Mono.Cairo/Cairo.cs:
121         * Mono.Cairo/Status.cs: Add new API for 1.4
122
123 2006-12-07  Alp Toker  <alp@atoker.com>
124
125         * Mono.Cairo/Context.cs: Add GroupTarget cases for Xcb and DirectFB
126         surfaces.
127
128 2006-09-19 Jordi Mas <jordimash@gmail.com>
129
130         * Surface.cs, Cairo.cs: the parameters for Show are X,Y not witdh 
131         and height and also double not int.
132
133 2006-07-21  Alp Toker  <alp@atoker.com>
134
135         * Mono.Cairo.dll.sources:
136         * Mono.Cairo/DirectFBSurface.cs:
137         * Mono.Cairo/XcbSurface.cs: Add new surfaces.
138
139 2006-07-06  John Luke  <john.luke@gmail.com>
140
141         * Mono.Cairo/Cairo.cs:
142         * Mono.Cairo/ImageSurface.cs: Marshal data correctly
143
144 2006-07-01  John Luke  <john.luke@gmail.com>
145
146         * Mono.Cairo/Context.cs:
147         * Mono.Cairo/PdfSurface.cs:
148         * Mono.Cairo/PSSurface.cs:
149         * Mono.Cairo/Cairo.cs:
150         * Mono.Cairo/XlibSurface.cs:
151         * Mono.Cairo/SvgSurface.cs: add some new surface API I missed
152
153 2006-07-01  John Luke  <john.luke@gmail.com>
154
155         * Mono.Cairo/Status.cs:
156         * Mono.Cairo/Context.cs:
157         * Mono.Cairo/FontFace.cs:
158         * Mono.Cairo/Surface.cs:
159         * Mono.Cairo/Format.cs:
160         * Mono.Cairo/LinearGradient.cs:
161         * Mono.Cairo/SolidPattern.cs:
162         * Mono.Cairo/Win32Surface.cs:
163         * Mono.Cairo/Pattern.cs:
164         * Mono.Cairo/SurfacePattern.cs:
165         * Mono.Cairo/ImageSurface.cs:
166         * Mono.Cairo/Cairo.cs:
167         * Mono.Cairo/Gradient.cs:
168         * Mono.Cairo/XlibSurface.cs:
169         * Mono.Cairo/RadialGradient.cs: add remaining new API for cairo 1.2
170         
171 2006-07-01  John Luke  <john.luke@gmail.com>
172
173         * Mono.Cairo/FontType.cs:
174         * Mono.Cairo/PatternType.cs: add new enums for cairo 1.2
175
176 2006-06-25  John Luke  <john.luke@gmail.com>
177
178         * Mono.Cairo/Surface.cs: make Destroy() call Dispose()
179         so all the Disposable stuff happens correctly and only once
180         
181 2006-06-23  John Luke  <john.luke@gmail.com>
182
183         * Mono.Cairo/Pattern.cs:
184         * Mono.Cairo/SolidPattern.cs:
185         * Mono.Cairo/SurfacePattern.cs:
186         * Mono.Cairo/Gradient.cs:
187         * Mono.Cairo/LinearGradient.cs:
188         * Mono.Cairo/RadialGradient.cs: split the pattern/gradients
189         into their own files
190         
191 2006-06-23  John Luke  <john.luke@gmail.com>
192
193         #if CAIRO_1_2 changes
194         
195         * Mono.Cairo/Surface.cs: add SetFallbackResolution
196         * Mono.Cairo/CairoAPI.cs: remove old pdf/ps api and
197         add some of the new API
198         * Mono.Cairo/SurfaceType.cs:
199         * Mono.Cairo/SvgSurface.cs:
200         * Mono.Cairo/SvgVersion.cs: add these
201         
202 2006-06-23  John Luke  <john.luke@gmail.com>
203
204         * Mono.Cairo/Surface.cs:
205         * Mono.Cairo/ImageSurface.cs:
206         * Mono.Cairo/PDFSurface.cs:
207         * Mono.Cairo/PSSurface.cs:
208         * Mono.Cairo/Win32Surface.cs:
209         * Mono.Cairo/XlibSurface.cs: split the surfaces into
210         their own files, make pdf and ps reflect what will be
211         in the cairo 1.2 api
212
213 2006-06-23  John Luke  <john.luke@gmail.com>
214
215         * snippets/*.cs: use Cairo.Context instead of Cairo.Graphics
216         * Samples/*/Makefile: add to ease building of samples
217         
218 2006-05-02  Zac Bowling  <zac@zacbowling.com>
219         
220         * Mono.Cairo/Surface.cs: string should be byte[]
221         * Mono.Cairo/Cairo.cs: string should be byte[]
222         (Patch from Philipp Baer <phbaer@npw.net>)
223
224 2006-01-17  Alp Toker  <alp@atoker.com>
225
226         * Samples/x11/compile.sh: Remove unused gtk-sharp reference
227
228 2005-12-19  Wade Berrier <wberrier@novell.com>
229
230         * Mono.Cairo/Makefile: Fix EXTRA_DIST to include samples
231
232 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>
233
234         * Mono.Cairo/Format.cs: Removed fixme, added names in .Net format
235         * Mono.Cairo/Surface.cs: Removed fixme, added static method 
236           FromBitmap() to allow creating a surface from a bitmap
237         * Mono.Cairo/Pattern.cs: Removed fixme to not tempt anyone to change
238           the name down the road
239
240 2005-12-16  John Luke  <john.luke@gmail.com>
241
242         * Mono.Cairo/FontOptions.cs: fix bug with
243         fontOptions == null, check parameter to Merge
244         against null
245         * Mono.Cairo/Glyph.cs: add setters to properties
246         
247 2005-12-16  John Luke  <john.luke@gmail.com>
248
249         * Mono.Cairo/Cairo.cs: organize and add missing API
250         split out enums and structs
251         * Mono.Cairo/*.cs: add enums and structs as seperate files
252         implement ==, !=, Equals, and GetHashCode for the structs
253         move public fields to properties
254
255 2005-12-16  John Luke  <john.luke@gmail.com>
256
257         * Mono.Cairo/Cairo.cs:
258         * Mono.Cairo/Context.cs:
259         * Mono.Cairo/Pattern.cs:
260         * Mono.Cairo/Surface.cs: add MarkDirty and Flush,
261         mark Surface.Pointer obsolete in favor of Handle
262
263 2005-12-16  John Luke  <john.luke@gmail.com>
264
265         * Mono.Cairo.dll.sources:
266         * Mono.Cairo/Rectangle.cs: add
267         * Mono.Cairo/Cairo.cs: mark fill_extents and stroke extents
268         with out modifiers
269         * Mono.Cairo/Context.cs: FillExtents, and StrokeExtents return
270         a Rectangle (actually 2 points), remove previously unusable
271         versions, add an overload to Rectangle that takes a Rectangle
272         
273 2005-12-12  Mike Kestner  <mkestner@novell.com>
274
275         * Mono.Cairo/Context.cs: renamed from Graphics.cs. renamed Graphics to
276         Context and added an Obsolete subclass to minimize the pain.
277         * Mono.Cairo/Surface.cs : s/Graphics/Context.  
278         Thanks to jluke for pointing out this change was needed.
279
280 2005-12-06  John Luke  <john.luke@gmail.com>
281
282         * Mono.Cairo/Cairo.cs: fix Content and  Format values,
283         fixes the knockout/circles sample
284         * Samples/png/circles.cs:
285         * Samples/png/knockout.cs: replace circles with knockout,
286         which uses the newer style api and works
287
288 2005-12-02  Ben Maurer  <bmaurer@ximian.com>
289
290         * Mono.Cairo/Graphics.cs: Api fixups
291                 - Make Point, et al. structs like all other apis
292                 - Use properties rather than public fields
293                 - Obsolete the plurality of ways to set the color.
294
295 2005-11-27  John Luke  <john.luke@gmail.com>
296
297         * Mono.Cairo/Graphics.cs: add back FontSetSize,
298         FontSize setter, and FontFace as obsolete API
299
300 2005-11-25  John Luke  <john.luke@gmail.com>
301
302         * Mono.Cairo/Cairo.cs: add font_options* api
303         add cairo_get_font_matrix
304         * Mono.Cairo/FontOptions.cs: add
305         * Mono.Cairo/Graphics.cs: add FontOptions property,
306         remove FontSize setter and FontSetSize(),
307         remove FontFace() method as SelectFontFace already exists
308         remove non-existant TransformFont() and Font property
309         
310 2005-11-16  John Luke  <john.luke@gmail.com>
311
312         * snippets/*.cs: add snippets port
313         
314 2005-11-10  John Luke  <john.luke@gmail.com>
315
316         * Mono.Cairo/Graphics.cs:
317         * Mono.Cairo/Surface.cs: remove debugging output
318         
319 2005-10-09  Miguel de Icaza  <miguel@novell.com>
320
321         * Samples/gtk/sysdraw.cs: Fix the sample
322         
323
324 2005-09-19  John Luke  <john.luke@gmail.com>
325
326         * Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
327
328 2005-09-12  Hisham Mardam Bey  <hisham.mardambey@gmail.com>
329
330         * Samples/: Fix all samples to work with new API changes.
331
332 2005-09-12  John Luke  <john.luke@gmail.com>
333
334         * Mono.Cairo/Surface.cs: add two ImageSurface ctors
335         Obsolete Surface CreateForImage methods in favor of
336         the new ImageSurface ctors
337         * Mono.Cairo/Cairo.cs: add cairo_text_extents
338         * Mono.Cairo/Graphics.cs: add TextExtents ()
339         
340         
341 2005-09-07  John Luke  <john.luke@gmail.com>
342
343         * Mono.Cairo/Graphics.cs: the Relative path methods
344         should use a Distance not a PointD, and update some
345         parameter names for better documentation purposes
346         remove SetTargetImage (), and SetTargetDrawable ()
347         use Graphics.Target = Surface instead
348         * Mono.Cairo/Surface.cs: don't reference the surface after
349         we create it as it is not necessary
350         add the new surfaces to the surfaces hashtable on instantiation 
351         * Mono.Cairo/Pattern.cs: don't reference the pattern after
352         we create it as it is not necessary
353         
354 2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
355
356         * Samples/png: Fixed samples with new changes.
357         * Samples/x11: Fixed samples with new changes.
358         * Samples/gtk: Fixed samples with new changes.  
359
360 2005-09-06  John Luke  <john.luke@gmail.com>
361
362         * Samples/gtk/circles.cs: fix partially broken sample
363
364 2005-09-06  John Luke  <john.luke@gmail.com>
365
366         * Mono.Cairo/Surface.cs: make CreateSimilar non-static
367         and use Content instead of Format, add Surface.Status
368         * Mono.Cairo/Graphics.cs: add convenience
369         ctor to Color with an alpha of 1.0
370         add Tolerance getter, Change SetDash to compute
371         the length automatically, rename TargetSurface to Target,
372         add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
373         add Paint, PaintWithAlpha, Mask, and MaskSurface (),
374         add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
375         * Mono.Cairo/Cairo.cs: add new imports:
376         cairo_stroke_extents, cairo_fill_extents,
377         cairo_clip_preserve, cairo_mask, cairo_mask_surface,
378         cairo_paint_with_alpha, cairo_surface_status
379         add Content enum and fix cairo_surface_create_similar to use
380         Content not Format
381         
382 2005-09-05  John Luke  <john.luke@gmail.com>
383
384         * Mono.Cairo/Samples/gtk/Graphics.cs:
385         add gtk-cairo helper that will work on win32 and
386         x11 based on gtk-dotnet in gtk#, not yet tested on
387         windows
388
389 2005-09-05  John Luke  <john.luke@gmail.com>
390
391         * Mono.Cairo/Samples/win32/compile.sh: add this
392         
393 2005-09-04  John Luke  <john.luke@gmail.com>
394
395         * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
396           cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
397           cairo_font_set_transform, cairo_font_current_transform,
398           cairo_font_reference, cairo_font_destroy, cairo_status_string,
399           cairo_surface_create_similar_solid
400           rename cairo_current_line_cap to cairo_get_line_cap,
401           remove now unused delegates
402         * Mono.Cairo/Graphics.cs:
403         * Mono.Cairo/Surface.cs: update for above all found 
404           with help of mono-shlib-cop
405
406
407 2005-09-04  John Luke  <john.luke@gmail.com>
408
409         * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
410         
411 2005-09-02  John Luke  <john.luke@gmail.com>
412
413         * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
414         
415 2005-09-01  John Luke  <john.luke@gmail.com>
416
417         * Mono.Cairo/Cairo.cs: add some imports used by
418         the extra surface types
419         * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
420         remove Surface.CreateForXlib () 
421         add PdfSurface and PsSurface for future use (#if'ed out)
422         * Mono.Cairo/Graphics.cs: add ShowPage() method
423         * Samples/win32/arc.cs: add win32 sample
424         * Samples/gtk/sysdraw.cs: use XlibSurface instead of
425         Surface.CreateForXlib ()
426         * Samples/x11/*.cs: use XlibSurface instead of
427         Surface.CreateForXlib ()
428
429 2005-09-01  John Luke  <john.luke@gmail.com>
430
431         * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
432           (libcairo-2.dll) so that we can work on .net also 
433         * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
434           cairo_get_antialias and Cairo.Antialias enum
435         * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
436           property
437          
438
439 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
440
441          * Samples: Added png and x11 samples and cleaned up gtk
442
443 2005-08-30  John Luke  <john.luke@gmail.com>
444
445         * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
446           some callback delegates outside the CairoAPI class
447         * Mono.Cairo.Matrix.cs: mark Matrix_T internal
448         * Mono.Cairo/*.cs: remove using System.Drawing;
449         * Mono.Cairo.Graphics.cs: fix IDisposable implementation
450           add overloads to MoveTo () and similar functions
451           for passing the parameters individually
452         * Makefile: remove -r:System.Drawing
453
454 2005-08-30  John Luke  <john.luke@gmail.com>
455
456         * Mono.Cairo/Cairo.cs: add import for
457         cairo_surface_write_to_png
458         * Mono.Cairo/Surface.cs: add WriteToPng method
459
460 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
461         * Added xlib surface size / font size functions
462         * Added font matrix setting
463         
464 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
465         * Cleanup all old methods, remove deprecated classes
466         
467 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
468         * General fixups, this is becoming ready for SVN
469
470 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
471         * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
472         * More cleanups to fonts and Graphics.cs
473
474 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
475         * Matrix.cs: binded all functions from Cairo 0.5.x
476         * Surface.cs: binded all functions from Cairo 0.5.x
477         * Pattern.cs: binded all functions from Cairo 0.5.x
478         
479 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
480         * Removed dependency on GTK 2.7.x in Samples
481         * Added more Matrix constructors
482         * Fixed typo in enum Extend
483         * Cairo.cs: fixed matrix_init* methods (dont use ref)
484         * Matrix.cs: moved to 0.5.x API, needs more work
485         
486 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
487         * Moved a major part of the API to follow Cairo 0.5.x
488         * *_current_* are being replaced by *_get_*
489         * move *_set_* function to new API
490         * Add SurfaceImage type
491         * Matrix operations are somehow broken right now
492         
493 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
494         * Graphics.cs: added get for Pattern property
495         * Cairo.cs: added FontExtents / TextExtents structs
496         * Cairo.cs: added several other functions from C API
497           cairo_text_extents
498         * Started move to Cairo 0.5.x
499
500 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
501         * Graphics.cs: Added helper types (PointD, Point, Distance)
502         * Incorporated Reference() into some constructors
503         * Pattern.cs: Split patter into 3 object types
504         * Use double precision for sub-pixel rendering all over
505         * Use IntPtr.Zero instead of (IntPtr) 0
506         * Graphics.cs: Remove SetRGBColor and use Color type
507         * Matrix.cs: add Affine type as a subclass.
508
509 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
510         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
511         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
512
513 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
514
515         * Cairo.cs: fixes cairo_current_matrix signature
516         * Font.cs: fixes internal _create method always returning null
517         * Graphics.cs: fixes Graphics.Matrix
518         * Matrix.cs: does not allow matrix objects without a wrapped handle
519         * Surface.cs: implements Surface.Show 
520
521 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
522
523         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
524         return value is owned by Cairo.
525
526 2004-05-10  Radek Doulik  <rodo@ximian.com>
527
528         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
529         cairo_curve_to instead of passing x2, x2
530
531 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
532         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
533         introduced in Cairo 0.1.20
534         * Font.cs: created class that encapsulates a font object creation
535         and managment.
536         * Cairo.cs: new dllexports, structs, and enums.
537         * Graphics.cs: added all the font functions, fixed the signature
538         of the methods that have changed, added new methods
539
540 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
541
542         * Mono.Cairo/Object.cs: 
543
544         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
545         while to find out why Cairo applications would crash sometimes.
546         The problem was that Cairo.Object:TargetSurface get property would
547         create a Surface from an IntPtr, leading to having two managed
548         objects owning the same unmanaged Surface.
549
550         (Surface..ctor): Make private, so only this module can create
551         surfaces. 
552
553         (Surface.Dispose): Add disposable pattern, finalizer.
554
555         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
556
557 2003-10-11  Duncan Mak  <duncan@ximian.com>
558
559         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
560         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
561         (cairo_current_matrix): Signature changed, updated.
562         (cairo_surface_reference): New API.
563         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
564
565         * Mono.Cairo/Surface.cs:        
566         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
567         (Destroy): It's supposed to return void, not IntPtr.
568
569 2003-09-08  Duncan Mak  <duncan@ximian.com>
570
571         * Mono.Cairo/Surface.cs (PutImage): Removed.
572
573         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
574
575         * Mono.Cairo/Cairo.cs (cairo_copy): New API
576         (cairo_surface_put_image): Removed.
577
578 2003-09-05  Duncan Mak  <duncan@ximian.com>
579
580         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
581
582 2003-09-04  Duncan Mak  <duncan@ximian.com>
583
584         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
585         *_get_* to *_current_*. 
586         (cairo_set_target_drawable): 
587         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
588         (cairo_current_tolerance):
589         (cairo_set_tolerance): Fix typo. Thanks Alp.
590
591         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
592         API.
593
594 2003-08-12  Duncan Mak  <duncan@ximian.com>
595
596         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
597         name because the namespace name (Cairo) is the same as the class
598         name (also Cairo). To resolve this ambiguity while keeping the
599         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
600
601 2003-08-12  Duncan Mak  <duncan@ximian.com>
602
603         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
604         the enums no longer need to be nested inside the Cairo class.
605
606         * Mono.Cairo/Matrix.cs:
607         * Mono.Cairo/Object.cs:
608         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
609         the name of a class, esp. now that we have namespaces. So I have
610         decided to rename them.
611
612                 CairoObject        -> Cairo.Object
613                 CairoMatrixObject  -> Cairo.Matrix
614                 CairoSurfaceObject -> Cairo.Surface
615
616         I didn't like the Mono.Cairo namespace either, so they're just in
617         the Cairo namespace now. I know it's icky that the directory is
618         called Mono.Cairo, and the dll we write to is called
619         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
620         and not 'Mono.Cairo'. C'est la vie.
621         
622 2003-08-12  Duncan Mak  <duncan@ximian.com>
623
624         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
625         is actually a CairoSurfaceObject (a C cairo_surface_t); the
626         CairoPatternObject is just something I made up...
627
628 2003-08-12  Nick Drochak <ndrochak@gol.com>
629
630         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
631
632 2003-08-11  Duncan Mak  <duncan@ximian.com>
633
634         * makefile:
635         * Mono.Cairo.dll.sources: Added.
636
637         * Mono.Cairo/Cairo.cs:
638         * Mono.Cairo/CairoObject.cs:
639         * Mono.Cairo/CairoMatrixObject.cs: 
640         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
641
642 2003-08-09  Duncan Mak  <duncan@ximian.com>
643
644         * Mono.Cairo/Cairo.cs:
645         * Mono.Cairo/CairoObject.cs:
646         * Mono.Cairo/CairoMatrixObject.cs: 
647         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.