1 2006-01-17 Alp Toker <alp@atoker.com>
3 * Samples/x11/compile.sh: Remove unused gtk-sharp reference
5 2005-12-19 Wade Berrier <wberrier@novell.com>
7 * Mono.Cairo/Makefile: Fix EXTRA_DIST to include samples
9 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
11 * Mono.Cairo/Format.cs: Removed fixme, added names in .Net format
12 * Mono.Cairo/Surface.cs: Removed fixme, added static method
13 FromBitmap() to allow creating a surface from a bitmap
14 * Mono.Cairo/Pattern.cs: Removed fixme to not tempt anyone to change
15 the name down the road
17 2005-12-16 John Luke <john.luke@gmail.com>
19 * Mono.Cairo/FontOptions.cs: fix bug with
20 fontOptions == null, check parameter to Merge
22 * Mono.Cairo/Glyph.cs: add setters to properties
24 2005-12-16 John Luke <john.luke@gmail.com>
26 * Mono.Cairo/Cairo.cs: organize and add missing API
27 split out enums and structs
28 * Mono.Cairo/*.cs: add enums and structs as seperate files
29 implement ==, !=, Equals, and GetHashCode for the structs
30 move public fields to properties
32 2005-12-16 John Luke <john.luke@gmail.com>
34 * Mono.Cairo/Cairo.cs:
35 * Mono.Cairo/Context.cs:
36 * Mono.Cairo/Pattern.cs:
37 * Mono.Cairo/Surface.cs: add MarkDirty and Flush,
38 mark Surface.Pointer obsolete in favor of Handle
40 2005-12-16 John Luke <john.luke@gmail.com>
42 * Mono.Cairo.dll.sources:
43 * Mono.Cairo/Rectangle.cs: add
44 * Mono.Cairo/Cairo.cs: mark fill_extents and stroke extents
46 * Mono.Cairo/Context.cs: FillExtents, and StrokeExtents return
47 a Rectangle (actually 2 points), remove previously unusable
48 versions, add an overload to Rectangle that takes a Rectangle
50 2005-12-12 Mike Kestner <mkestner@novell.com>
52 * Mono.Cairo/Context.cs: renamed from Graphics.cs. renamed Graphics to
53 Context and added an Obsolete subclass to minimize the pain.
54 * Mono.Cairo/Surface.cs : s/Graphics/Context.
55 Thanks to jluke for pointing out this change was needed.
57 2005-12-06 John Luke <john.luke@gmail.com>
59 * Mono.Cairo/Cairo.cs: fix Content and Format values,
60 fixes the knockout/circles sample
61 * Samples/png/circles.cs:
62 * Samples/png/knockout.cs: replace circles with knockout,
63 which uses the newer style api and works
65 2005-12-02 Ben Maurer <bmaurer@ximian.com>
67 * Mono.Cairo/Graphics.cs: Api fixups
68 - Make Point, et al. structs like all other apis
69 - Use properties rather than public fields
70 - Obsolete the plurality of ways to set the color.
72 2005-11-27 John Luke <john.luke@gmail.com>
74 * Mono.Cairo/Graphics.cs: add back FontSetSize,
75 FontSize setter, and FontFace as obsolete API
77 2005-11-25 John Luke <john.luke@gmail.com>
79 * Mono.Cairo/Cairo.cs: add font_options* api
80 add cairo_get_font_matrix
81 * Mono.Cairo/FontOptions.cs: add
82 * Mono.Cairo/Graphics.cs: add FontOptions property,
83 remove FontSize setter and FontSetSize(),
84 remove FontFace() method as SelectFontFace already exists
85 remove non-existant TransformFont() and Font property
87 2005-11-16 John Luke <john.luke@gmail.com>
89 * snippets/*.cs: add snippets port
91 2005-11-10 John Luke <john.luke@gmail.com>
93 * Mono.Cairo/Graphics.cs:
94 * Mono.Cairo/Surface.cs: remove debugging output
96 2005-10-09 Miguel de Icaza <miguel@novell.com>
98 * Samples/gtk/sysdraw.cs: Fix the sample
101 2005-09-19 John Luke <john.luke@gmail.com>
103 * Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
105 2005-09-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
107 * Samples/: Fix all samples to work with new API changes.
109 2005-09-12 John Luke <john.luke@gmail.com>
111 * Mono.Cairo/Surface.cs: add two ImageSurface ctors
112 Obsolete Surface CreateForImage methods in favor of
113 the new ImageSurface ctors
114 * Mono.Cairo/Cairo.cs: add cairo_text_extents
115 * Mono.Cairo/Graphics.cs: add TextExtents ()
118 2005-09-07 John Luke <john.luke@gmail.com>
120 * Mono.Cairo/Graphics.cs: the Relative path methods
121 should use a Distance not a PointD, and update some
122 parameter names for better documentation purposes
123 remove SetTargetImage (), and SetTargetDrawable ()
124 use Graphics.Target = Surface instead
125 * Mono.Cairo/Surface.cs: don't reference the surface after
126 we create it as it is not necessary
127 add the new surfaces to the surfaces hashtable on instantiation
128 * Mono.Cairo/Pattern.cs: don't reference the pattern after
129 we create it as it is not necessary
131 2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
133 * Samples/png: Fixed samples with new changes.
134 * Samples/x11: Fixed samples with new changes.
135 * Samples/gtk: Fixed samples with new changes.
137 2005-09-06 John Luke <john.luke@gmail.com>
139 * Samples/gtk/circles.cs: fix partially broken sample
141 2005-09-06 John Luke <john.luke@gmail.com>
143 * Mono.Cairo/Surface.cs: make CreateSimilar non-static
144 and use Content instead of Format, add Surface.Status
145 * Mono.Cairo/Graphics.cs: add convenience
146 ctor to Color with an alpha of 1.0
147 add Tolerance getter, Change SetDash to compute
148 the length automatically, rename TargetSurface to Target,
149 add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
150 add Paint, PaintWithAlpha, Mask, and MaskSurface (),
151 add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
152 * Mono.Cairo/Cairo.cs: add new imports:
153 cairo_stroke_extents, cairo_fill_extents,
154 cairo_clip_preserve, cairo_mask, cairo_mask_surface,
155 cairo_paint_with_alpha, cairo_surface_status
156 add Content enum and fix cairo_surface_create_similar to use
159 2005-09-05 John Luke <john.luke@gmail.com>
161 * Mono.Cairo/Samples/gtk/Graphics.cs:
162 add gtk-cairo helper that will work on win32 and
163 x11 based on gtk-dotnet in gtk#, not yet tested on
166 2005-09-05 John Luke <john.luke@gmail.com>
168 * Mono.Cairo/Samples/win32/compile.sh: add this
170 2005-09-04 John Luke <john.luke@gmail.com>
172 * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
173 cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
174 cairo_font_set_transform, cairo_font_current_transform,
175 cairo_font_reference, cairo_font_destroy, cairo_status_string,
176 cairo_surface_create_similar_solid
177 rename cairo_current_line_cap to cairo_get_line_cap,
178 remove now unused delegates
179 * Mono.Cairo/Graphics.cs:
180 * Mono.Cairo/Surface.cs: update for above all found
181 with help of mono-shlib-cop
184 2005-09-04 John Luke <john.luke@gmail.com>
186 * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
188 2005-09-02 John Luke <john.luke@gmail.com>
190 * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
192 2005-09-01 John Luke <john.luke@gmail.com>
194 * Mono.Cairo/Cairo.cs: add some imports used by
195 the extra surface types
196 * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
197 remove Surface.CreateForXlib ()
198 add PdfSurface and PsSurface for future use (#if'ed out)
199 * Mono.Cairo/Graphics.cs: add ShowPage() method
200 * Samples/win32/arc.cs: add win32 sample
201 * Samples/gtk/sysdraw.cs: use XlibSurface instead of
202 Surface.CreateForXlib ()
203 * Samples/x11/*.cs: use XlibSurface instead of
204 Surface.CreateForXlib ()
206 2005-09-01 John Luke <john.luke@gmail.com>
208 * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
209 (libcairo-2.dll) so that we can work on .net also
210 * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
211 cairo_get_antialias and Cairo.Antialias enum
212 * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
216 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
218 * Samples: Added png and x11 samples and cleaned up gtk
220 2005-08-30 John Luke <john.luke@gmail.com>
222 * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
223 some callback delegates outside the CairoAPI class
224 * Mono.Cairo.Matrix.cs: mark Matrix_T internal
225 * Mono.Cairo/*.cs: remove using System.Drawing;
226 * Mono.Cairo.Graphics.cs: fix IDisposable implementation
227 add overloads to MoveTo () and similar functions
228 for passing the parameters individually
229 * Makefile: remove -r:System.Drawing
231 2005-08-30 John Luke <john.luke@gmail.com>
233 * Mono.Cairo/Cairo.cs: add import for
234 cairo_surface_write_to_png
235 * Mono.Cairo/Surface.cs: add WriteToPng method
237 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
238 * Added xlib surface size / font size functions
239 * Added font matrix setting
241 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
242 * Cleanup all old methods, remove deprecated classes
244 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
245 * General fixups, this is becoming ready for SVN
247 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
248 * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
249 * More cleanups to fonts and Graphics.cs
251 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
252 * Matrix.cs: binded all functions from Cairo 0.5.x
253 * Surface.cs: binded all functions from Cairo 0.5.x
254 * Pattern.cs: binded all functions from Cairo 0.5.x
256 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
257 * Removed dependency on GTK 2.7.x in Samples
258 * Added more Matrix constructors
259 * Fixed typo in enum Extend
260 * Cairo.cs: fixed matrix_init* methods (dont use ref)
261 * Matrix.cs: moved to 0.5.x API, needs more work
263 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
264 * Moved a major part of the API to follow Cairo 0.5.x
265 * *_current_* are being replaced by *_get_*
266 * move *_set_* function to new API
267 * Add SurfaceImage type
268 * Matrix operations are somehow broken right now
270 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
271 * Graphics.cs: added get for Pattern property
272 * Cairo.cs: added FontExtents / TextExtents structs
273 * Cairo.cs: added several other functions from C API
275 * Started move to Cairo 0.5.x
277 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
278 * Graphics.cs: Added helper types (PointD, Point, Distance)
279 * Incorporated Reference() into some constructors
280 * Pattern.cs: Split patter into 3 object types
281 * Use double precision for sub-pixel rendering all over
282 * Use IntPtr.Zero instead of (IntPtr) 0
283 * Graphics.cs: Remove SetRGBColor and use Color type
284 * Matrix.cs: add Affine type as a subclass.
286 2005-04-24 Jordi Mas i Hernandez <jordi@ximian.com>
287 * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
288 * Cairo.cs Adds InStroke/InFill (patch from Pedro Kiefer)
290 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
292 * Cairo.cs: fixes cairo_current_matrix signature
293 * Font.cs: fixes internal _create method always returning null
294 * Graphics.cs: fixes Graphics.Matrix
295 * Matrix.cs: does not allow matrix objects without a wrapped handle
296 * Surface.cs: implements Surface.Show
298 2004-05-26 Miguel de Icaza <miguel@ximian.com>
300 * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
301 return value is owned by Cairo.
303 2004-05-10 Radek Doulik <rodo@ximian.com>
305 * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
306 cairo_curve_to instead of passing x2, x2
308 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
309 * Mono.Cairo/Pattern.cs: implemented all the new pattern API
310 introduced in Cairo 0.1.20
311 * Font.cs: created class that encapsulates a font object creation
313 * Cairo.cs: new dllexports, structs, and enums.
314 * Graphics.cs: added all the font functions, fixed the signature
315 of the methods that have changed, added new methods
317 2003-11-28 Miguel de Icaza <miguel@ximian.com>
319 * Mono.Cairo/Object.cs:
321 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
322 while to find out why Cairo applications would crash sometimes.
323 The problem was that Cairo.Object:TargetSurface get property would
324 create a Surface from an IntPtr, leading to having two managed
325 objects owning the same unmanaged Surface.
327 (Surface..ctor): Make private, so only this module can create
330 (Surface.Dispose): Add disposable pattern, finalizer.
332 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
334 2003-10-11 Duncan Mak <duncan@ximian.com>
336 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
337 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
338 (cairo_current_matrix): Signature changed, updated.
339 (cairo_surface_reference): New API.
340 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
342 * Mono.Cairo/Surface.cs:
343 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
344 (Destroy): It's supposed to return void, not IntPtr.
346 2003-09-08 Duncan Mak <duncan@ximian.com>
348 * Mono.Cairo/Surface.cs (PutImage): Removed.
350 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
352 * Mono.Cairo/Cairo.cs (cairo_copy): New API
353 (cairo_surface_put_image): Removed.
355 2003-09-05 Duncan Mak <duncan@ximian.com>
357 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
359 2003-09-04 Duncan Mak <duncan@ximian.com>
361 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
362 *_get_* to *_current_*.
363 (cairo_set_target_drawable):
364 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
365 (cairo_current_tolerance):
366 (cairo_set_tolerance): Fix typo. Thanks Alp.
368 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
371 2003-08-12 Duncan Mak <duncan@ximian.com>
373 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
374 name because the namespace name (Cairo) is the same as the class
375 name (also Cairo). To resolve this ambiguity while keeping the
376 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
378 2003-08-12 Duncan Mak <duncan@ximian.com>
380 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
381 the enums no longer need to be nested inside the Cairo class.
383 * Mono.Cairo/Matrix.cs:
384 * Mono.Cairo/Object.cs:
385 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
386 the name of a class, esp. now that we have namespaces. So I have
387 decided to rename them.
389 CairoObject -> Cairo.Object
390 CairoMatrixObject -> Cairo.Matrix
391 CairoSurfaceObject -> Cairo.Surface
393 I didn't like the Mono.Cairo namespace either, so they're just in
394 the Cairo namespace now. I know it's icky that the directory is
395 called Mono.Cairo, and the dll we write to is called
396 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
397 and not 'Mono.Cairo'. C'est la vie.
399 2003-08-12 Duncan Mak <duncan@ximian.com>
401 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
402 is actually a CairoSurfaceObject (a C cairo_surface_t); the
403 CairoPatternObject is just something I made up...
405 2003-08-12 Nick Drochak <ndrochak@gol.com>
407 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
409 2003-08-11 Duncan Mak <duncan@ximian.com>
412 * Mono.Cairo.dll.sources: Added.
414 * Mono.Cairo/Cairo.cs:
415 * Mono.Cairo/CairoObject.cs:
416 * Mono.Cairo/CairoMatrixObject.cs:
417 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
419 2003-08-09 Duncan Mak <duncan@ximian.com>
421 * Mono.Cairo/Cairo.cs:
422 * Mono.Cairo/CairoObject.cs:
423 * Mono.Cairo/CairoMatrixObject.cs:
424 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.