1 2005-09-06 John Luke <john.luke@gmail.com>
3 * Samples/gtk/circles.cs: fix partially broken sample
5 2005-09-06 John Luke <john.luke@gmail.com>
7 * Mono.Cairo/Surface.cs: make CreateSimilar non-static
8 and use Content instead of Format, add Surface.Status
9 * Mono.Cairo/Graphics.cs: add convenience
10 ctor to Color with an alpha of 1.0
11 add Tolerance getter, Change SetDash to compute
12 the length automatically, rename TargetSurface to Target,
13 add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
14 add Paint, PaintWithAlpha, Mask, and MaskSurface (),
15 add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
16 * Mono.Cairo/Cairo.cs: add new imports:
17 cairo_stroke_extents, cairo_fill_extents,
18 cairo_clip_preserve, cairo_mask, cairo_mask_surface,
19 cairo_paint_with_alpha, cairo_surface_status
20 add Content enum and fix cairo_surface_create_similar to use
23 2005-09-05 John Luke <john.luke@gmail.com>
25 * Mono.Cairo/Samples/gtk/Graphics.cs:
26 add gtk-cairo helper that will work on win32 and
27 x11 based on gtk-dotnet in gtk#, not yet tested on
30 2005-09-05 John Luke <john.luke@gmail.com>
32 * Mono.Cairo/Samples/win32/compile.sh: add this
34 2005-09-04 John Luke <john.luke@gmail.com>
36 * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
37 cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
38 cairo_font_set_transform, cairo_font_current_transform,
39 cairo_font_reference, cairo_font_destroy, cairo_status_string,
40 cairo_surface_create_similar_solid
41 rename cairo_current_line_cap to cairo_get_line_cap,
42 remove now unused delegates
43 * Mono.Cairo/Graphics.cs:
44 * Mono.Cairo/Surface.cs: update for above all found
45 with help of mono-shlib-cop
48 2005-09-04 John Luke <john.luke@gmail.com>
50 * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
52 2005-09-02 John Luke <john.luke@gmail.com>
54 * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
56 2005-09-01 John Luke <john.luke@gmail.com>
58 * Mono.Cairo/Cairo.cs: add some imports used by
59 the extra surface types
60 * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
61 remove Surface.CreateForXlib ()
62 add PdfSurface and PsSurface for future use (#if'ed out)
63 * Mono.Cairo/Graphics.cs: add ShowPage() method
64 * Samples/win32/arc.cs: add win32 sample
65 * Samples/gtk/sysdraw.cs: use XlibSurface instead of
66 Surface.CreateForXlib ()
67 * Samples/x11/*.cs: use XlibSurface instead of
68 Surface.CreateForXlib ()
70 2005-09-01 John Luke <john.luke@gmail.com>
72 * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
73 (libcairo-2.dll) so that we can work on .net also
74 * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
75 cairo_get_antialias and Cairo.Antialias enum
76 * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
80 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
82 * Samples: Added png and x11 samples and cleaned up gtk
84 2005-08-30 John Luke <john.luke@gmail.com>
86 * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
87 some callback delegates outside the CairoAPI class
88 * Mono.Cairo.Matrix.cs: mark Matrix_T internal
89 * Mono.Cairo/*.cs: remove using System.Drawing;
90 * Mono.Cairo.Graphics.cs: fix IDisposable implementation
91 add overloads to MoveTo () and similar functions
92 for passing the parameters individually
93 * Makefile: remove -r:System.Drawing
95 2005-08-30 John Luke <john.luke@gmail.com>
97 * Mono.Cairo/Cairo.cs: add import for
98 cairo_surface_write_to_png
99 * Mono.Cairo/Surface.cs: add WriteToPng method
101 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
102 * Added xlib surface size / font size functions
103 * Added font matrix setting
105 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
106 * Cleanup all old methods, remove deprecated classes
108 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
109 * General fixups, this is becoming ready for SVN
111 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
112 * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
113 * More cleanups to fonts and Graphics.cs
115 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
116 * Matrix.cs: binded all functions from Cairo 0.5.x
117 * Surface.cs: binded all functions from Cairo 0.5.x
118 * Pattern.cs: binded all functions from Cairo 0.5.x
120 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
121 * Removed dependency on GTK 2.7.x in Samples
122 * Added more Matrix constructors
123 * Fixed typo in enum Extend
124 * Cairo.cs: fixed matrix_init* methods (dont use ref)
125 * Matrix.cs: moved to 0.5.x API, needs more work
127 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
128 * Moved a major part of the API to follow Cairo 0.5.x
129 * *_current_* are being replaced by *_get_*
130 * move *_set_* function to new API
131 * Add SurfaceImage type
132 * Matrix operations are somehow broken right now
134 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
135 * Graphics.cs: added get for Pattern property
136 * Cairo.cs: added FontExtents / TextExtents structs
137 * Cairo.cs: added several other functions from C API
139 * Started move to Cairo 0.5.x
141 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
142 * Graphics.cs: Added helper types (PointD, Point, Distance)
143 * Incorporated Reference() into some constructors
144 * Pattern.cs: Split patter into 3 object types
145 * Use double precision for sub-pixel rendering all over
146 * Use IntPtr.Zero instead of (IntPtr) 0
147 * Graphics.cs: Remove SetRGBColor and use Color type
148 * Matrix.cs: add Affine type as a subclass.
150 2005-04-24 Jordi Mas i Hernandez <jordi@ximian.com>
151 * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
152 * Cairo.cs Adds InStroke/InFill (patch from Pedro Kiefer)
154 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
156 * Cairo.cs: fixes cairo_current_matrix signature
157 * Font.cs: fixes internal _create method always returning null
158 * Graphics.cs: fixes Graphics.Matrix
159 * Matrix.cs: does not allow matrix objects without a wrapped handle
160 * Surface.cs: implements Surface.Show
162 2004-05-26 Miguel de Icaza <miguel@ximian.com>
164 * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
165 return value is owned by Cairo.
167 2004-05-10 Radek Doulik <rodo@ximian.com>
169 * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
170 cairo_curve_to instead of passing x2, x2
172 2004-04-25 Jordi Mas i Hernandez <jordi@ximian.com>
173 * Mono.Cairo/Pattern.cs: implemented all the new pattern API
174 introduced in Cairo 0.1.20
175 * Font.cs: created class that encapsulates a font object creation
177 * Cairo.cs: new dllexports, structs, and enums.
178 * Graphics.cs: added all the font functions, fixed the signature
179 of the methods that have changed, added new methods
181 2003-11-28 Miguel de Icaza <miguel@ximian.com>
183 * Mono.Cairo/Object.cs:
185 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
186 while to find out why Cairo applications would crash sometimes.
187 The problem was that Cairo.Object:TargetSurface get property would
188 create a Surface from an IntPtr, leading to having two managed
189 objects owning the same unmanaged Surface.
191 (Surface..ctor): Make private, so only this module can create
194 (Surface.Dispose): Add disposable pattern, finalizer.
196 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
198 2003-10-11 Duncan Mak <duncan@ximian.com>
200 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
201 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
202 (cairo_current_matrix): Signature changed, updated.
203 (cairo_surface_reference): New API.
204 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
206 * Mono.Cairo/Surface.cs:
207 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
208 (Destroy): It's supposed to return void, not IntPtr.
210 2003-09-08 Duncan Mak <duncan@ximian.com>
212 * Mono.Cairo/Surface.cs (PutImage): Removed.
214 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
216 * Mono.Cairo/Cairo.cs (cairo_copy): New API
217 (cairo_surface_put_image): Removed.
219 2003-09-05 Duncan Mak <duncan@ximian.com>
221 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
223 2003-09-04 Duncan Mak <duncan@ximian.com>
225 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
226 *_get_* to *_current_*.
227 (cairo_set_target_drawable):
228 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
229 (cairo_current_tolerance):
230 (cairo_set_tolerance): Fix typo. Thanks Alp.
232 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
235 2003-08-12 Duncan Mak <duncan@ximian.com>
237 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
238 name because the namespace name (Cairo) is the same as the class
239 name (also Cairo). To resolve this ambiguity while keeping the
240 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
242 2003-08-12 Duncan Mak <duncan@ximian.com>
244 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
245 the enums no longer need to be nested inside the Cairo class.
247 * Mono.Cairo/Matrix.cs:
248 * Mono.Cairo/Object.cs:
249 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
250 the name of a class, esp. now that we have namespaces. So I have
251 decided to rename them.
253 CairoObject -> Cairo.Object
254 CairoMatrixObject -> Cairo.Matrix
255 CairoSurfaceObject -> Cairo.Surface
257 I didn't like the Mono.Cairo namespace either, so they're just in
258 the Cairo namespace now. I know it's icky that the directory is
259 called Mono.Cairo, and the dll we write to is called
260 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
261 and not 'Mono.Cairo'. C'est la vie.
263 2003-08-12 Duncan Mak <duncan@ximian.com>
265 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
266 is actually a CairoSurfaceObject (a C cairo_surface_t); the
267 CairoPatternObject is just something I made up...
269 2003-08-12 Nick Drochak <ndrochak@gol.com>
271 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
273 2003-08-11 Duncan Mak <duncan@ximian.com>
276 * Mono.Cairo.dll.sources: Added.
278 * Mono.Cairo/Cairo.cs:
279 * Mono.Cairo/CairoObject.cs:
280 * Mono.Cairo/CairoMatrixObject.cs:
281 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
283 2003-08-09 Duncan Mak <duncan@ximian.com>
285 * Mono.Cairo/Cairo.cs:
286 * Mono.Cairo/CairoObject.cs:
287 * Mono.Cairo/CairoMatrixObject.cs:
288 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.