1 2005-12-16 John Luke <john.luke@gmail.com>
4 * Mono.Cairo/Context.cs:
5 * Mono.Cairo/Pattern.cs:
6 * Mono.Cairo/Surface.cs: add MarkDirty and Flush,
7 mark Surface.Pointer obsolete in favor of Handle
9 2005-12-16 John Luke <john.luke@gmail.com>
11 * Mono.Cairo.dll.sources:
12 * Mono.Cairo/Rectangle.cs: add
13 * Mono.Cairo/Cairo.cs: mark fill_extents and stroke extents
15 * Mono.Cairo/Context.cs: FillExtents, and StrokeExtents return
16 a Rectangle (actually 2 points), remove previously unusable
17 versions, add an overload to Rectangle that takes a Rectangle
19 2005-12-12 Mike Kestner <mkestner@novell.com>
21 * Mono.Cairo/Context.cs: renamed from Graphics.cs. renamed Graphics to
22 Context and added an Obsolete subclass to minimize the pain.
23 * Mono.Cairo/Surface.cs : s/Graphics/Context.
24 Thanks to jluke for pointing out this change was needed.
26 2005-12-06 John Luke <john.luke@gmail.com>
28 * Mono.Cairo/Cairo.cs: fix Content and Format values,
29 fixes the knockout/circles sample
30 * Samples/png/circles.cs:
31 * Samples/png/knockout.cs: replace circles with knockout,
32 which uses the newer style api and works
34 2005-12-02 Ben Maurer <bmaurer@ximian.com>
36 * Mono.Cairo/Graphics.cs: Api fixups
37 - Make Point, et al. structs like all other apis
38 - Use properties rather than public fields
39 - Obsolete the plurality of ways to set the color.
41 2005-11-27 John Luke <john.luke@gmail.com>
43 * Mono.Cairo/Graphics.cs: add back FontSetSize,
44 FontSize setter, and FontFace as obsolete API
46 2005-11-25 John Luke <john.luke@gmail.com>
48 * Mono.Cairo/Cairo.cs: add font_options* api
49 add cairo_get_font_matrix
50 * Mono.Cairo/FontOptions.cs: add
51 * Mono.Cairo/Graphics.cs: add FontOptions property,
52 remove FontSize setter and FontSetSize(),
53 remove FontFace() method as SelectFontFace already exists
54 remove non-existant TransformFont() and Font property
56 2005-11-16 John Luke <john.luke@gmail.com>
58 * snippets/*.cs: add snippets port
60 2005-11-10 John Luke <john.luke@gmail.com>
62 * Mono.Cairo/Graphics.cs:
63 * Mono.Cairo/Surface.cs: remove debugging output
65 2005-10-09 Miguel de Icaza <miguel@novell.com>
67 * Samples/gtk/sysdraw.cs: Fix the sample
70 2005-09-19 John Luke <john.luke@gmail.com>
72 * Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
74 2005-09-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
76 * Samples/: Fix all samples to work with new API changes.
78 2005-09-12 John Luke <john.luke@gmail.com>
80 * Mono.Cairo/Surface.cs: add two ImageSurface ctors
81 Obsolete Surface CreateForImage methods in favor of
82 the new ImageSurface ctors
83 * Mono.Cairo/Cairo.cs: add cairo_text_extents
84 * Mono.Cairo/Graphics.cs: add TextExtents ()
87 2005-09-07 John Luke <john.luke@gmail.com>
89 * Mono.Cairo/Graphics.cs: the Relative path methods
90 should use a Distance not a PointD, and update some
91 parameter names for better documentation purposes
92 remove SetTargetImage (), and SetTargetDrawable ()
93 use Graphics.Target = Surface instead
94 * Mono.Cairo/Surface.cs: don't reference the surface after
95 we create it as it is not necessary
96 add the new surfaces to the surfaces hashtable on instantiation
97 * Mono.Cairo/Pattern.cs: don't reference the pattern after
98 we create it as it is not necessary
100 2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
102 * Samples/png: Fixed samples with new changes.
103 * Samples/x11: Fixed samples with new changes.
104 * Samples/gtk: Fixed samples with new changes.
106 2005-09-06 John Luke <john.luke@gmail.com>
108 * Samples/gtk/circles.cs: fix partially broken sample
110 2005-09-06 John Luke <john.luke@gmail.com>
112 * Mono.Cairo/Surface.cs: make CreateSimilar non-static
113 and use Content instead of Format, add Surface.Status
114 * Mono.Cairo/Graphics.cs: add convenience
115 ctor to Color with an alpha of 1.0
116 add Tolerance getter, Change SetDash to compute
117 the length automatically, rename TargetSurface to Target,
118 add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
119 add Paint, PaintWithAlpha, Mask, and MaskSurface (),
120 add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
121 * Mono.Cairo/Cairo.cs: add new imports:
122 cairo_stroke_extents, cairo_fill_extents,
123 cairo_clip_preserve, cairo_mask, cairo_mask_surface,
124 cairo_paint_with_alpha, cairo_surface_status
125 add Content enum and fix cairo_surface_create_similar to use
128 2005-09-05 John Luke <john.luke@gmail.com>
130 * Mono.Cairo/Samples/gtk/Graphics.cs:
131 add gtk-cairo helper that will work on win32 and
132 x11 based on gtk-dotnet in gtk#, not yet tested on
135 2005-09-05 John Luke <john.luke@gmail.com>
137 * Mono.Cairo/Samples/win32/compile.sh: add this
139 2005-09-04 John Luke <john.luke@gmail.com>
141 * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
142 cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
143 cairo_font_set_transform, cairo_font_current_transform,
144 cairo_font_reference, cairo_font_destroy, cairo_status_string,
145 cairo_surface_create_similar_solid
146 rename cairo_current_line_cap to cairo_get_line_cap,
147 remove now unused delegates
148 * Mono.Cairo/Graphics.cs:
149 * Mono.Cairo/Surface.cs: update for above all found
150 with help of mono-shlib-cop
153 2005-09-04 John Luke <john.luke@gmail.com>
155 * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
157 2005-09-02 John Luke <john.luke@gmail.com>
159 * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
161 2005-09-01 John Luke <john.luke@gmail.com>
163 * Mono.Cairo/Cairo.cs: add some imports used by
164 the extra surface types
165 * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
166 remove Surface.CreateForXlib ()
167 add PdfSurface and PsSurface for future use (#if'ed out)
168 * Mono.Cairo/Graphics.cs: add ShowPage() method
169 * Samples/win32/arc.cs: add win32 sample
170 * Samples/gtk/sysdraw.cs: use XlibSurface instead of
171 Surface.CreateForXlib ()
172 * Samples/x11/*.cs: use XlibSurface instead of
173 Surface.CreateForXlib ()
175 2005-09-01 John Luke <john.luke@gmail.com>
177 * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
178 (libcairo-2.dll) so that we can work on .net also
179 * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
180 cairo_get_antialias and Cairo.Antialias enum
181 * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
185 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
187 * Samples: Added png and x11 samples and cleaned up gtk
189 2005-08-30 John Luke <john.luke@gmail.com>
191 * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
192 some callback delegates outside the CairoAPI class
193 * Mono.Cairo.Matrix.cs: mark Matrix_T internal
194 * Mono.Cairo/*.cs: remove using System.Drawing;
195 * Mono.Cairo.Graphics.cs: fix IDisposable implementation
196 add overloads to MoveTo () and similar functions
197 for passing the parameters individually
198 * Makefile: remove -r:System.Drawing
200 2005-08-30 John Luke <john.luke@gmail.com>
202 * Mono.Cairo/Cairo.cs: add import for
203 cairo_surface_write_to_png
204 * Mono.Cairo/Surface.cs: add WriteToPng method
206 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
207 * Added xlib surface size / font size functions
208 * Added font matrix setting
210 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
211 * Cleanup all old methods, remove deprecated classes
213 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
214 * General fixups, this is becoming ready for SVN
216 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
217 * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
218 * More cleanups to fonts and Graphics.cs
220 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
221 * Matrix.cs: binded all functions from Cairo 0.5.x
222 * Surface.cs: binded all functions from Cairo 0.5.x
223 * Pattern.cs: binded all functions from Cairo 0.5.x
225 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
226 * Removed dependency on GTK 2.7.x in Samples
227 * Added more Matrix constructors
228 * Fixed typo in enum Extend
229 * Cairo.cs: fixed matrix_init* methods (dont use ref)
230 * Matrix.cs: moved to 0.5.x API, needs more work
232 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
233 * Moved a major part of the API to follow Cairo 0.5.x
234 * *_current_* are being replaced by *_get_*
235 * move *_set_* function to new API
236 * Add SurfaceImage type
237 * Matrix operations are somehow broken right now
239 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
240 * Graphics.cs: added get for Pattern property
241 * Cairo.cs: added FontExtents / TextExtents structs
242 * Cairo.cs: added several other functions from C API
244 * Started move to Cairo 0.5.x
246 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
247 * Graphics.cs: Added helper types (PointD, Point, Distance)
248 * Incorporated Reference() into some constructors
249 * Pattern.cs: Split patter into 3 object types
250 * Use double precision for sub-pixel rendering all over
251 * Use IntPtr.Zero instead of (IntPtr) 0
252 * Graphics.cs: Remove SetRGBColor and use Color type
253 * Matrix.cs: add Affine type as a subclass.
255 2005-04-24 Jordi Mas i Hernandez <jordi@ximian.com>
256 * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
257 * Cairo.cs Adds InStroke/InFill (patch from Pedro Kiefer)
259 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
261 * Cairo.cs: fixes cairo_current_matrix signature
262 * Font.cs: fixes internal _create method always returning null
263 * Graphics.cs: fixes Graphics.Matrix
264 * Matrix.cs: does not allow matrix objects without a wrapped handle
265 * Surface.cs: implements Surface.Show
267 2004-05-26 Miguel de Icaza <miguel@ximian.com>
269 * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
270 return value is owned by Cairo.
272 2004-05-10 Radek Doulik <rodo@ximian.com>
274 * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
275 cairo_curve_to instead of passing x2, x2
277 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
278 * Mono.Cairo/Pattern.cs: implemented all the new pattern API
279 introduced in Cairo 0.1.20
280 * Font.cs: created class that encapsulates a font object creation
282 * Cairo.cs: new dllexports, structs, and enums.
283 * Graphics.cs: added all the font functions, fixed the signature
284 of the methods that have changed, added new methods
286 2003-11-28 Miguel de Icaza <miguel@ximian.com>
288 * Mono.Cairo/Object.cs:
290 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
291 while to find out why Cairo applications would crash sometimes.
292 The problem was that Cairo.Object:TargetSurface get property would
293 create a Surface from an IntPtr, leading to having two managed
294 objects owning the same unmanaged Surface.
296 (Surface..ctor): Make private, so only this module can create
299 (Surface.Dispose): Add disposable pattern, finalizer.
301 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
303 2003-10-11 Duncan Mak <duncan@ximian.com>
305 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
306 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
307 (cairo_current_matrix): Signature changed, updated.
308 (cairo_surface_reference): New API.
309 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
311 * Mono.Cairo/Surface.cs:
312 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
313 (Destroy): It's supposed to return void, not IntPtr.
315 2003-09-08 Duncan Mak <duncan@ximian.com>
317 * Mono.Cairo/Surface.cs (PutImage): Removed.
319 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
321 * Mono.Cairo/Cairo.cs (cairo_copy): New API
322 (cairo_surface_put_image): Removed.
324 2003-09-05 Duncan Mak <duncan@ximian.com>
326 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
328 2003-09-04 Duncan Mak <duncan@ximian.com>
330 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
331 *_get_* to *_current_*.
332 (cairo_set_target_drawable):
333 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
334 (cairo_current_tolerance):
335 (cairo_set_tolerance): Fix typo. Thanks Alp.
337 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
340 2003-08-12 Duncan Mak <duncan@ximian.com>
342 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
343 name because the namespace name (Cairo) is the same as the class
344 name (also Cairo). To resolve this ambiguity while keeping the
345 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
347 2003-08-12 Duncan Mak <duncan@ximian.com>
349 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
350 the enums no longer need to be nested inside the Cairo class.
352 * Mono.Cairo/Matrix.cs:
353 * Mono.Cairo/Object.cs:
354 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
355 the name of a class, esp. now that we have namespaces. So I have
356 decided to rename them.
358 CairoObject -> Cairo.Object
359 CairoMatrixObject -> Cairo.Matrix
360 CairoSurfaceObject -> Cairo.Surface
362 I didn't like the Mono.Cairo namespace either, so they're just in
363 the Cairo namespace now. I know it's icky that the directory is
364 called Mono.Cairo, and the dll we write to is called
365 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
366 and not 'Mono.Cairo'. C'est la vie.
368 2003-08-12 Duncan Mak <duncan@ximian.com>
370 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
371 is actually a CairoSurfaceObject (a C cairo_surface_t); the
372 CairoPatternObject is just something I made up...
374 2003-08-12 Nick Drochak <ndrochak@gol.com>
376 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
378 2003-08-11 Duncan Mak <duncan@ximian.com>
381 * Mono.Cairo.dll.sources: Added.
383 * Mono.Cairo/Cairo.cs:
384 * Mono.Cairo/CairoObject.cs:
385 * Mono.Cairo/CairoMatrixObject.cs:
386 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
388 2003-08-09 Duncan Mak <duncan@ximian.com>
390 * Mono.Cairo/Cairo.cs:
391 * Mono.Cairo/CairoObject.cs:
392 * Mono.Cairo/CairoMatrixObject.cs:
393 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.