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