2005-02-10 Geoff Norton <gnorton@customerdna.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing / ChangeLog
1 2005-02-10  Geoff Norton  <gnorton@customerdna.com>
2
3         * Icon.cs: Implement GetObjectData ()
4         * Image.cs: Implement GetObjectData ()
5
6 2005-02-09  Geoff Norton  <gnorton@customerdna.com>
7
8         * Icon.cs: Implement deserializer
9         * Bitmap.cs: Implement deserializer
10
11 2005-02-06  Ben Maurer  <bmaurer@ximian.com>
12
13         * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
14
15 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
16
17         * Region.cs: revert Jackson's patch and fix this at libgdiplus level
18
19 2005-02-02  Jackson Harper  <jackson@ximian.com>
20
21         * Region.cs: The default region constructor creates and infinite
22         region, not an empty one.
23
24 2005-01-27  Peter Bartok  <pbartok@novell.com>
25
26         * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
27           of HSV numbers. Previous implementation returned wrong numbers and NaN
28           on achromatic colors
29
30 2005-01-27  Lluis Sanchez Gual  <lluis@novell.com>
31
32         * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
33         SizeConverter.cs, ColorConverter.cs, FontConverter.cs
34         : Implemented support for InstanceDescriptor.
35
36 2005-01-26  Peter Bartok  <pbartok@novell.com>
37
38         * Icon.cs (ToBitmap): Now sets transparency in according to
39           icon AND mask
40
41 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
42
43         * gdipFunctions.cs: Fixes GdipGet* function signatures
44         * FontFamily.cs: Fixes GdipGet* function calls
45         * Font.cs: Fixes ToString method
46         
47 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
48
49         * Graphics.cs: calls XCloseDisplay on X11 when need it
50         * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
51
52 2004-12-27  Zoltan Varga  <vargaz@freemail.hu>
53
54         * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
55
56 2004-12-16  Peter Bartok  <pbartok@novell.com>
57
58         * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
59           equivalent to the gdi+ native object
60
61         * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
62           equivalent to the gdi+ native object
63
64 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
65
66         * carbonFunctions.cs: New carbon functions/structures
67         * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
68
69 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
70
71         * Graphics.cs:  Drop FromHwndWithSize; we can't change the public API
72         Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
73
74 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
75
76         * Graphics.cs:  Add FromHwndWithSize for the MWF/Quartz backend
77         * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
78
79 2004-12-06  Miguel de Icaza  <miguel@ximian.com>
80
81         * FontFamily.cs: This one is static.
82
83 2004-11-25  Ravindra  <rkumar@novell.com>
84
85         * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
86         type from int to Status type.
87
88 2004-11-25  Marek Safar  <marek.safar@seznam.cz>
89
90         * Image.cs: Add CheckStatus to SaveAdd.
91
92 2004-11-22  Ravindra  <rkumar@novell.com>
93
94         * Graphics.cs: Fixed null values handling in all overloads of
95         MeasureString method.
96
97 2004-11-18  Ravindra  <rkumar@novell.com>
98
99         * gdipFunctions.cs: Removed the .so extension from a DllImport
100         that hooks to X11.
101
102 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
103
104         * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+ 
105         termination
106
107 2004-11-03  Miguel de Icaza  <miguel@ximian.com>
108
109         * TextureBrush.cs (Clone): While cloning, it is not enough to let
110         GDIPlus clone the underlying data, we must alos clone the managed
111         information. 
112
113         * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
114         errors in the future, set the lock on the object before doing any
115         other tests, not after.
116         
117         (Clone): While cloning, it is not enough to let
118         GDIPlus clone the underlying data, we must alos clone the managed
119         information. 
120
121         * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
122         errors in the future.
123
124         Set the lock in the object before checkign disposed.
125
126         * SolidBrush.cs (Clone): While cloning, it is not enough to let
127         GDIPlus clone the underlying data, we must alos clone the managed
128         information. 
129
130         (Dispose): Set the nativeObject to IntPtr.Zero to catch
131         errors in the future.
132
133 2004-10-28  Ravindra  <rkumar@novell.com>
134
135         * gdipFunctions.cs: Added checks for null stream in the
136         StreamHelper internal class.
137         * Icon.cs: Removed an ugly hack that used temp files in
138         ToBitmap () method. We use MemoryStream instead.
139
140 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
141
142         * Font.cs: fixes bug 66533
143         
144 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
145         
146         * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
147         SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
148         lock operations after conversation with Miguel. Do not really
149         need it.
150
151 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
152         
153         * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
154
155 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
156         
157         * Bitmap.cs: Fixes MakeTransparent method
158
159 2004-10-13  Ravindra  <rkumar@novell.com>
160
161         * Graphics.cs: Moved the initialization of 'use_x_drawable'
162         member out of private constructor to class initialization.
163         So that, we get it right even if Graphics is not instantiated.
164         This fixes the problem we face (otherwise) when we make first
165         call to Graphics.FromHwnd () method.
166
167 2004-10-08  Ravindra  <rkumar@novell.com>
168
169         * Image.cs: Suppress finalization in Dispose () method.
170
171 2004-10-04  Ravindra  <rkumar@novell.com>
172
173         * gdipFunctioncs.cs: Fix from Alois for bug #67383.
174
175 2004-09-29  Jackson Harper  <jackson@ximian.com>
176
177         * Graphics.cs: Use FromHdcInternal to set the X display
178         handle. Add a flag to check if we are on unix so we aren't calling
179         Environment.OSVersion.Platform all the time. Mad props to Peter
180         Bartok for this.
181
182 2004-09-17  Marek Safar <marek.safar@seznam.cz>
183
184         * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
185         ToLogFont: Implemented.
186
187         * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
188         avoid casts.
189         GdipCreateFontFromLogfontA: A new extern call.
190
191 2004-09-13  Ravindra <rkumar@novell.com>
192
193         * Graphics.cs: MSDN says that using image width and height gives
194         better performance, hence we are using image width and height to
195         avoid autoscaling in DrawImageUnscaled.
196
197 2004-09-10  Ravindra <rkumar@novell.com>
198
199         * Graphics.cs: Implemented DrawIcon methods and fixed
200         DrawImageUnscaled method implementation.
201
202 2004-08-21  Jackson Harper  <jackson@ximian.com>
203
204         * ImageAnimator.cs: Run animator as a background thread so we do
205         not hang on exit.
206
207 2004-08-21  Ravindra  <rkumar@novell.com>
208
209         * gdipFunctions.cs: Modified exception message to include the case
210         of missing required libraries for different formats.
211
212 2004-08-10  Jackson Harper  <jackson@ximian.com>
213
214         * SystemColors.cs: Make Highlight colour match colour from windows
215         classic color scheme.
216
217 2004-07-30 Ravindra <rkumar@novell.com>
218
219         * Font.cs: Fixed Height property implementation and implemented
220         GetHeight method and its overloads.
221
222 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
223
224         * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
225         P/Invoke function for Image.
226         * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
227
228 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
229
230         * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and 
231         GdipGetAllPropertyItems P/Invoke function for Image.
232         * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
233         * Image.cs: Corrected implementation of PropertyItems property.
234
235 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
236
237         * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList 
238         P/Invoke function for Image.
239         * Image.cs: Changed implementation of PropertyIdList property.
240
241 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
242
243         * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
244         * Image.cs: Implemented PropertyItems and PropertyIdList properties.
245
246 2004-07-21  Ravindra <rkumar@novell.com>
247
248         * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
249         GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
250
251 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
252         
253         * Graphics.cs:  fixes MeasureCharacterRanges function. It was completely wrong. 
254         * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
255         * gdipFunctions.cs: new GDI function calls
256
257 2004-07-16  Ravindra <rkumar@novell.com>
258
259         * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
260
261 2004-07-15  Ravindra <rkumar@novell.com>
262
263         * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
264
265 2004-07-13  Ravindra <rkumar@novell.com>
266
267         * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
268         This was redundant. It was kept in previous checkin to avoid
269         build breakage.
270
271 2004-07-13  Ravindra <rkumar@novell.com>
272
273         * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
274
275 2004-07-09  Peter Bartok <pbartok@novell.com>
276         * Graphics.cs: Added support required for new managed SWF library
277         * gdipFunctions.cs: Added XOpenDisplay definition/import
278
279 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
280
281         * gdipFunctions.cs: fixes bug 61050
282
283 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
284
285         * ImageAnimator.cs: Rewrote complete implementation.
286
287 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
288
289         * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
290         If read function was called after seek function call, the 
291         implementation  was returning data from bytes already peeked and 
292         not from the new position in stream, which we have seeked.
293         
294 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
295
296         * Graphics.cs: added MeasureString wrappers
297
298 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
299
300         * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux 
301
302 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
303
304         * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
305
306 2004-06-18  Ravindra <rkumar@novell.com>
307
308         * FontConverter.cs: Implemented the missing functions.
309         * Font.cs: Added some notes.
310
311 2004-06-16  Sanjay Gupta <gsanjay@novell.com>
312         
313         * gdipFunctions.cs: Modified Function signature for 
314         GdipSaveImageToDelegate_linux() method for saving tiff images 
315         to streams.
316         * image.cs: Modified function call GdipSaveImageToDelegate_linux()
317         with new signature.
318
319 2004-06-15  Sanjay Gupta <gsanjay@novell.com>
320         
321         * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
322         and Size, required by TIFFCodec. Modifed Function signature for 
323         GdipLoadImageFromDelegate_linux() method.
324         * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
325         with new signature.
326
327 2004-06-11  Ravindra <rkumar@novell.com>
328
329         * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
330         from out int to out IntPtr.
331         * SolidBrush.cs: Same.
332
333 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
334
335         * Image.cs: API signature fixes, meaning DisposeResources is now
336         private and marked InitFromStream internal
337
338 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
339
340         * FontFamily.cs: simplifies object destruction and fixes
341
342 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
343
344         * FontFamily.cs: added destructor 
345         * Graphics.cs: added destructor to stop leaking, remove debugging code
346
347
348 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
349
350         * gdipFunctions.cs: added GdipSaveAddImage
351         * Image.cs: added SaveAdd methods
352
353 2004-06-02  Peter Bartok <pbartok@novell.com>
354         * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
355           (This fixes bug #59479)
356
357 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
358
359         * Font.cs: Added missing Browsable attribute on SizeInPoints.
360         * Region.cs: Removed extra ComVisible attribute from Clone().
361
362 2004-06-01  Ravindra <rkumar@novell.com>
363
364         * Pen.cs: Added a note on Dispose method.
365         * Brush.cs: Fixed Dispose method.
366         * SolidBrush.cs: Fixed Dispose method.
367
368 2004-05-28  Ravindra <rkumar@novell.com>
369
370         * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
371         rectangles.
372         * Graphics.cs: Implemented Dispose method and changed Draw/Fill
373         rectangles implementation (This is basically done to avoid lots
374         of brush and pen setup happening in libgdiplus.)
375
376 2004-05-27  Ravindra <rkumar@novell.com>
377
378         * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
379
380 2004-05-26  Sanjay Gupta <gsanjay@novell.com>
381
382         * ImageFormatConverter.cs: Fixed issues discovered from nunit 
383         test cases.
384
385 2004-05-26  Ravindra <rkumar@novell.com>
386
387         * Color.cs: Corrected Color.Green property.
388
389 2004-05-24  Jordi Mas i Hernandez <jordi@ximian.com>
390         * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
391
392 2004-05-20  Sanjay Gupta <gsanjay@novell.com>
393
394         * Icon.cs: Fixed issue with size property.
395
396 2004-05-18  Ravindra <rkumar@novell.com>
397
398         * Pen.cs: Added value checks in DashPattern and CompoundArray
399         properties.
400
401 2004-05-16  Gert Driesen <drieseng@users.sourceforge.net>
402
403         * Graphics.cs: fixed warning
404         * ImageAnimator.cs: fixed warning
405         * FontConverter.cs: fixed public API
406
407 2004-05-14  Vladimir Vukicevic  <vladimir@pobox.com>
408
409         * gdipFunctions.cs: Fixed prototype for
410         GdipGetEncoderParameterList
411         
412         * Image.cs: Reworked Save functions to handle EncoderParameters.
413         Implemented GetEncoderParameterList
414         Also removed unused setGDIPalette internal method.
415
416 2004-05-14  Peter Bartok <pbartok@novell.com>
417         * StringFormat.cs: Added CharacterRange handling
418         * Graphics.cs: Implemented MeasureCharacterRanges method
419
420 2004-05-14  Peter Bartok <pbartok@novell.com>
421         * Graphics.cs: Added error check
422
423 2004-05-14  Duncan Mak  <duncan@ximian.com>
424         * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
425         (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
426         (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
427
428 2004-05-14  Sanjay Gupta <gsanjay@novell.com>
429         * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
430
431 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
432         * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method. 
433
434 2004-05-13  Peter Bartok <pbartok@novell.com>
435         * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
436         resize the image.
437
438 2004-05-12  Peter Bartok <pbartok@novell.com>
439         * Image.cs: Implemented GetThumbnailImage
440
441 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
442         * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and 
443         FromXDrawable(IntPtr, IntPtr) internal.
444                         
445 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
446         * Color.cs: work for API compatibilty: private date, todos
447         * Font.cs: work for API compatibilty: private date, todos
448         * FontFamily.cs: work for API compatibilty: private date, todos
449         * Graphics.cs: work for API compatibilty: private date, todos
450         * Icon.cs: work for API compatibilty: private date, todos 
451         * Image.cs: work for API compatibilty: private date, todos
452         * ImageAnimator.cs: work for API compatibilty: private date, todos
453         * Point.cs: work for API compatibilty: private date, todos
454         * PointF.cs: work for API compatibilty: private date, todos
455         * Rectangle.cs: work for API compatibilty: private date, todos
456         * RectangleF.cs: work for API compatibilty: private date, todos
457         * Region.cs: work for API compatibilty: private date, todos
458         * Size.cs: work for API compatibilty: private date, todos
459         * SizeF.cs: work for API compatibilty: private date, todos
460         * SolidBrush.cs: work for API compatibilty: private date, todos
461         * StringFormat.cs: work for API compatibilty: private date, todos
462         * SystemPens.cs: work for API compatibilty: private date, todos
463         * TextureBrush.cs: work for API compatibilty: private date, todos
464         * gdipStructs.cs: work for API compatibilty: private date, todos
465
466 2004-05-12  Ravindra <rkumar@novell.com>
467
468         * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
469         ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
470         Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
471         Added missing attributes and some coding style fixes.
472         * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and 
473         some fixes.
474
475 2004-05-11  Sanjay Gupta <gsanjay@novell.com>
476
477         * ImageAnimator.cs: Implemented first version. 
478
479 2004-05-11  Ravindra  <rkumar@novell.com>
480
481         * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
482         for the same.
483
484 2004-05-10  Ravindra  <rkumar@novell.com>
485
486         * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
487         for the same. Added few related P/Invokes for Pen also.
488
489 2004-05-06  Sanjay Gupta <gsanjay@novell.com>
490
491         * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
492
493 2004-05-06  Ravindra <rkumar@novell.com>
494
495         * RectangleConverter.cs: Implemented GetProperties () method.
496         * SizeConverter.cs: Implemented GetProperties () method.
497         * PointConverter.cs: Implemented GetProperties () method.
498         * FontConverter.cs: Implemented some of the methods.
499
500 2004-05-06  Ravindra <rkumar@novell.com>
501
502         * Color.cs: Fixed Name property.
503         * ColorTranslator.cs: Fixed the existing methods and implemented
504         the missing methods.
505         * ColorConverter.cs: Fixed the existing methods and implemented 
506         the missing methods. Also, fixed coding style.
507
508 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
509         * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
510
511 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
512         * Image.cs: raw_format should be handled by GDI+
513         * Bitmap.cs: raw_format should be handled by GDI+
514
515 2004-05-04  Ravindra <rkumar@novell.com>
516
517         * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
518         and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
519         properties and SetLineCap method. In constructors use IntPtr instead
520         of int.
521         * SolidBrush.cs: Modified exception message.
522         * TextureBrush.cs: Fixed Transform property.
523         * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
524         LinearGradientBrush.cs.
525
526 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
527
528         * Image.cs: Implemented FrameDimensionsList property.
529
530 2004-04-30  Ravindra <rkumar@novell.com>
531
532         * gdipFunctions.cs: Added few more P/Invoke calls for
533         lineargradient brush and added one case statement in 
534         CheckStatus method.
535
536 2004-04-30  Jordi Mas i Hernandez <jordi@ximian.com>
537
538         * Image.cs: takes into account MemoryBmp format when saving
539
540 2004-04-30  Ravindra <rkumar@novell.com>
541
542         * StringFormat.cs: Added checks for status.
543
544 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
545
546         * Image.cs: Removed calls which passes byte[] for Guid parameter.
547         * gdipFunctions.cs: Removed unwanted unix specific function calls.
548
549 2004-04-30  Ravindra <rkumar@novell.com>
550
551         * Graphics.cs: Added checks for status.
552         * Image.cs: Added a check for status.
553         * FontFamily.cs: Added checks for status.
554
555 2004-04-29  Peter Bartok <pbartok@novell.com>
556
557         * Brushes.cs: Fixed bug #52695. No longer creates a new
558         brush for every request and behaves Microsoft compatible
559
560 2004-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
561
562         * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
563         its ClsID instead of the formatID (as GDI+ expects)
564
565 2004-04-29  Ravindra <rkumar@novell.com>
566
567         * Font.cs: Added checks for status.
568         * Bitmap.cs: Added checks for status.
569         * Pen.cs: Added checks for status.
570
571 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
572
573         * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
574         Converted to unix format from dos format.
575
576 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
577
578         * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
579
580 2004-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
581
582         * gdipStructs.cs: added GdipImageCodecInfo struct
583
584 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
585
586         * ImageFormatConverter.cs: Corrected ConvertFrom method.
587
588 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
589
590         * ImageConverter.cs: Added exception message.
591         * IconConverter.cs: Added exception message.
592         * ImageFormatConverter.cs: Implemented first version.
593
594 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
595
596         * ImageConverter.cs: Implemented first version.
597
598 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
599
600         * IconConverter.cs: Implemented first version.
601
602 2004-04-26  Sanjay Gupta  <gsanjay@novell.com>
603
604         * Image.cs: Corrected implementation of Property RawFormat.
605         * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
606
607 2004-04-25  Sanjay Gupta  <gsanjay@novell.com>
608
609         * Bitmap.cs: Resolved a compile time error.
610         * Image.cs: Changed the implementation of few methods to progress
611           with ImageAnimator class.
612         * gdipFunctions.cs: Added few linux only function calls.
613         * Icon.cs: Removed unused variable from code.
614
615 2004-04-25  Vladimir Vukicevic  <vladimir@pobox.com>
616
617         * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
618
619 2004-04-23  Vladimir Vukicevic  <vladimir@pobox.com>
620
621         * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
622         serialization for Bitmaps.  (Bugzilla #52568)
623
624 2004-04-23  Ravindra <rkumar@novell.com>
625
626         * RectangleConverter.cs: Fixed ConvertTo () method.
627         * SizeConverter.cs: Fixed ConvertTo () method.
628         * PointConverter.cs: Fixed ConvertTo () method.
629
630 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
631         * ImageAnimator.cs: Implemented CanAnimate() method.
632
633 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
634         * Image.cs: added RotateFlip and RemovePropertyItem calls
635         
636 2004-04-22  Ravindra <rkumar@novell.com>
637
638         * RectangleConverter.cs: Implemented. Also changed file format
639         dos2unix.
640         * Rectangle.cs: Fixed ToString method.
641         * RectangleF.cs: Fixed ToString method.
642
643 2004-04-22  Ravindra <rkumar@novell.com>
644
645         * SizeConverter.cs: Implemented some of the functions.
646         * PointConveter.cs: Implemented.
647         * gdipFunctions.cs: Corrected one typo.
648         * Brushes.cs: Added a comment.
649
650 2004-04-22  Vladimir Vukicevic  <vladimir@pobox.com>
651
652         * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
653         returning portions of the peek buffer back.  Fixes #57379.
654
655 2004-04-21 Peter Bartok <pbartok@novell.com>
656    * Font.cs: Implemented Font.FromHfont method
657    * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
658    * gdipFunctions.cs: Added imports for functions required to support
659    Font.FromHfont method
660
661 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
662         * RectangleConverter.cs: stubbed out
663         * Font.cs : added missing members
664
665 2004-04-19  Sanjay Gupta <gsanjay@novell.com>
666         * Icon.cs: Fixed problem in extracting bitmap from Icon.
667
668 2004-04-16  Ravindra <rkumar@novell.com>
669
670         * Pen.cs: GC should be allowed to collect any pen including
671         system pens.
672         * SolidBrush.cs: GC should be allowed to collect any SolidBrush
673         including system brushes.
674         * Brushes.cs: Coding style.
675         * Pens.cs: Objects created by Pens are not modifiable on
676         MS.NET, so we are now. Also, coding style fixes.
677         * SystemPens.cs: Removed static constructor and changed file
678         format dos2unix.
679         * SystemBrushes.cs: Some cosmetic changes.
680
681 2004-04-15  Sanjay Gupta <gsanjay@novell.com>
682         * Icon.cs: Implemented more missing bits and fixed the problem
683                 of icon not getting saved in proper format
684
685 2004-04-14  Sanjay Gupta <gsanjay@novell.com>
686         * Icon.cs: Implemented more missing bits
687
688 2004-04-13  Sanjay Gupta <gsanjay@novell.com>
689         * Icon.cs: Implemented few more missing bits
690
691 2004-04-12  Sanjay Gupta <gsanjay@novell.com>
692         * Icon.cs: Implemented first version
693
694 2004-04-11  Peter Bartok <pbartok@novell.com>
695    * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
696    the code and using our own private gdiplus function when on Unix and using Win32
697    functions when running on Windows
698    * gdipStructs.cs: Added LOGFONTA structure
699    * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
700
701 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
702
703         * Image.cs: Save should use encoder.FormatID, not Clsid
704
705 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
706         * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
707         * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
708
709 2004-04-06  Duncan Mak  <duncan@ximian.com>
710
711         * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
712
713 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
714         * Region.cs: fixes GetRegionScans
715         * gdipFunctions.cs: fixes GetRegionScans
716
717 2004-04-06  Vladimir Vukicevic  <vladimir@pobox.com>
718
719         * gdipFunctions.cs: Added stream delegate helpers for
720         stream loading/saving on linux
721
722         * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
723         loading/saving image data.
724
725 2004-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
726         * Region.cs: implemented new methods
727         * Graphics.cs: implemented new methods
728
729 2004-04-02  Jordi Mas i Hernandez <jordi@ximian.com>
730         * Region.cs: implemented
731
732 2004-04-01  Duncan Mak  <duncan@ximian.com>
733
734         * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
735
736         * gdipFunctions.cs (GdipAddPathCurveI):
737         (GdipAddPathCurve2, GdipAddPathCurve2I):
738         (GdipAddPathCurve3, GdipAddPathCurve3I):
739         (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
740         (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
741         wrappers from GDI+.
742
743 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>    
744         * Image.cs: implemented a few GDI+ wrapper calls
745
746 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>
747         * Bitmap.cs: remove redundant data already present at Image.cs
748         * Image.cs: use GDI+ functions to get image details
749         * StringFormat.cs: missing constructor and property
750
751 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
752         * FontFamily.cs: added missing members and style clean
753         * Graphics.cs: fixed signature of DrawArc and DrawPie
754         * Image.cs: added missing members, fixes
755         * StringFormat.cs: missing constructor and property
756
757 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
758         * Graphics.cs: Added missing DrawImage GDI+ calls
759         * gdipFunctions.cs: Added missing DrawImage GDI+ calls  
760
761 2004-03-23  Ravindra <rkumar@novell.com>
762         * gdipFunctions.cs: Added few more P/Invoke calls for
763         LinearGradientBrush.
764
765 2004-03-22  Ravindra <rkumar@novell.com>
766         * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
767         and did few coding style fixes.
768
769 2004-03-18  Ravindra <rkumar@novell.com>
770         * Brush.cs: Fixed Dispose method.
771         * SolidBrush.cs: Fixed clone method.
772         * TextureBrush.cs: Fixed clone method.
773         * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
774
775 2004-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
776
777         * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
778
779 2004-03-10  Ravindra  <rkumar@novell.com>
780         * Pen.cs: Implemented PenType property.
781         * Brush.cs: Coding style.
782
783 2004-03-06  Ravindra  <rkumar@novell.com>
784         * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
785         for PathGradientBrush.
786
787 2004-03-06  Ravindra  <rkumar@novell.com>
788         * gdipFunctions.cs: Added GDI+ P/Invoke calls for
789         PathGradientBrush.
790
791 2004-03-04  Duncan Mak  <duncan@ximian.com>
792
793         * Region.cs: Indentation.
794
795         * RectangleF.cs: Changed the internal structure from a PointF,
796         SizeF to floats in order to match the layout from the C API.
797
798 2004-03-04  Jordi Mas i Hernandez <jordi@ximian.com>
799         * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
800
801 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
802         * gdipFunctions.cs: Added functions for ImageAttributes
803
804 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
805         * Icon.cs: Missing function stubs added
806         * Icon.cs: Missing function stubs added
807         * IconConverter.cs: Missing function stubs added
808         * ImageAnimator.cs: Missing function stubs added
809         * ImageConverter.cs: Missing function stubs added
810         * ImageFormatConverter.cs: Missing function stubs added
811
812 2004-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
813         * Font.cs: Allow multiple styles
814         
815 2004-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
816         * StringFormat.cs: Clone method
817         
818 2004-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
819         * font.cs: fixes, Clone, and ToString   
820         
821 2004-02-21  Jordi Mas i Hernandez <jordi@ximian.com>
822         * gdipFunctions.cs: MeasureString 
823         * Graphics.cs : MeasureString
824         
825 2004-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
826         * Font.cs: destructor and unit conversion 
827         * Graphics.cs : system dpi support
828
829 2004-02-13  Ravindra <rkumar@novell.com>
830         * Pen.cs: Fixed some bugs.
831         * TextureBrush.cs: Fixed some bugs.
832
833 2004-02-13  Sanjay Gupta <gsanjay@novell.com>
834         * gdipFunctions.cs: Added ImageCodecInfo functions
835         * Image.cs: Added few methods 
836
837 2004-02-13  Jordi Mas i Hernandez <jordi@ximian.com>
838         * FontFamily.cs: remove hardcoded font names, a few bug fixes
839         
840 2004-02-12  Sanjay Gupta <gsanjay@novell.com>
841         * gdipFunctions.cs: Added Image class functions
842         * Image.cs: Added few methods 
843
844 2004-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
845         * graphics.cs: fixes parameters for DrawStrings functions
846
847 2004-02-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
848
849         * SRDescriptionAttribute.cs: Added and implemented
850         * ToolboxBitmapAttribute.cs: Implemented a few members
851         * SystemIcons.cs: Stubbed
852         * StringFormat.cs: Implemented method
853         * Region.cs: Added Todo, fixed attribute
854         * Size.cs: Added attribute
855         * SizeF.cs: Added attribute
856         * RectangleF.cs: Added attributes
857         * Rectangle.cs: Added attributes
858         * PointF.cs: Added attribute
859         * Point.cs: Added attribute
860
861 2004-02-06  Ravindra  <rkumar@novell.com>
862
863         * Brush.cs: Renamed GetException method to CheckStatus
864         and moved it to gdipFunctions.cs.
865         * gdipFunctions.cs: Added CheckStatus method.
866         * SolidBrush.cs: Using CheckStatus method.
867         * TextureBrush.cs: Using CheckStatus method.
868         * gdipEnums.cs: Added a missing value.
869
870 2004-02-05  Ravindra  <rkumar@novell.com>
871
872         * Brush.cs: Added a missing namespace.
873
874 2004-02-05  Ravindra  <rkumar@novell.com>
875
876         * gdipFunctions.cs: Added methods for HatchBrush and 
877         SolidBrush.
878         * SolidBrush.cs: Added checks for status.
879         * Brush.cs: Added support for HatchBrush and TextureBrush 
880         types in internal CreateBrush() method.
881
882 2004-02-03  Jordi Mas  <jordi@ximian.com>
883         * Font.cs: Setup font properties
884
885 2004-02-03  Ravindra  <rkumar@novell.com>
886
887         * TextureBrush.cs and Brush.cs: Moved GetException (Status)
888         method from TextureBrush.cs to Brush.cs.
889         * Brush.cs: Made GetException (Status) method internal.
890
891 2004-02-03  Sanjay Gupta <gsanjay@novell.com>
892         
893         * gdipFunctions.cs: Added methods for Image class.
894
895 2004-01-30  Ravindra  <rkumar@novell.com>
896
897         * TextureBrush.cs: Added more methods to complete it.
898         * gdipFunctions.cs: Added methods for TextureBrush class.
899
900 2004-01-30  Ravindra  <rkumar@novell.com>
901
902         * gdipFunctions.cs: Added methods for TextureBrush class.
903
904 2004-01-30  Ravindra  <rkumar@novell.com>
905
906         * Pen.cs: Modified to handle TextureBrush also.
907         * Bitmap.cs: Added one internal constructor.
908         * TextureBrush.cs: Implemented.
909
910 2004-01-29  Duncan Mak  <duncan@ximian.com>
911
912         * gdipFunctions.cs
913         * Graphics.cs: Indentation fixes, removed long dangling lines and
914         extra spaces. 
915
916         * Graphics.cs (IsVisible): Renamed variable to not use hungarian
917         notation.
918
919 2004-01-29  Sanjay Gupta <gsanjay@novell.com>
920         
921         * FontFamily.cs: Implemented few methods and a constructor
922
923 2004-01-28  Sanjay Gupta <gsanjay@novell.com>
924
925         * gdipFunctions.cs: Added FontFamily and FontCollection functions.
926         * FontFamily.cs: Implemented missing functionalities.
927
928 2004-01-24  Duncan Mak  <duncan@ximian.com>
929
930         * Graphics.cs (DrawPath): Implemented.
931
932 2004-01-23  Ravindra  <rkumar@novell.com>
933
934         * Point.cs: ToString modified.
935         * PointF.cs: ToString modified.
936         * Size.cs: ToString modified.
937         * SizeF.cs: ToString modified. ToPoint and ToSize methods
938         are added.
939
940 2004-01-21  Jordi Mas i Hernàndez
941         * Bitmap.cs: Several new methods added.
942                 
943 2004-01-21  Duncan Mak  <duncan@ximian.com>
944
945         * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
946         OutAttribute to the array argument. This fixes the PathPoints
947         property in System.Drawing.Drawing2D.GraphicsPath.
948
949 2004-01-20  Ravindra  <rkumar@novell.com>
950
951         * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
952         this property was hanging and getting was throwing a NullRef
953         Exception. Earlier we were passing Matrix object to and fro
954         which was causing the problem. Now, we are using IntPtr.
955         Thanks to Duncan for helping me.
956         Also, .NET behavior is to maintain Pen.Color and Pen.Brush
957         together. If color is set, a SolidBrush automatically gets
958         set with the same color, Pen loses the old brush object.
959         If a SolidBrush is set, Pen.Color gets the value same as that
960         of brush color losing the old value. Pen shows this behavior
961         now.
962         * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
963         and GdipSetPenTransform methods to use IntPtr instead of Matrix.
964
965 2004-01-19  Duncan Mak  <duncan@ximian.com>
966
967         * gdipFunctions.cs: Import functions for GraphicsPath.
968
969 2004-01-14  Ravindra <rkumar@novell.com>
970                                                                                 
971         * SolidBrush.cs: Made SolidBrush to initialize its color
972         from IntPtr.
973                                                                                 
974         * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
975
976 2004-01-11  Duncan Mak  <duncan@ximian.com>
977
978         * Bitmap.cs (LockBits): 
979         * Graphics.cs (DrawString): Removed reference to GpRectF.
980
981 2004-01-09  Duncan Mak  <duncan@ximian.com>
982
983         * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
984         Removed. Didn't know that structs are laid out sequentially by
985         default. We don't need these anymore.
986
987 2004-01-12 Ben Maurer  <bmaurer@users.sourceforge.net>
988
989         * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
990
991 2004-01-11  Daniel Morgan <danielmorgan@verizon.net>
992
993         * Graphics.cs: fix compile error on Windows builds for out 
994         parameter state in call to GdipSaveGraphics
995
996 2004-01-10  Ravindra  <rkumar@novell.com>
997
998         * All Enums: Made serializable.
999
1000         * Image.cs: Corrected signature of Dispose(bool) method.
1001
1002         * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs: 
1003         Corrected coding style mistakes of my previous commit.
1004
1005         * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1006
1007         * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1008
1009         * StringFormat.cs: Inherits MarshalByRefObject.
1010
1011         * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1012
1013 2004-01-08  Ravindra  <rkumar@novell.com>
1014
1015         * Pen.cs: Added isModifiable (bool) variable. It is required to
1016         make Pens created by SystemPens.cs unmodifiable. All property
1017         setters are modified for this.
1018
1019         * SolidBrush.cs: Added isModifiable variable (bool). It is
1020         required to make Brushes created by SystemBrushes.cs unmodifiable.
1021         All property setters are modified for this.
1022
1023         * SystemBrushes.cs: Modified all the properties as per the .NET
1024         specs, so that Brushes are not created every time. Also, missing
1025         properties are added.
1026
1027         * SystemPens.cs: Modified all the properties as per the .NET
1028         specs, so that Brushes are not created every time. Also, missing
1029         properties are added.
1030
1031 2003-12-12  Miguel de Icaza  <miguel@ximian.com>
1032
1033         * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1034         it serializable
1035
1036 2004-01-06  Duncan Mak  <duncan@ximian.com>
1037
1038         * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1039
1040 2003-12-21  Duncan Mak  <duncan@ximian.com>
1041
1042         * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1043         up to the GDI+ implementation.
1044         (RotateTransform): Uncommented.
1045
1046         * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1047         libgdiplus.so.dll.
1048
1049 2003-12-13  Todd Berman  <tberman@sevenl.net>
1050
1051         * Font.cs: Implementing a couple things for porting purposes
1052         * SystemBrushes.cs: ^
1053         * StringFormat.cs: ^^
1054
1055 2003-11-28  Duncan Mak  <duncan@ximian.com>
1056
1057         * Pen.cs (CompoundArray): Hide this for now.
1058
1059 2003-11-28  Duncan Mak  <duncan@ximian.com>     
1060
1061         * Brush.cs (CreateBrush): new internal factory method for creating
1062         specific brushes based on the internal (GDI+ C API) BrushType
1063         enum.
1064         (Brush (IntPtr)): new internal constructor.
1065
1066         * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1067         now.
1068         (Pen (IntPtr)): new internal constructor.
1069         (Pen (Brush, float)): Use GdipCreateBrush2.
1070         (Clone): Implemented using GdipClonePen.
1071         (Alignment, Brush, Color, Width): Use GDI+ implementations
1072         instead.
1073         (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1074         Implemented these properties.
1075         (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1076         (MultiplyTransform, ResetTransform, RotateTransform):
1077         (ScaleTransform, TranslateTransform): Implemented these methods.
1078
1079         * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1080
1081         * gdipEnums.cs (BrushType): Added new GDI+ enum.
1082
1083         * gdipFunctions.cs: Imported new Brush and Pen functions.
1084
1085 2003-11-22  Duncan Mak  <duncan@ximian.com>
1086
1087         * gdipFunctions.cs
1088         (GdipResetWorldTransform, GdipSetWorldTransform):
1089         (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1090
1091         * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1092         (transform): Removed this field. Always use the
1093         matrix associated in the GpGraphics ptr.
1094         (DrawBeziers): Implemented.
1095         (DrawLine): Don't need to manually invoke the transform now.
1096         (MultiplyTransform, ResetTransform): 
1097         (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1098         (Transform): Instead of storing a Matrix in managed code, use
1099         equivalent GDI+ functions.
1100
1101 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1102
1103         * SizeConverter.cs: fixed class signature and implemented some methods.
1104
1105 2003-11-17  Duncan Mak  <duncan@ximian.com>
1106
1107         * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1108         
1109         * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1110
1111 2003-11-17  Duncan Mak  <duncan@ximian.com>
1112         
1113         * Bitmap.cs (LockBits):
1114         * Graphics.cs (DrawString): Use GpRectF.
1115
1116         * gdipFunctions.cs: Updated method signatures.  
1117
1118         * Graphics.cs (MultiplyTransform): Implemented using
1119         GdipMultiplyWorldTransform from GDI+.
1120
1121         * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1122         GpRect, to be more consistent with the C naming.
1123
1124 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
1125
1126         * Graphics.cs: Implement the other DrawString overloads .
1127
1128 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
1129
1130         * gdipStructs.cs (GdipRectF): Added utility constructor
1131
1132 2003-11-15  Duncan Mak  <duncan@ximian.com>
1133
1134         * gdipFunctions.cs: Imported matrix functions.
1135
1136 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1137
1138         * Bitmap.cs: Added Attributes
1139         * ColorTranslator.cs: Added private constructor
1140         * Font.cs: Added Attributes
1141         * FontFamily.cs: sealed
1142         * Icon.cs: Added Attributes
1143         * IconConverter.cs: Fixed signature
1144         * Image.cs: Added attributes
1145         * ImageAnimator.cs: 
1146         * ImageConverter.cs:
1147         * ImageFormatConverter.cs:
1148         * SolidBrush.cs:
1149         * StringFormat.cs:
1150         * SystemBrushes.cs:
1151         * SystemColors.cs:
1152         * SystemIcons.cs:
1153         * SystemPens.cs:
1154         * TextureBrush.cs: Fixed signature
1155         * Color.cs: Added attributes
1156         * Point.cs:
1157         * PointF.cs:
1158         * Rectangle.cs:
1159         * Size.cs:
1160         * SizeF.cs: Added attributes
1161         * ContentAlignment.cs: Added attribute
1162
1163 2003-11-13  Duncan Mak  <duncan@ximian.com>
1164
1165         * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1166
1167         * gdipFunctions.cs
1168         (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1169         (GdipSetPenLineJoin, GdipGetPenLineJoin): 
1170         (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1171
1172 2003-11-12  Alexandre Pigolkine <pigolkine@gmx.de>
1173         * Bitmap.cs
1174         * gdipFunctions.cs              copy image in Bitmap constructor
1175         
1176 2003-11-06  Duncan Mak  <duncan@ximian.com>
1177         * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1178         angle parameters for the integer case.
1179         (DrawBezier): Hook it up with GdipDrawBezier.
1180         (DrawEllipse): Fix Width, Height ordering.
1181
1182 2003-11-05  Duncan Mak  <duncan@ximian.com>
1183
1184         * Graphics.cs (DrawPie): 
1185         * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1186         in graphics.c.
1187         
1188 2003-10-28  Duncan Mak  <duncan@ximian.com>
1189
1190         * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1191         (FillEllipse, FillPolygon): implemented.
1192         (RenderingOrigin): implemented.
1193
1194         * gdipFunctions.cs: Added new GDI+ equivalents.
1195
1196 2003-10-25  Alexandre Pigolkine <pigolkine@gmx.de>
1197         * Bitmap.cs
1198         * Image.cs                      small fixes
1199         
1200 2003-10-25  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1201
1202         * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1203
1204 2003-10-24  Miguel de Icaza  <miguel@ximian.com>
1205
1206         * SystemBrushes.cs: Some more brushe3s.
1207
1208         * SystemPens.cs: More pens.
1209
1210         * Pen.cs: Implement IDisposable, ICloneable.
1211
1212         * Region.cs: Add some more stubs here.
1213
1214         * StringFormat.cs: Add some more code here.
1215
1216 2003-10-23  Miguel de Icaza  <miguel@ximian.com>
1217
1218         * Image.cs: Kill the InternalImageInfo, everything is now done in
1219         terms of Image and BitmapData.
1220
1221         * Rectangle.cs: Make this one also sequential, change from using
1222         Point + Size to use x, y, width, height;  So we can use GdiPlus.
1223
1224         * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1225         BitmapData class argument, and instead use the [In,Out]
1226         attributes, which will do struct marshalling on the fields.   Now
1227         we can use C#'s BitmapData directly to talk to Gdiplus.
1228
1229         * gdipStructs.cs: Every internal structure that has to talk to
1230         Gdi+ is properly prefixed, to minimize the confussion.
1231
1232         * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1233         Compute the stride here where we have the BPP information,
1234         allocate a buffer of the proper size, and pass this to
1235         GdipCreateBitmapFromScan0 
1236
1237         * Image.cs: Implement Dispose pattern.
1238
1239 2003-10-14  Alexandre Pigolkine <pigolkine@gmx.de>
1240         * Graphics.cs
1241         * gdipFunctioncs.cs             
1242         * gdipStructs.cs                DrawString function added
1243
1244 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
1245         * gdipEnums.cs 
1246         * gdipFunctions.cs 
1247         * gdipStructs.cs                added 
1248                                                 
1249
1250 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
1251         * Bitmap.cs
1252         * Brush.cs
1253         * Font.cs
1254         * FontFamily.cs
1255         * Graphics.cs
1256         * Image.cs
1257         * Pen.cs
1258         * SolidBrush.cs
1259                                                 implementation changed to gdi+
1260
1261 2003-09-08  Duncan Mak  <duncan@ximian.com>
1262
1263         * Factories.cs (DefaultImplementationNamespace): Change it from
1264         "XrImpl" to "Cairo".
1265
1266 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1267
1268         * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1269         bug #47727.
1270
1271 2003-08-08  Duncan Mak  <duncan@ximian.com>
1272
1273         * Graphics.cs (DrawBezier): Fixed.
1274
1275 2003-08-03  Alexandre Pigolkine <pigolkine@gmx.de>
1276         * Graphics.cs  delegate Dispose to implementation
1277
1278 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279
1280         * FontConverter.cs: stub it out so that system.web compiles.
1281
1282 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1283         * Image.cs      InternalImageInfo class improved
1284
1285 2003-07-23  Miguel de Icaza  <miguel@ximian.com>
1286
1287         * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1288         is set, default to Win32Impl 
1289
1290 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1291         * Image.cs      implementation added
1292         
1293 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1294
1295         * Icon.cs: Stubed out (fix for System.Drawing.Design)
1296
1297 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1298
1299         * StringFormat.cs: Changes to become CLS-compliant
1300
1301 2003-07-14  Miguel de Icaza  <miguel@ximian.com>
1302
1303         * Factories.cs: Remove debugging message.
1304
1305 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1306         * Color.cs      code generation program modified
1307
1308 2003-06-29 Alexandre Pigolkine
1309         * Graphics.cs   image drawing
1310
1311 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1312         * Color.cs                      
1313         * SystemColors.cs       
1314                 supply KnowColor enum value to save Enum.Parse at runtime
1315
1316 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1317         * Graphics.cs           coordinate transformations
1318         * Image.cs                      small fix
1319
1320 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1321         * Factories.cs
1322         * FontFamily.cs         more implementation
1323
1324 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1325         * Font.cs
1326         * FontFamily.cs         more implementation
1327
1328 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1329         * Graphics.cs           few more calls to implementation
1330
1331 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1332     * Bitmap.cs                 BITMAP declaration removed
1333         * Graphics.cs           few more calls to implementation
1334         * Image.cs                      InternalImageInfo structure, image read/write functions
1335                         
1336                         
1337 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
1338         * Factories.cs  analyse environment variable and machine.config to select implementation
1339         * Image.cs              PixelFormat property added
1340
1341 2003-04-30  Nick Drochak <ndrochak@gol.com>
1342
1343         * Factories.cs: Change weird characters that broke build on windows.
1344
1345 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1346
1347         * ColorConverter.cs:
1348         (ConvertFrom): return a system or named color if there's one that fits
1349         teh values parsed with Color.FromArgb.
1350
1351 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
1352         * Bitmap.cs
1353         * Brush.cs
1354         * Font.cs
1355         * Graphics.cs
1356         * Image.cs
1357         * Pen.cs
1358         * SolidBrush.cs
1359         * SystemBrushes.cs
1360         * Factories.cs
1361                         delegate function calls to implementation
1362
1363 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
1364         * Bitmap.cs
1365         * ChangeLog
1366         * Image.cs
1367         * SystemBrushes.cs              switch to Linux style line terminators
1368
1369 2003-03-29 Alan Tam <Tam@SiuLung.com>
1370         * ToolboxBitmapAttribute
1371                 stubbed more constructors and fixed base class
1372
1373 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1374         * SystemBrushes.cs
1375                         added stubs to compile SWF
1376
1377
1378 2003-02-21  Alexandre Pigolkine <pigolkine@gmx.de>
1379         * Font.cs
1380         * Graphics.cs
1381         * Image.cs
1382         * SystemBrushes.cs
1383                         small changes to be able to run SWF apps
1384
1385 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386
1387         * Graphics.cs: stubbed out all the methods.
1388
1389 2003-02-08 Piers Haken <piersh@friskit.com>
1390
1391         * fixed case of pens.cs and font.cs
1392
1393 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1394         * Font.cs Added
1395         * Graphics.cs
1396         * StringFormat.cs 
1397         * SystemBrushes.cs
1398                 stubs added
1399
1400 2002-11-21 Dennis Hayes (dennish@raytek.com)
1401         * checkin for Matt Stump (mstump@swfo.arizona.edu)
1402         * Pens.cs
1403         * Added file
1404
1405 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
1406
1407         * ColorTranslator.cs (FromHtml): Implement.
1408         
1409 2002-10-14 Dennis Hayes (dennish@raytek.com)
1410         * Region.cs
1411         * changed using namespace from Drawing2d to Drawing2D
1412
1413  2002-9-15 Asier Llano <asierllano@infonegocio.com>
1414         
1415         * Fixes the enum values in the following enums
1416         * ContentAlignment.cs:
1417         * FontStyle.cs:
1418         * GraphicsUnit.cs:
1419         * KnownColor.cs:
1420         * RotateFlipType.cs:
1421         * StringAligment.cs:
1422         * StringDigitSubstitute.cs:
1423         * StringFormatFlags.cs:
1424         * StringTrimming.cs:
1425         * StringUnit.cs: 
1426         * SolidBrush.cs: Easy implementation
1427         * Brushes.cs:    Implementation based on SolidBrush and Color class.
1428         * Brush.cs:      Fixes based on the status web).
1429         * CharacterRange.cs: Implemented the missing Lenth property.
1430
1431 2002-9-14 Dennis Hayes (dennish@raytek.com)
1432         
1433         * sample.cs
1434         * removed personal template that should not have been checked in
1435
1436 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1437
1438         * ColorConverter.cs: readded MonoTODOs and implemented a couple of
1439         methods.
1440
1441 2002-9-14  DennisHayes <dennish@raytek.com>
1442
1443         * FontConverter.cs
1444         * FontFamily.cs
1445         * Icon.cs
1446         * IconConverter.cs
1447         * ImageAnimator.cs
1448         * ImageConverter.cs
1449         * ImageFormatConverter.cs
1450         * PointConverter.cs
1451         * RectangleConverter.cs
1452         * Sample.cs
1453         * SizeConverter.cs
1454         * SolidBrush.cs
1455         * StringFormat.cs
1456         * SystemBrushes.cs
1457         * SystemIcons.cs
1458         * SystemPens.cs
1459         * TextureBrush.cs
1460         * ToolboxBitmapAttribute.cs
1461         * Added null classes for most/all classes, Many stubs, and some implmentation
1462
1463 2002-9-2  DennisHayes <dennish@raytek.com>
1464
1465         * Bitmap.cs
1466         * Color.cs
1467         * ColorConverter.cs
1468         * Image.cs
1469         * Pen.cs
1470         * Added stubs, implmentation
1471
1472 2002-9-2  DennisHayes <dennish@raytek.com>
1473
1474         * Brushes.cs : stubbed, added colors. Not sure how to implement,
1475                                  but this should at least save someone some typing.
1476         * CharacterRange.cs :Implmented
1477         * Region.cs : stub needed for system.windows.forms
1478
1479 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480
1481         * ColorTranslator.cs: use Color.Name.
1482
1483 2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484
1485         * Color.cs: implemented SystemColors and NamedColors properties that
1486         are used by ColorConverter, removed public constructor, use
1487         SystemColors, and misc. fixes to make it behave as MS (ToString,
1488         parsing names, FromKnownColor,...).
1489
1490         * ColorConverter.cs: use NamedColors and SystemColors from Color when
1491         trying to get the color from its name.
1492
1493         * SystemColors.cs: new file.
1494
1495 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1496
1497         * Color.cs: changed static properties to use FromArgbNamed. Also
1498         modified the program included in comments that get the values for
1499         static properties.
1500
1501         (FromArgbNamed): build named colors.
1502         (FromKnownColor): fixed.
1503         (FromName): use a hash to look up colors by name.
1504         (FillColorNames): create the hash of colors.
1505         (Equals): compare values and name.
1506         (ToString): improved.
1507
1508         * ColorTranslator.cs: implemented ToHtml.
1509
1510 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1511
1512         * Color.cs: added TypeConverter attribute.
1513         
1514         * ColorConverter.cs: added constructor.
1515
1516 2002-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1517
1518         * ColorConverter.cs: implemented minimal set of features needed by xsp.
1519
1520 2002-05-03  Mike Kestner <mkestner@speakeasy.net>
1521
1522         * Bitmap.cs : using System.IO
1523         * ColorTranslator.cs : Stubbed off build breakers.
1524         * Image.cs : Stub off IDisposable and ICloneable.
1525         
1526 2002-04-27  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1527
1528         * Bitmap.cs: Ximian is the new copyright holder now.
1529         * Image.cs: ditto
1530
1531 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1532
1533         * Uppercased several files.
1534
1535 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1536
1537         * color.cs: Fixed a typo in GetSaturation ().
1538
1539 2002-02-26  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1540
1541         * Bitmap.cs: Added method headers.
1542
1543 2002-02-25  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1544
1545         * Bitmap.cs: Added, no implementation's done, yet.
1546
1547 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
1548
1549         * Rectangle.cs : Add a doc comment.
1550         * RectangleF.cs : New struct implementation.
1551
1552 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
1553
1554         * Rectangle.cs : New struct implementation.
1555
1556 2001-08-17  Mike Kestner <mkestner@speakeasy.net>
1557
1558         * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
1559
1560 2001-08-16  Mike Kestner <mkestner@speakeasy.net>
1561
1562         * Point.cs : New. Implementation of System.Drawing.Point struct.
1563