1 2005-10-09 Miguel de Icaza <miguel@novell.com>
3 * Samples/gtk/sysdraw.cs: Fix the sample
6 2005-09-19 John Luke <john.luke@gmail.com>
8 * Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
10 2005-09-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
12 * Samples/: Fix all samples to work with new API changes.
14 2005-09-12 John Luke <john.luke@gmail.com>
16 * Mono.Cairo/Surface.cs: add two ImageSurface ctors
17 Obsolete Surface CreateForImage methods in favor of
18 the new ImageSurface ctors
19 * Mono.Cairo/Cairo.cs: add cairo_text_extents
20 * Mono.Cairo/Graphics.cs: add TextExtents ()
23 2005-09-07 John Luke <john.luke@gmail.com>
25 * Mono.Cairo/Graphics.cs: the Relative path methods
26 should use a Distance not a PointD, and update some
27 parameter names for better documentation purposes
28 remove SetTargetImage (), and SetTargetDrawable ()
29 use Graphics.Target = Surface instead
30 * Mono.Cairo/Surface.cs: don't reference the surface after
31 we create it as it is not necessary
32 add the new surfaces to the surfaces hashtable on instantiation
33 * Mono.Cairo/Pattern.cs: don't reference the pattern after
34 we create it as it is not necessary
36 2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
38 * Samples/png: Fixed samples with new changes.
39 * Samples/x11: Fixed samples with new changes.
40 * Samples/gtk: Fixed samples with new changes.
42 2005-09-06 John Luke <john.luke@gmail.com>
44 * Samples/gtk/circles.cs: fix partially broken sample
46 2005-09-06 John Luke <john.luke@gmail.com>
48 * Mono.Cairo/Surface.cs: make CreateSimilar non-static
49 and use Content instead of Format, add Surface.Status
50 * Mono.Cairo/Graphics.cs: add convenience
51 ctor to Color with an alpha of 1.0
52 add Tolerance getter, Change SetDash to compute
53 the length automatically, rename TargetSurface to Target,
54 add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
55 add Paint, PaintWithAlpha, Mask, and MaskSurface (),
56 add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
57 * Mono.Cairo/Cairo.cs: add new imports:
58 cairo_stroke_extents, cairo_fill_extents,
59 cairo_clip_preserve, cairo_mask, cairo_mask_surface,
60 cairo_paint_with_alpha, cairo_surface_status
61 add Content enum and fix cairo_surface_create_similar to use
64 2005-09-05 John Luke <john.luke@gmail.com>
66 * Mono.Cairo/Samples/gtk/Graphics.cs:
67 add gtk-cairo helper that will work on win32 and
68 x11 based on gtk-dotnet in gtk#, not yet tested on
71 2005-09-05 John Luke <john.luke@gmail.com>
73 * Mono.Cairo/Samples/win32/compile.sh: add this
75 2005-09-04 John Luke <john.luke@gmail.com>
77 * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
78 cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
79 cairo_font_set_transform, cairo_font_current_transform,
80 cairo_font_reference, cairo_font_destroy, cairo_status_string,
81 cairo_surface_create_similar_solid
82 rename cairo_current_line_cap to cairo_get_line_cap,
83 remove now unused delegates
84 * Mono.Cairo/Graphics.cs:
85 * Mono.Cairo/Surface.cs: update for above all found
86 with help of mono-shlib-cop
89 2005-09-04 John Luke <john.luke@gmail.com>
91 * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
93 2005-09-02 John Luke <john.luke@gmail.com>
95 * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
97 2005-09-01 John Luke <john.luke@gmail.com>
99 * Mono.Cairo/Cairo.cs: add some imports used by
100 the extra surface types
101 * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
102 remove Surface.CreateForXlib ()
103 add PdfSurface and PsSurface for future use (#if'ed out)
104 * Mono.Cairo/Graphics.cs: add ShowPage() method
105 * Samples/win32/arc.cs: add win32 sample
106 * Samples/gtk/sysdraw.cs: use XlibSurface instead of
107 Surface.CreateForXlib ()
108 * Samples/x11/*.cs: use XlibSurface instead of
109 Surface.CreateForXlib ()
111 2005-09-01 John Luke <john.luke@gmail.com>
113 * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
114 (libcairo-2.dll) so that we can work on .net also
115 * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
116 cairo_get_antialias and Cairo.Antialias enum
117 * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
121 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
123 * Samples: Added png and x11 samples and cleaned up gtk
125 2005-08-30 John Luke <john.luke@gmail.com>
127 * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
128 some callback delegates outside the CairoAPI class
129 * Mono.Cairo.Matrix.cs: mark Matrix_T internal
130 * Mono.Cairo/*.cs: remove using System.Drawing;
131 * Mono.Cairo.Graphics.cs: fix IDisposable implementation
132 add overloads to MoveTo () and similar functions
133 for passing the parameters individually
134 * Makefile: remove -r:System.Drawing
136 2005-08-30 John Luke <john.luke@gmail.com>
138 * Mono.Cairo/Cairo.cs: add import for
139 cairo_surface_write_to_png
140 * Mono.Cairo/Surface.cs: add WriteToPng method
142 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
143 * Added xlib surface size / font size functions
144 * Added font matrix setting
146 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
147 * Cleanup all old methods, remove deprecated classes
149 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
150 * General fixups, this is becoming ready for SVN
152 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
153 * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
154 * More cleanups to fonts and Graphics.cs
156 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
157 * Matrix.cs: binded all functions from Cairo 0.5.x
158 * Surface.cs: binded all functions from Cairo 0.5.x
159 * Pattern.cs: binded all functions from Cairo 0.5.x
161 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
162 * Removed dependency on GTK 2.7.x in Samples
163 * Added more Matrix constructors
164 * Fixed typo in enum Extend
165 * Cairo.cs: fixed matrix_init* methods (dont use ref)
166 * Matrix.cs: moved to 0.5.x API, needs more work
168 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
169 * Moved a major part of the API to follow Cairo 0.5.x
170 * *_current_* are being replaced by *_get_*
171 * move *_set_* function to new API
172 * Add SurfaceImage type
173 * Matrix operations are somehow broken right now
175 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
176 * Graphics.cs: added get for Pattern property
177 * Cairo.cs: added FontExtents / TextExtents structs
178 * Cairo.cs: added several other functions from C API
180 * Started move to Cairo 0.5.x
182 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
183 * Graphics.cs: Added helper types (PointD, Point, Distance)
184 * Incorporated Reference() into some constructors
185 * Pattern.cs: Split patter into 3 object types
186 * Use double precision for sub-pixel rendering all over
187 * Use IntPtr.Zero instead of (IntPtr) 0
188 * Graphics.cs: Remove SetRGBColor and use Color type
189 * Matrix.cs: add Affine type as a subclass.
191 2005-04-24 Jordi Mas i Hernandez <jordi@ximian.com>
192 * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
193 * Cairo.cs Adds InStroke/InFill (patch from Pedro Kiefer)
195 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
197 * Cairo.cs: fixes cairo_current_matrix signature
198 * Font.cs: fixes internal _create method always returning null
199 * Graphics.cs: fixes Graphics.Matrix
200 * Matrix.cs: does not allow matrix objects without a wrapped handle
201 * Surface.cs: implements Surface.Show
203 2004-05-26 Miguel de Icaza <miguel@ximian.com>
205 * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
206 return value is owned by Cairo.
208 2004-05-10 Radek Doulik <rodo@ximian.com>
210 * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
211 cairo_curve_to instead of passing x2, x2
213 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
214 * Mono.Cairo/Pattern.cs: implemented all the new pattern API
215 introduced in Cairo 0.1.20
216 * Font.cs: created class that encapsulates a font object creation
218 * Cairo.cs: new dllexports, structs, and enums.
219 * Graphics.cs: added all the font functions, fixed the signature
220 of the methods that have changed, added new methods
222 2003-11-28 Miguel de Icaza <miguel@ximian.com>
224 * Mono.Cairo/Object.cs:
226 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
227 while to find out why Cairo applications would crash sometimes.
228 The problem was that Cairo.Object:TargetSurface get property would
229 create a Surface from an IntPtr, leading to having two managed
230 objects owning the same unmanaged Surface.
232 (Surface..ctor): Make private, so only this module can create
235 (Surface.Dispose): Add disposable pattern, finalizer.
237 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
239 2003-10-11 Duncan Mak <duncan@ximian.com>
241 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
242 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
243 (cairo_current_matrix): Signature changed, updated.
244 (cairo_surface_reference): New API.
245 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
247 * Mono.Cairo/Surface.cs:
248 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
249 (Destroy): It's supposed to return void, not IntPtr.
251 2003-09-08 Duncan Mak <duncan@ximian.com>
253 * Mono.Cairo/Surface.cs (PutImage): Removed.
255 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
257 * Mono.Cairo/Cairo.cs (cairo_copy): New API
258 (cairo_surface_put_image): Removed.
260 2003-09-05 Duncan Mak <duncan@ximian.com>
262 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
264 2003-09-04 Duncan Mak <duncan@ximian.com>
266 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
267 *_get_* to *_current_*.
268 (cairo_set_target_drawable):
269 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
270 (cairo_current_tolerance):
271 (cairo_set_tolerance): Fix typo. Thanks Alp.
273 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
276 2003-08-12 Duncan Mak <duncan@ximian.com>
278 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
279 name because the namespace name (Cairo) is the same as the class
280 name (also Cairo). To resolve this ambiguity while keeping the
281 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
283 2003-08-12 Duncan Mak <duncan@ximian.com>
285 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
286 the enums no longer need to be nested inside the Cairo class.
288 * Mono.Cairo/Matrix.cs:
289 * Mono.Cairo/Object.cs:
290 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
291 the name of a class, esp. now that we have namespaces. So I have
292 decided to rename them.
294 CairoObject -> Cairo.Object
295 CairoMatrixObject -> Cairo.Matrix
296 CairoSurfaceObject -> Cairo.Surface
298 I didn't like the Mono.Cairo namespace either, so they're just in
299 the Cairo namespace now. I know it's icky that the directory is
300 called Mono.Cairo, and the dll we write to is called
301 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
302 and not 'Mono.Cairo'. C'est la vie.
304 2003-08-12 Duncan Mak <duncan@ximian.com>
306 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
307 is actually a CairoSurfaceObject (a C cairo_surface_t); the
308 CairoPatternObject is just something I made up...
310 2003-08-12 Nick Drochak <ndrochak@gol.com>
312 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
314 2003-08-11 Duncan Mak <duncan@ximian.com>
317 * Mono.Cairo.dll.sources: Added.
319 * Mono.Cairo/Cairo.cs:
320 * Mono.Cairo/CairoObject.cs:
321 * Mono.Cairo/CairoMatrixObject.cs:
322 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
324 2003-08-09 Duncan Mak <duncan@ximian.com>
326 * Mono.Cairo/Cairo.cs:
327 * Mono.Cairo/CairoObject.cs:
328 * Mono.Cairo/CairoMatrixObject.cs:
329 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.