2005-10-04 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Drawing2D / ChangeLog
1 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
2
3         * GraphicsPath.jvm.cs: fix drawing arcs for angles >= 360
4
5 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
6
7         * GraphicsState.jvm.cs: container
8
9 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
10
11         * GraphicsState.jvm.cs: fixing visible window for containers
12
13 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
14
15         * GraphicsPath.jvm.cs: correct angle to compute the quarter
16
17 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
18
19         * Matrix.jvm.cs: Fix copy order in CopyTo
20
21 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
22
23         * ExtendedGeneralPath.jvm.cs: Cache PathData and GeneralPath.
24         * PathData.cs: always return cloned points and types. Use internals
25         without clone for internal processing.
26
27 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
28
29         * LinearGradientBrush.jvm.cs: FIxed transform methods
30         * Matrix.jvm.cs: Added CopyTo(), fixed Invert()
31
32 2005-09-06 Boris Kirzner <borisk@mainsoft.com>
33
34         * ExtendedGeneralPath.jvm.cs: Imported functionality from GraphicsPAth. 
35         Added copyright.
36         * GeneralPathIterator.jvm.cs: Added copyright.
37         * GraphicsPath.jvm.cs: Implemented methods. Some functionality moved 
38         to ExtendedGeneralPath. Added copyright.
39         * GraphicsPathIterator.jvm.cs: Implemented.
40
41 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
42
43         * Matrix.jvm.cs: fix scale, added static IdentityMatrix
44         * GraphicsState.jvm.cs, GraphicsContainer.jvm.cs: fix
45                 containers implementation
46
47 2005-08-30 Boris Kirzner <borisk@mainsoft.com>
48
49         * Matrix.jvm.cs: Bug fix
50
51 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
52
53         * LinearGradientBrush.jvm.cs: Refactoring, bug fix
54         * GraphicsState.jvm.cs: fixed SaveState, ResetState
55
56 2005-08-30 Konstantin Triger <kostat@mainsoft.com>
57
58         * GraphicsPath.jvm.cs: use correct object in Widen
59
60 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
61
62         * Added: GraphicsContainer.jvm.cs
63         * Added: GraphicsState.jvm.cs
64
65 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
66
67         * Matrix.jvm.cs: Refactoring
68         
69 2005-08-10 Konstantin Triger <kostat@mainsoft.com>
70
71         * GraphicsPath.jvm.cs: Implemented DrawClosedCurve.
72         * ExtendedGeneralPath.jvm.cs: cleanup.
73
74 2005-08-10 Boris Kirzner <borisk@mainsoft.com>
75         * ExtendedGeneralPath.jvm.cs: Added new class. Extends java GeneralPath
76         functionality.
77         * GeneralPathIterator.jvm.cs: Added new class. Implements java PathIterator.
78         * GraphicsPath.jvm.cs:
79                 - Redefined JPI enums so their values are defined in the single place.
80                 - NativeObject is now of type ExtendedGeneralPath.
81                 - Implemented missing constructors.
82                 - Implemented PathData and PointCount.
83                 - Decision about connecting to previous figure is now handled in 
84                 ExtendedGeneralPath.
85                 - Reimplemented AddRectangle to obtain right number of points.
86                 - Reimplemented GetLastPoint using ExtendedGeneralPath.
87                 - CloseAllFigures must close path at the end.
88                 - Fixed StartFigure.            
89
90 2005-08-10 Konstantin Triger <kostat@mainsoft.com>
91
92         * GraphicsPath.jvm.cs: implemented GraphicsPath.Widen
93
94 2005-08-10 Konstantin Triger <kostat@mainsoft.com>
95
96         * GraphicsPath.jvm.cs: fix default curve tension.
97
98 2005-08-0 9Konstantin Triger <kostat@mainsoft.com>
99
100         * GraphicsPath.jvm.cs, DashStyle.cs: refactoring
101
102 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
103
104         * GraphicsPath.cs: Implemented AddBeziers
105
106 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
107
108         * GraphicsPath.jvm.cs: Fixed AddPolygon methods
109
110 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
111
112         * GraphicsPath.cs: Fix AddLines
113
114 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
115
116         * GraphicsPath.cs: Fix AddArc/AddPie
117
118 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
119
120         * GraphicsPath.jvm.cs: Fixed AddLines methods
121         
122 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
123
124         * GraphicsPath.cs: Fix AddCurve implementation and cosmetic changes.
125
126 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
127
128         * GraphicsPath.cs: BasicShape as a base class and cosmetic changes
129
130 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
131
132         * DashStyle.cs: TARGET_JVM - add internal dash attribs arrays
133         * AdjustableArrowCap.jvm.cs, CustomLineCap.jvm.cs, GraphicsPath.jvm.cs,
134         GraphicsPathIterator.jvm.cs, HatchBrush.jvm.cs, LinearGradientBrush.jvm.cs,
135         Matrix.jvm.cs, PathGradientBrush.jvm.cs: added TARGET_JVM implementation of
136         these classes.
137
138 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
139
140         * GraphicsState.cs: should only contain the nativeState cookie
141         * Matrix.cs: Fixes Dispose method to allow to be called multiple times
142         
143 2005-01-02  Geoff Norton  <gnorton@customerdna.com>
144
145         * GraphicsPath.cs: Fixed the AddPoints methods.  Fixes bug #70916
146
147 2004-07-21  Ravindra  <rkumar@novell.com>
148
149         * GraphicsPath.cs: Implemented Dispose method and added error
150         checking in constructors.
151         * GraphicsPathIterator.cs: Fixed CopyData and Enumerate methods.
152
153 2004-07-16  Ravindra  <rkumar@novell.com>
154
155         * GraphicsPathIterator.cs: New implementation using GDI+ APIs.
156         This change makes this class fit into the rest of the design well
157         and also it takes care of a scenario when path gets modified. Old
158         implementation was not taking care of this.
159
160 2004-07-15  Ravindra  <rkumar@novell.com>
161
162         * GraphicsPath.cs: Implemented PathData property and some formatting.
163
164 2004-07-15  Ravindra  <rkumar@novell.com>
165
166         * CombineMode.cs, CompositingMode.cs, CompositingQuality.cs,
167         GraphicsPath.cs, CoordinateSpace.cs, DashCap.cs, DashStyle.cs,
168         FillMode.cs, FlushIntention.cs, GraphicsPath.cs, GraphicsState.cs,
169         InterpolationMode.cs, LineCap.cs, LineJoin.cs, LinearGradientMode.cs,
170         Matrix.cs, MatrixOrder.cs, PathPointType.cs, PenAlignment.cs,
171         PenType.cs, PixelOffsetMode.cs, QualityMode.cs, SmoothingMode.cs,
172         WarpMode.cs, WrapMode.cs: Changed format dos2unix.
173
174         * GraphicsContainer.cs, GraphicsPathIterator.cs, PathData.cs,
175         RegionData.cs:  Changed format dos2unix and changed instance variables'
176         access default/internal to private.
177
178 2004-07-13  Ravindra  <rkumar@novell.com>
179
180         * PathGradientBrush.cs: Removed all the private variables.
181         Now, we get/set everything from libgdiplus. This is cleaner.
182
183 2004-05-18  Ravindra  <rkumar@novell.com>
184
185         * LinearGradientBrush.cs: Added checks for the values of
186         focus and scale parameters in SetBlendTriangularShape and
187         SetSigmaBellShape methods.
188         * PathGradientBrush.cs: Same as above.
189
190 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
191
192         * DashCap.cs: fixed mismatches in enum field values
193         * HatchStyle.cs: fixes mismatches in enum field values
194
195 2004-05-18  Ravindra  <rkumar@novell.com>
196
197         * CustomLineCap.cs: Added null checks and corrected Dispose method.
198
199 2004-05-17  Duncan Mak  <duncan@ximian.com>
200
201         * GraphicsPathIterator.cs: Untabify and fixed coding style.
202         (GraphicsPathIterator): Store the path count, path points and path
203         type arrays instead of calling unmanaged functions in GDI+ each
204         time to get to get the path data.
205         (CopyData, Enumerate, HasCurve, Rewind, SubpathCount):
206         Implemented.
207
208 2004-05-16  Gert Driesen <drieseng@users.sourceforge.net>
209
210         * GraphicsPath.cs: renamed SetMarker to SetMarkers, to fix
211         public API to match MS.NET
212
213 2004-05-15  Duncan Mak  <duncan@ximian.com>
214
215         * GraphicsPath.cs: Instead of casting null to an IntPtr, use
216         IntPtr.Zero instead. Thanks to Nick Drochak for spotting this.
217
218 2004-05-14  Nick Drochak <ndrochak@gol.com>
219
220         * GraphicsPath.cs: fix build with csc.  No implicit conversion from
221         null to IntPtr.  Bug in mcs?
222
223 2004-05-14  Duncan Mak  <duncan@ximian.com>
224
225         * GraphicsPath.cs (ConvertPoints): Removed, we'll do the
226         conversion in C.
227         (GraphicsPath): Use GdipCreatePath2I instead.
228         (SetMarker, ClearMarkers):
229         (Flatten, GetBounds, IsOutlineVisible, IsVisible):
230         (StartFigure, CloseFigure, CloseFigures):
231         (Warp, Widen): Implemented. I left the MonoTODO attribute on for
232         the methods where the equivalent C function has not yet been
233         implemented.
234
235         * GraphicsPathIterator.cs (Count): Implemented.
236
237 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
238
239         * GraphicsState.cs: Added internal constructor.
240
241 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
242
243         * GraphicsPath.cs: Added stub for missing method CloseFigure().
244
245 2004-05-11  Ravindra  <rkumar@novell.com>
246
247         * AdjustableArrowCap.cs: Implemented.
248         * CustomLineCap.cs: Implemented.
249
250 2004-05-04  Ravindra  <rkumar@novell.com>
251
252         * LinearGradientBrush.cs: Fixed Transform property.
253
254 2004-04-30  Ravindra  <rkumar@novell.com>
255
256         * LinearGradientBrush.cs: Fixed some errors.
257
258 2004-04-06  Duncan Mak  <duncan@ximian.com>
259
260         * GraphicsPath.cs (GraphicsPath): Filled out the missing
261         constructors.
262         (ConvertPoints): New helper function. Converts a Point array to a
263         PointF array.
264         
265 2004-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
266         * GraphicsPath.cs: added missing methods
267         
268 2004-04-01  Duncan Mak  <duncan@ximian.com>
269         * GraphicsPath.cs (AddCurve, AddClosedCurve): Added all overloads.
270
271 2004-03-26  Ravindra  <rkumar@novell.com>
272         * WrapMode.cs: Corrected the TileFlipXY and TileFlipY values.
273
274 2004-03-23  Ravindra  <rkumar@novell.com>
275         * LinearGradientBrush.cs: Implemented public methods.
276
277 2004-03-22  Ravindra  <rkumar@novell.com>
278         * LinearGradientBrush.cs: Implemented constructors and properties.
279         * PathGradientBrush.cs: Fixed a constructor and few coding
280         style fixes. 
281
282 2004-03-18  Ravindra  <rkumar@novell.com>
283         * HatchBrush.cs: Fixed Clone method.
284         * PathGradientBrush.cs: Fixed Clone method and few minor
285         fixes.
286
287 2004-03-17  Ravindra  <rkumar@novell.com>
288         * Blend.cs: Fixed.
289         * ColorBlend.cs: Fixed.
290
291 2004-03-06  Ravindra  <rkumar@novell.com>
292         * PathGradientBrush.cs: Implemented methods.
293
294 2004-03-06  Ravindra  <rkumar@novell.com>
295         * PathGradientBrush.cs: Implemented constructors and properties.
296
297 2004-03-04  Duncan Mak  <duncan@ximian.com>
298
299         * GraphicsPath.cs (PathCount): Corrected. The name should be PointCount.
300         (AddPath): Implemented.
301
302 2004-02-27  Ravindra <rkumar@novell.com>
303
304         * WrapMode.cs: Corrected enum values. Tile should be zero
305         and Clamp should be four.
306
307 2004-02-11  Ravindra <rkumar@novell.com>
308
309         * Matrix.cs: Added status checks using 
310         GDIPlus.CheckStatus(Status) method.
311
312 2004-02-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
313
314         * GraphicsPathIterator.cs: Fixed signature, added TODOs
315         * Matrix.cs: Removed additional method
316
317 2004-02-06  Ravindra <rkumar@novell.com>
318
319         * HatchBrush.cs: Using CheckStatus method instead of
320         GetException.
321
322 2004-02-05  Ravindra <rkumar@novell.com>
323
324         * HatchBrush.cs: Implemented.
325         * HatchStyle.cs: Corrected enum values. Changed file format
326         from DOS to UNIX.
327
328 2004-01-30  Duncan Mak  <duncan@ximian.com>
329
330         * GraphicsPath.cs (AddPie): Corrected arguments sent to
331         P/Invoke. This fixes the strange NaNs we were getting when we
332         tried to draw Paths with a Pie figure.
333
334 2004-01-24  Duncan Mak  <duncan@ximian.com>
335
336         * GraphicsPath.cs (AddEllipse): Added.
337
338 2004-01-19  Duncan Mak  <duncan@ximian.com>
339
340         * GraphicsPath.cs: Implemented. Still needs testing, though.
341         Particular the PathPoints property, I ran into a P/Invoke problem,
342         I need to first fix that before I can go on with the rest of the testing.
343
344 2004-01-13  Ravindra  <rkumar@novell.com>
345
346         * Matrix.cs: Made the Matrix(IntPtr) constructor internal.
347         Because default access is private, that makes it unusable
348         by other classes.
349
350 2004-01-11  Duncan Mak  <duncan@ximian.com>
351
352         * Matrix.cs (Matrix): Removed reference to GpRect/GpRectF.
353
354 2004-01-10  Ravindra  <rkumar@novell.com>
355
356         * All Enums: Made serializable.
357
358         * GraphicsPathIterator.cs: Implements IDisposable.
359
360         * GraphicsState.cs: Inherits MarshalByRefObject.
361
362 2003-12-25  Duncan Mak  <duncan@ximian.com>
363
364         * Matrix.cs (ToString): Cache the elements inside a local variable
365         to avoid calling the Elements property repeatedly.
366
367 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
368
369         * Blend.cs: fix array sizes in the constructors. Closes bug #51564.
370         System.Web moves in mysterious ways.
371
372 2003-11-22  Duncan Mak  <duncan@ximian.com>
373
374         * Matrix.cs: Rewrote to use GDI+ implementation, doing all the
375         math in unmanaged code instead of doing it in C#.
376
377 2003-11-04  Miguel de Icaza  <miguel@ximian.com>
378
379         * GraphicsPathIterator.cs: Do not make this protected.
380
381 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
382
383         * QualityMode.cs: Fixed typo
384         * InterpolationMode.cs: Fixed typo
385         * RegionData.cs: Fixed signatures, partially implemented
386         * PathGradientBrush.cs: Fixed signatures
387         * PathData.cs: Fixed signature, implemented
388         * LinearGradientBrush.cs: Added missing MonoTODOs, fixed typo
389         * GraphicsContainer.cs: Added private constructor
390         * CustomLineCap.cs: Fixed typos, fixed inheritance, removed unneeded member
391
392 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
393
394         * ColorBlend.cs (Positions): another one.
395
396 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
397
398         * Blend.cs (Positions): recursion in prop.
399
400 2003-10-24  Miguel de Icaza  <miguel@ximian.com>
401
402         * GraphicsPath.cs: Stub some more.
403
404 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
405         * GraphicsState.cs              internal member added
406
407 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
408         * GraphicsState.cs              internal member added
409         
410 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
411         * LinearGradientBrush.cs  some implementation added
412
413 2003-3-15 DennisHayes <dennish@raytek.com>
414         * Stubbed and somewhat implmented
415
416         * CustomLineCap.cs
417         * GraphicsContainer.cs
418         * GraphicsPath.cs
419         * GraphicsPathIterator.cs
420         * GraphicsState.cs
421         * HatchBrush.cs
422         * LinearGradientBrush.cs
423
424 2003-3-5 DennisHayes <dennish@raytek.com>
425         * Added values for enums
426         * Stubbed and somewhat implmented Blend, ColorBlend, CustomLineCap
427
428
429 2003-3-2  DennisHayes <dennish@raytek.com>
430
431         * Created changelog
432         * updated copyrights to 2002/3
433         * changed namespace from System.Drawing, System.Drawing.Drawing2d to System.Drawing.Drawing2D
434         * cosmetic improvments
435
436 2002-10-13  DennisHayes <dennish@raytek.com>
437         * Changed namespace from *2d to *2D
438         * Changed comment header from system.Drawing to System.Drawing.Drawing2D
439
440 2002-9-2  DennisHayes <dennish@raytek.com>
441         
442         * AdjustableArrowCap.cs
443         * Blend.cs
444         * ColorBlend.cs
445         * CombineMode.cs
446         * CompostingMode.cs
447         * CompostingQuality.cs
448         * CoordinateSpace.cs
449         * CustomLineCap.cs
450         * DashCap.cs
451         * DashStyle.cs
452         * FillMode.cs
453         * FlushIntention.cs
454         * GraphicsContainer.cs
455         * GraphicsPathIterator.cs
456         * GraphicsState.cs
457         * HatchBrush.cs
458         * HatchStyle.cs
459         * InterpolationMode.cs
460         * LinearGradientBrush.cs
461         * LinearGradientMode.cs
462         * LineCap.cs
463         * LineJoin.cs
464         * MatrixOrder.cs
465         * PathData.cs
466         * PathGradientBrush.cs
467         * PathPointType.cs
468         * PenAligment.cs
469         * PenType.cs
470         * PixelOffsetMode.cs
471         * QualityMode.cs
472         * RegionData.cs
473         * SmoothingMode.cs
474         * WarpMode.cs
475         * WrapMode.cs
476         * Added null classes for most/all classes, Many stubs, and some implmentation
477
478 2002-9-2  DennisHayes <dennish@raytek.com>
479
480         * Matrix.cs
481         * Added stubs, implmentation
482
483 2002-9-2  DennisHayes <dennish@raytek.com>
484
485         * GraphicsPath.cs
486         * added stub needed for system.windows.forms
487
488 2002-01-06  Ravi Pratap  <ravi@ximian.com>
489
490         * ChangeLog : Add.
491
492         * Matrix.cs : MonoTODO everywhere.
493
494         * TODOAttribute.cs : Add here too.