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