Added x11 samples and did some cleanups.
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
2
3         * Samples: Added png and x11 samples and cleaned up gtk
4
5 2005-08-30  John Luke  <john.luke@gmail.com>
6
7         * Mono.Cairo/Cairo.cs: add import for
8         cairo_surface_write_to_png
9         * Mono.Cairo/Surface.cs: add WriteToPng method
10
11 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
12         * Added xlib surface size / font size functions
13         * Added font matrix setting
14         
15 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
16         * Cleanup all old methods, remove deprecated classes
17         
18 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
19         * General fixups, this is becoming ready for SVN
20
21 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
22         * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
23         * More cleanups to fonts and Graphics.cs
24
25 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
26         * Matrix.cs: binded all functions from Cairo 0.5.x
27         * Surface.cs: binded all functions from Cairo 0.5.x
28         * Pattern.cs: binded all functions from Cairo 0.5.x
29         
30 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
31         * Removed dependency on GTK 2.7.x in Samples
32         * Added more Matrix constructors
33         * Fixed typo in enum Extend
34         * Cairo.cs: fixed matrix_init* methods (dont use ref)
35         * Matrix.cs: moved to 0.5.x API, needs more work
36         
37 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
38         * Moved a major part of the API to follow Cairo 0.5.x
39         * *_current_* are being replaced by *_get_*
40         * move *_set_* function to new API
41         * Add SurfaceImage type
42         * Matrix operations are somehow broken right now
43         
44 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
45         * Graphics.cs: added get for Pattern property
46         * Cairo.cs: added FontExtents / TextExtents structs
47         * Cairo.cs: added several other functions from C API
48           cairo_text_extents
49         * Started move to Cairo 0.5.x
50
51 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
52         * Graphics.cs: Added helper types (PointD, Point, Distance)
53         * Incorporated Reference() into some constructors
54         * Pattern.cs: Split patter into 3 object types
55         * Use double precision for sub-pixel rendering all over
56         * Use IntPtr.Zero instead of (IntPtr) 0
57         * Graphics.cs: Remove SetRGBColor and use Color type
58         * Matrix.cs: add Affine type as a subclass.
59    
60 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
61         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
62         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
63
64 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
65
66         * Cairo.cs: fixes cairo_current_matrix signature
67         * Font.cs: fixes internal _create method always returning null
68         * Graphics.cs: fixes Graphics.Matrix
69         * Matrix.cs: does not allow matrix objects without a wrapped handle
70         * Surface.cs: implements Surface.Show 
71
72 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
73
74         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
75         return value is owned by Cairo.
76
77 2004-05-10  Radek Doulik  <rodo@ximian.com>
78
79         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
80         cairo_curve_to instead of passing x2, x2
81
82 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
83         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
84         introduced in Cairo 0.1.20
85         * Font.cs: created class that encapsulates a font object creation
86         and managment.
87         * Cairo.cs: new dllexports, structs, and enums.
88         * Graphics.cs: added all the font functions, fixed the signature
89         of the methods that have changed, added new methods
90
91 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
92
93         * Mono.Cairo/Object.cs: 
94
95         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
96         while to find out why Cairo applications would crash sometimes.
97         The problem was that Cairo.Object:TargetSurface get property would
98         create a Surface from an IntPtr, leading to having two managed
99         objects owning the same unmanaged Surface.
100
101         (Surface..ctor): Make private, so only this module can create
102         surfaces. 
103
104         (Surface.Dispose): Add disposable pattern, finalizer.
105
106         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
107
108 2003-10-11  Duncan Mak  <duncan@ximian.com>
109
110         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
111         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
112         (cairo_current_matrix): Signature changed, updated.
113         (cairo_surface_reference): New API.
114         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
115
116         * Mono.Cairo/Surface.cs:        
117         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
118         (Destroy): It's supposed to return void, not IntPtr.
119
120 2003-09-08  Duncan Mak  <duncan@ximian.com>
121
122         * Mono.Cairo/Surface.cs (PutImage): Removed.
123
124         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
125
126         * Mono.Cairo/Cairo.cs (cairo_copy): New API
127         (cairo_surface_put_image): Removed.
128
129 2003-09-05  Duncan Mak  <duncan@ximian.com>
130
131         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
132
133 2003-09-04  Duncan Mak  <duncan@ximian.com>
134
135         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
136         *_get_* to *_current_*. 
137         (cairo_set_target_drawable): 
138         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
139         (cairo_current_tolerance):
140         (cairo_set_tolerance): Fix typo. Thanks Alp.
141
142         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
143         API.
144
145 2003-08-12  Duncan Mak  <duncan@ximian.com>
146
147         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
148         name because the namespace name (Cairo) is the same as the class
149         name (also Cairo). To resolve this ambiguity while keeping the
150         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
151
152 2003-08-12  Duncan Mak  <duncan@ximian.com>
153
154         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
155         the enums no longer need to be nested inside the Cairo class.
156
157         * Mono.Cairo/Matrix.cs:
158         * Mono.Cairo/Object.cs:
159         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
160         the name of a class, esp. now that we have namespaces. So I have
161         decided to rename them.
162
163                 CairoObject        -> Cairo.Object
164                 CairoMatrixObject  -> Cairo.Matrix
165                 CairoSurfaceObject -> Cairo.Surface
166
167         I didn't like the Mono.Cairo namespace either, so they're just in
168         the Cairo namespace now. I know it's icky that the directory is
169         called Mono.Cairo, and the dll we write to is called
170         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
171         and not 'Mono.Cairo'. C'est la vie.
172         
173 2003-08-12  Duncan Mak  <duncan@ximian.com>
174
175         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
176         is actually a CairoSurfaceObject (a C cairo_surface_t); the
177         CairoPatternObject is just something I made up...
178
179 2003-08-12  Nick Drochak <ndrochak@gol.com>
180
181         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
182
183 2003-08-11  Duncan Mak  <duncan@ximian.com>
184
185         * makefile:
186         * Mono.Cairo.dll.sources: Added.
187
188         * Mono.Cairo/Cairo.cs:
189         * Mono.Cairo/CairoObject.cs:
190         * Mono.Cairo/CairoMatrixObject.cs: 
191         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
192
193 2003-08-09  Duncan Mak  <duncan@ximian.com>
194
195         * Mono.Cairo/Cairo.cs:
196         * Mono.Cairo/CairoObject.cs:
197         * Mono.Cairo/CairoMatrixObject.cs: 
198         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.