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