Brush.jvm.cs: fixed transform methods, createContext
[mono.git] / mcs / class / System.Drawing / System.Drawing / ChangeLog
1 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
2
3         * Brush.jvm.cs: fixed transform methods, createContext
4         * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
5
6 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
7
8         * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
9         * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
10         * PlainImage.jvm.cs: added metadata props, fixed ctor
11         * PlainImageCollection.jvm.cs: fixed class access
12
13 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com> 
14
15         * Graphics.cs: Fixes exception type at FromImage method
16
17 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
18
19         * Graphics.jvm.cs: bitmap resolution fix in DrawImage
20
21 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
22
23         * Graphics.jvm.cs: fixed DrawImage
24
25 2005-09-19  Miguel de Icaza  <miguel@novell.com>
26
27         * Graphics.cs: Removed restriction on the images that can be
28         loaded.  Indexed images *can* be loaded
29
30 2005-09-18  Miguel de Icaza  <miguel@novell.com>
31
32         * Image.cs: introduce a workaround that catches errors on systems
33         that lack GDI+ as this is being triggered too easily when we
34         enumerate attributes on loaded classes.
35
36         The real bug to fix is #76062.
37
38 2005-09-17  Kornél Pál  <kornelpal@hotmail.com>
39
40         * Image.cs: Implemented FromHbitmap.
41
42 2005-09-16  Sebastien Pouliot  <sebastien@ximian.com>
43
44         * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so 
45         the JIT won't add demands for UnmanagedCode.
46         * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes 
47         so the JIT won't add demands for UnmanagedCode on Mac OSX.
48         * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap 
49         (+ overloads) and GetHicon methods.
50         * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal, 
51         FromHwndInternal and ReleaseHdcInternal methods (which are all public 
52         despite their names).
53
54 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
55
56         * Graphics.jvm.cs: text transform, headless session
57
58 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
59
60         * Bitmap.jvm.cs: native object refactoring
61         * Image.jvm.cs: native object refactoring
62         * Graphics.jvm.cs: fixed access to image native object
63         * TextureBrush.jvm.cs: fixed access to image native object
64         * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
65
66 2005-09-14  Geoff Norton  <gnorton@customerdna.com>
67
68         * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
69         * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
70         * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
71                                                                                          
72 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
73
74         * Graphics.jvm.cs: transform, container, thin pen
75
76 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
77
78         * AdvancedStroke.jvm.cs: constants for pen fitting calculations
79         * Pen.jvm.cs: fixing transform, pen fitting
80
81 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
82
83          * Region.jvm.cs: IsVisible is about intersection 
84
85 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
86
87         * ImageConverter.cs: Use default TypeDescriptor implementation of 
88         GetProperties.
89
90 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
91
92         * Graphics.jvm.cs: fixing clipping with rotate transform
93
94 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
95
96         * Region.jvm.cs: default region is infinite
97
98 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
99
100         * Graphics.jvm.cs: fixing clipping stuff
101
102 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
103
104         * Bitmap.jvm.cs: fixed bitamp accessors
105         * Image.jvm.cs: fixed image accessors
106
107 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
108         * AdvancedStroke.jvm.cs: fix matrix translate
109         * Graphics.jvm.cs: fix matrix concatenation order
110
111 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
112
113         * Brush.jvm.cs: added transform methods
114
115 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
116
117         * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
118                 implementing fitting, output transform
119         * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
120
121 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
122
123         * ColorTranslator.cs: perform case insensitive check
124
125 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com> 
126
127         * gdipFunctions.cs: define new functions
128         * Bitmap.cs: fixes image loading and exceptions
129         * Image.cs: fixes image loading and exceptions
130         
131         Thanks Kornél Pál for its help
132
133 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
134
135         * Brush.jvm.cs: added brush transform field
136
137 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
138
139         * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
140
141 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
142
143         * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
144         Graphics.jvm.cs: adjust stroke before widening
145
146 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
147
148         * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
149         Save, Restore
150
151 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
152
153         * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
154         convert string to int before checking number of components.
155         * RectangleConverter.cs: same.
156         * SizeConverter.cs: same.
157
158 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
159
160         * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
161         convert individual components. Special case string containing hex
162         prefix. Convert components before checking count.
163
164 2005-08-25 Marek Safar  <marek.safar@seznam.cz>
165
166         * gdipFunctions.cs: GetIconInfo new user32 method.
167         GdipGetDC uses IntPtr.
168         
169         * gdipStructs.cs: Defined IconInfo struct.
170         
171         * Graphics.cs: FromImage throws exception when image has an indexed format.
172         GetHdc fixed.
173         
174         * Icon.cs: Implemented FromHandle, Dispose.
175
176 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
177
178         * ToolboxBitmapAttribute.cs: Implemented retrieving the image
179
180 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
181
182         * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
183         Fixed SmoothingMode property
184
185 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com> 
186
187         * Brushes: Do not create the objects every time that they are requested
188         as in Pens we create and cache them only once when need it. This also 
189         fixes the Equals method between two objects requested to Brushes
190
191 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com> 
192
193         * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
194         * Brush.cs Fixes Dispose to avoid non-disposing some objects
195         * Pen.cs: Fixes Dispose to avoid non-disposing some objects
196         * Region.cs: Dipose always frees if the resource was allocated
197
198 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com> 
199
200         * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
201         from gdiplus have been released
202
203 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
204
205         * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
206         * Color.cs: Fixed java NativeObject property
207         * Image.jvm.cs: Fixed Save method
208
209 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
210
211         * Icon.jvm.cs: match Bitmap internal constructor change
212         * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
213         * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
214
215 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
216
217         * Color.cs: To match MS.NET, throw ArgumentException instead of 
218         ArgumentOutOfRangeException when color is not between 0 and 255.
219         * RectangleConverter.cs: Take culture into account when converting
220         to/from string. Use culture's ListSeparator as separator character.
221
222 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
223
224         * Color.cs: Fixed line endings. Set eol-style to native.
225         * ColorConverter.cs: Fixed line endings. Set eol-style to native.
226         * Size.cs: Set eol-style to native.
227         * SizeF.cs: Use current culture in ToString(), set eol-style to native.
228         * SizeConverter.cs: Take culture into account when converting to/from
229         string. Set eol-style to native.
230         * Point.cs: Fixed line endings. Set eol-style to native.
231         * PointF.cs: Use current culture in ToString(), set eol-style to native.
232         * PointConverter.cs: Take culture into account when converting to/from
233         string. Set eol-style to native.
234         * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
235         native.
236         * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
237
238 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
239
240         * Graphics.jvm.cs: Fixed InterpolationMode property
241
242 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
243
244         * Graphics.jvm.cs: Fixed DrawImage
245
246 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
247
248         * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
249         appears to be what MS.NET uses.
250
251 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
252
253         * Point.cs: Use invariant culture for converting numbers to string.
254         * PointF.cs: same
255         * SizeF.cs: same
256
257 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
258
259         * Color.cs: Fixed ToString for uninitialized color.
260         * ColorConverter.cs: Support conversion from whitespace-only string to
261         Color.Empty. Fixed conversion from Color.Empty and known colors to
262         string.
263
264 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
265
266         * Graphics.jvm.cs: Initial properties implementation
267
268 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
269
270         * Graphics.jvm.cs: DrawImage refactoring
271         
272 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
273
274         * Graphics.jvm.cs: Implemented PageUnit, PageScale. 
275         Added UpdateInternalTransform
276         Fixed DrawImage, Transform, ConcatenateTransform
277
278 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
279
280         * Icon.jvm.cs: Internal constructor from bitmap
281         * Added SystemIcons.jvm.cs with implementation of SystemIcons
282         
283 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
284
285         * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
286         (all methods that use Graphics object)  
287
288 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
289
290         * Graphics.jvm.cs: Refactoring
291
292 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
293
294         * Graphics.jvm.cs: Fixed Clear, Refactoring
295
296 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
297
298         * Graphics.jvm.cs: Fixed FillClosedCurve
299
300 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
301
302         * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
303         rectangles touch each other.
304
305 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
306
307         * Graphics.jvm.cs: Fixed DrawCurve.
308
309 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
310
311         * StrokeFactory.jvm.cs: use correct stroke
312
313 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
314
315         * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
316         * Pen refactoring.
317
318 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
319
320         * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
321
322 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
323
324         * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
325         committed in r48150
326
327 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
328
329         * Graphics.jvm.cs: Refactoring
330
331 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
332
333         * Graphics.jvm.cs: Fixed DrawPolygon
334
335 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
336
337         * Graphics.jvm.cs: Refactoring
338         * Pen.jvm.cs: setting awt.Stroke as a base
339
340 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
341
342         * Graphics.jvm.cs: Refactoring
343
344 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
345
346         * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
347
348 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
349
350         * Rectangle.cs: Intersect fixed
351         * RectandleF.cs: Intersect and Inflate fixed
352
353 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
354
355         * Point.cs: Produce same ToString result as dotnet
356
357 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
358
359         * Color.cs: GetHashCode is affected by Name, too
360
361 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
362
363         * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
364         
365 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
366
367         * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
368
369 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
370
371         * SolidBrush.jvm.cs: fix a typo
372
373 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
374
375         * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
376         Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
377         Font.jvm.cs: Added TARGET_JVM implementation
378
379 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
380
381         * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
382
383 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
384
385         * BasicShape.jvm.cs: Added TARGET_JVM specific class
386
387 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
388
389         * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
390
391 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
392
393         * ColorTranslator.cs: (GH merge) recognise HTML system colors
394
395 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
396         
397         * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
398
399 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
400
401         * Color.cs: TARGET_JVM - NativeObject property
402
403 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
404
405         * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
406
407 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com> 
408
409         * RectangleF.cs: Fixes IsEmpty logic
410
411 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com> 
412
413         * Graphics.cs: implements FromHwndInternal
414
415
416 2005-06-13  Peter Bartok  <pbartok@novell.com>
417
418         * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
419           through an intermediary step, which turns it into a 32bit version.
420           Fixes #75254
421
422 2005-06-13  Kornél Pál <kornelpal@hotmail.com>
423
424         * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
425           removed some unnecessary code
426         * ComIStreamWrapper.cs: Reworked Seek method to proper support of
427           positions beyond the size of stream
428
429 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * Font.cs: fix platform checks.
432
433 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com> 
434
435         * Rectangle.cs:
436                 - Fixes is empty method IsEmpty logic
437                 - Fixes Contains method logic
438                 - Fixes IntersectsWith logic
439                 
440         * RectangleF.cs:
441                 - Fixes is empty method IsEmpty logic
442                 - Fixes Contains method logic
443                 - Fixes IntersectsWith logic
444
445 2005-05-28  Kornél Pál <kornelpal@hotmail.com>
446
447         * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
448           destructors. Some methods renamed. Removed unnecessary variables.
449
450 2005-05-25  Jonathan Gilbert  <logic@deltaq.org>
451
452         * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
453           and modified the Palette property to call them. This non-
454           persistent behaviour was discovered by trial and error with
455           Microsoft's implementation. In fact, the Palette property
456           does not behave like a property at all! It is the only way an
457           instance of System.Drawing.Imaging.ColorPalette can be created,
458           and it reflects a backing store that is only updated when the
459           property 'set' method is called. Also updated Clone () since
460           the palette is no longer cached at image load time.
461         * Image.cs: Added IsIndexedPixelFormat () in the same vein as
462           Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
463           As such a function is not listed in MSDN nor given in
464           Microsoft's implementation, I have made it a private function
465           within the class that uses it.
466
467 2005-05-24  Kornél Pál <kornelpal@hotmail.com>
468
469         * Graphics.cs: Revised DrawString methods
470
471 2005-03-22  Peter Bartok  <pbartok@novell.com>
472
473         * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
474           if s was null.
475
476 2005-05-20  Kornél Pál <kornelpal@hotmail.com>
477
478         * Image.cs: Uses MemoryStream wrapping on all platforms if needed
479         * gdipFunctions.cs: Modified conditional compilation syntax
480         * ComIStreamWrapper.cs: Modified conditional compilation syntax
481         * ComIStreamMarshaler.cs: Modified conditional compilation syntax
482
483 2005-05-18  Marek Safar  <marek.safar@seznam.cz>
484
485         * Bitmap.cs: Add null check into ctor.
486
487 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
488
489         * gdipFunctions.cs: Kornél Pál's IStream bug fixing
490         * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
491         * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
492
493 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
494
495         * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
496
497 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
498
499         * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
500         * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
501         * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32 
502         * Image.cs: uses new Win32 Stream functions when need it
503
504 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
505
506         * Color.cs: Fix GetSaturation() again and remove
507         obsolete constants.
508
509 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
510
511         * Color.cs: New, correct implementations for GetHue(),
512         GetBrightness() and GetSaturation().
513
514 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
515
516         * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0. 
517         * Graphics.cs: Use PlatformID.Unix under NET_2_0. 
518         * Image.cs: Use PlatformID.Unix under NET_2_0. 
519
520 2005-05-05  Miguel de Icaza  <miguel@novell.com>
521
522         * Bitmap.cs, Icon.cs (constructor): Use
523         GetManifestResourceStream(Type,string) in the constructor that
524         takes a type. 
525
526 2005-04-27  Lluis Sanchez Gual  <lluis@novell.com>
527
528         * PointF.cs: Make serialization compatible with MS.
529
530 2005-04-10  Geoff Norton  <gnorton@customerdna.com>
531
532         * Graphics.cs:
533           carbonFunctions.cs:
534                 Use CGContextSynchronize instead of CGContextFlush.  This saves
535                 on average 20000 ticks per drawing operation.
536
537 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
538
539         * Color.cs: take into account the name color in == and != operators
540         * Font.cs: Use Equals instead of == to compare the family name
541         * FontFamily.cs:
542            -  Removes generic fontfamilies cache (done at libgdiplus level)
543            -  Fixes Equals method
544
545 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
546
547         * Pen.cs: remove locks. They are done at gdiplus level
548         * Brush.cs: remove locks. They are done at gdiplus level
549         * Image.cs: remove locks. They are done at gdiplus level
550
551 2005-03-30  Rogério Pereira Araújo <rogerio.araujo@gmail.com>
552
553         * Icon.cs: Finished Icon(Type, String) ctor
554
555 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
556
557         * gdipFunctions.cs: fixes GdipGetImagePalette signature
558         * Image.cs: Implements Palette property using gdiplus     
559
560 2005-03-17  Peter Bartok  <pbartok@novell.com>
561
562         * gdipFunctions.cs: 
563           - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
564             method, now includes a get header delegate
565           - Added StreamGetHeaderImpl method, to allow libgdiplus to determine 
566             the image type even on non-seekable streams
567           - Fixed StreamGetBytesImpl to consider the bytes already retrieved
568             via StreamGetHeaderImpl
569         * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
570           the new StreamGetHeader delegate
571
572 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
573
574         * Pen.cs: Fixes dispose method to allow to be called multiple times
575         * Graphics.cs: matrix are saved and restored at gdiplus level   
576
577 2005-02-24  Geoff Norton  <gnorton@customerdna.com>
578
579         * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
580         so they dont get garbage collected before use.
581
582 2005-02-11  Peter Bartok  <pbartok@novell.com>
583
584         * gdipFunctions.cs: Fixed prototype to match previous checkin
585
586 2005-02-11  Peter Bartok  <pbartok@novell.com>
587
588         * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
589           it really is a pointer)
590
591 2005-02-10  Geoff Norton  <gnorton@customerdna.com>
592
593         * Icon.cs: Implement GetObjectData ()
594         * Image.cs: Implement GetObjectData ()
595
596 2005-02-09  Geoff Norton  <gnorton@customerdna.com>
597
598         * Icon.cs: Implement deserializer
599         * Bitmap.cs: Implement deserializer
600
601 2005-02-06  Ben Maurer  <bmaurer@ximian.com>
602
603         * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
604
605 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
606
607         * Region.cs: revert Jackson's patch and fix this at libgdiplus level
608
609 2005-02-02  Jackson Harper  <jackson@ximian.com>
610
611         * Region.cs: The default region constructor creates and infinite
612         region, not an empty one.
613
614 2005-01-27  Peter Bartok  <pbartok@novell.com>
615
616         * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
617           of HSV numbers. Previous implementation returned wrong numbers and NaN
618           on achromatic colors
619
620 2005-01-27  Lluis Sanchez Gual  <lluis@novell.com>
621
622         * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
623         SizeConverter.cs, ColorConverter.cs, FontConverter.cs
624         : Implemented support for InstanceDescriptor.
625
626 2005-01-26  Peter Bartok  <pbartok@novell.com>
627
628         * Icon.cs (ToBitmap): Now sets transparency in according to
629           icon AND mask
630
631 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
632
633         * gdipFunctions.cs: Fixes GdipGet* function signatures
634         * FontFamily.cs: Fixes GdipGet* function calls
635         * Font.cs: Fixes ToString method
636         
637 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
638
639         * Graphics.cs: calls XCloseDisplay on X11 when need it
640         * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
641
642 2004-12-27  Zoltan Varga  <vargaz@freemail.hu>
643
644         * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
645
646 2004-12-16  Peter Bartok  <pbartok@novell.com>
647
648         * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
649           equivalent to the gdi+ native object
650
651         * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
652           equivalent to the gdi+ native object
653
654 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
655
656         * carbonFunctions.cs: New carbon functions/structures
657         * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
658
659 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
660
661         * Graphics.cs:  Drop FromHwndWithSize; we can't change the public API
662         Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
663
664 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
665
666         * Graphics.cs:  Add FromHwndWithSize for the MWF/Quartz backend
667         * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
668
669 2004-12-06  Miguel de Icaza  <miguel@ximian.com>
670
671         * FontFamily.cs: This one is static.
672
673 2004-11-25  Ravindra  <rkumar@novell.com>
674
675         * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
676         type from int to Status type.
677
678 2004-11-25  Marek Safar  <marek.safar@seznam.cz>
679
680         * Image.cs: Add CheckStatus to SaveAdd.
681
682 2004-11-22  Ravindra  <rkumar@novell.com>
683
684         * Graphics.cs: Fixed null values handling in all overloads of
685         MeasureString method.
686
687 2004-11-18  Ravindra  <rkumar@novell.com>
688
689         * gdipFunctions.cs: Removed the .so extension from a DllImport
690         that hooks to X11.
691
692 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
693
694         * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+ 
695         termination
696
697 2004-11-03  Miguel de Icaza  <miguel@ximian.com>
698
699         * TextureBrush.cs (Clone): While cloning, it is not enough to let
700         GDIPlus clone the underlying data, we must alos clone the managed
701         information. 
702
703         * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
704         errors in the future, set the lock on the object before doing any
705         other tests, not after.
706         
707         (Clone): While cloning, it is not enough to let
708         GDIPlus clone the underlying data, we must alos clone the managed
709         information. 
710
711         * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
712         errors in the future.
713
714         Set the lock in the object before checkign disposed.
715
716         * SolidBrush.cs (Clone): While cloning, it is not enough to let
717         GDIPlus clone the underlying data, we must alos clone the managed
718         information. 
719
720         (Dispose): Set the nativeObject to IntPtr.Zero to catch
721         errors in the future.
722
723 2004-10-28  Ravindra  <rkumar@novell.com>
724
725         * gdipFunctions.cs: Added checks for null stream in the
726         StreamHelper internal class.
727         * Icon.cs: Removed an ugly hack that used temp files in
728         ToBitmap () method. We use MemoryStream instead.
729
730 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
731
732         * Font.cs: fixes bug 66533
733         
734 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
735         
736         * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
737         SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
738         lock operations after conversation with Miguel. Do not really
739         need it.
740
741 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
742         
743         * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
744
745 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
746         
747         * Bitmap.cs: Fixes MakeTransparent method
748
749 2004-10-13  Ravindra  <rkumar@novell.com>
750
751         * Graphics.cs: Moved the initialization of 'use_x_drawable'
752         member out of private constructor to class initialization.
753         So that, we get it right even if Graphics is not instantiated.
754         This fixes the problem we face (otherwise) when we make first
755         call to Graphics.FromHwnd () method.
756
757 2004-10-08  Ravindra  <rkumar@novell.com>
758
759         * Image.cs: Suppress finalization in Dispose () method.
760
761 2004-10-04  Ravindra  <rkumar@novell.com>
762
763         * gdipFunctioncs.cs: Fix from Alois for bug #67383.
764
765 2004-09-29  Jackson Harper  <jackson@ximian.com>
766
767         * Graphics.cs: Use FromHdcInternal to set the X display
768         handle. Add a flag to check if we are on unix so we aren't calling
769         Environment.OSVersion.Platform all the time. Mad props to Peter
770         Bartok for this.
771
772 2004-09-17  Marek Safar <marek.safar@seznam.cz>
773
774         * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
775         ToLogFont: Implemented.
776
777         * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
778         avoid casts.
779         GdipCreateFontFromLogfontA: A new extern call.
780
781 2004-09-13  Ravindra <rkumar@novell.com>
782
783         * Graphics.cs: MSDN says that using image width and height gives
784         better performance, hence we are using image width and height to
785         avoid autoscaling in DrawImageUnscaled.
786
787 2004-09-10  Ravindra <rkumar@novell.com>
788
789         * Graphics.cs: Implemented DrawIcon methods and fixed
790         DrawImageUnscaled method implementation.
791
792 2004-08-21  Jackson Harper  <jackson@ximian.com>
793
794         * ImageAnimator.cs: Run animator as a background thread so we do
795         not hang on exit.
796
797 2004-08-21  Ravindra  <rkumar@novell.com>
798
799         * gdipFunctions.cs: Modified exception message to include the case
800         of missing required libraries for different formats.
801
802 2004-08-10  Jackson Harper  <jackson@ximian.com>
803
804         * SystemColors.cs: Make Highlight colour match colour from windows
805         classic color scheme.
806
807 2004-07-30 Ravindra <rkumar@novell.com>
808
809         * Font.cs: Fixed Height property implementation and implemented
810         GetHeight method and its overloads.
811
812 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
813
814         * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
815         P/Invoke function for Image.
816         * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
817
818 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
819
820         * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and 
821         GdipGetAllPropertyItems P/Invoke function for Image.
822         * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
823         * Image.cs: Corrected implementation of PropertyItems property.
824
825 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
826
827         * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList 
828         P/Invoke function for Image.
829         * Image.cs: Changed implementation of PropertyIdList property.
830
831 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
832
833         * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
834         * Image.cs: Implemented PropertyItems and PropertyIdList properties.
835
836 2004-07-21  Ravindra <rkumar@novell.com>
837
838         * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
839         GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
840
841 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
842         
843         * Graphics.cs:  fixes MeasureCharacterRanges function. It was completely wrong. 
844         * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
845         * gdipFunctions.cs: new GDI function calls
846
847 2004-07-16  Ravindra <rkumar@novell.com>
848
849         * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
850
851 2004-07-15  Ravindra <rkumar@novell.com>
852
853         * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
854
855 2004-07-13  Ravindra <rkumar@novell.com>
856
857         * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
858         This was redundant. It was kept in previous checkin to avoid
859         build breakage.
860
861 2004-07-13  Ravindra <rkumar@novell.com>
862
863         * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
864
865 2004-07-09  Peter Bartok <pbartok@novell.com>
866         * Graphics.cs: Added support required for new managed SWF library
867         * gdipFunctions.cs: Added XOpenDisplay definition/import
868
869 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
870
871         * gdipFunctions.cs: fixes bug 61050
872
873 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
874
875         * ImageAnimator.cs: Rewrote complete implementation.
876
877 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
878
879         * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
880         If read function was called after seek function call, the 
881         implementation  was returning data from bytes already peeked and 
882         not from the new position in stream, which we have seeked.
883         
884 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
885
886         * Graphics.cs: added MeasureString wrappers
887
888 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
889
890         * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux 
891
892 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
893
894         * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
895
896 2004-06-18  Ravindra <rkumar@novell.com>
897
898         * FontConverter.cs: Implemented the missing functions.
899         * Font.cs: Added some notes.
900
901 2004-06-16  Sanjay Gupta <gsanjay@novell.com>
902         
903         * gdipFunctions.cs: Modified Function signature for 
904         GdipSaveImageToDelegate_linux() method for saving tiff images 
905         to streams.
906         * image.cs: Modified function call GdipSaveImageToDelegate_linux()
907         with new signature.
908
909 2004-06-15  Sanjay Gupta <gsanjay@novell.com>
910         
911         * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
912         and Size, required by TIFFCodec. Modifed Function signature for 
913         GdipLoadImageFromDelegate_linux() method.
914         * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
915         with new signature.
916
917 2004-06-11  Ravindra <rkumar@novell.com>
918
919         * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
920         from out int to out IntPtr.
921         * SolidBrush.cs: Same.
922
923 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
924
925         * Image.cs: API signature fixes, meaning DisposeResources is now
926         private and marked InitFromStream internal
927
928 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
929
930         * FontFamily.cs: simplifies object destruction and fixes
931
932 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
933
934         * FontFamily.cs: added destructor 
935         * Graphics.cs: added destructor to stop leaking, remove debugging code
936
937
938 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
939
940         * gdipFunctions.cs: added GdipSaveAddImage
941         * Image.cs: added SaveAdd methods
942
943 2004-06-02  Peter Bartok <pbartok@novell.com>
944         * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
945           (This fixes bug #59479)
946
947 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
948
949         * Font.cs: Added missing Browsable attribute on SizeInPoints.
950         * Region.cs: Removed extra ComVisible attribute from Clone().
951
952 2004-06-01  Ravindra <rkumar@novell.com>
953
954         * Pen.cs: Added a note on Dispose method.
955         * Brush.cs: Fixed Dispose method.
956         * SolidBrush.cs: Fixed Dispose method.
957
958 2004-05-28  Ravindra <rkumar@novell.com>
959
960         * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
961         rectangles.
962         * Graphics.cs: Implemented Dispose method and changed Draw/Fill
963         rectangles implementation (This is basically done to avoid lots
964         of brush and pen setup happening in libgdiplus.)
965
966 2004-05-27  Ravindra <rkumar@novell.com>
967
968         * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
969
970 2004-05-26  Sanjay Gupta <gsanjay@novell.com>
971
972         * ImageFormatConverter.cs: Fixed issues discovered from nunit 
973         test cases.
974
975 2004-05-26  Ravindra <rkumar@novell.com>
976
977         * Color.cs: Corrected Color.Green property.
978
979 2004-05-24  Jordi Mas i Hernandez <jordi@ximian.com>
980         * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
981
982 2004-05-20  Sanjay Gupta <gsanjay@novell.com>
983
984         * Icon.cs: Fixed issue with size property.
985
986 2004-05-18  Ravindra <rkumar@novell.com>
987
988         * Pen.cs: Added value checks in DashPattern and CompoundArray
989         properties.
990
991 2004-05-16  Gert Driesen <drieseng@users.sourceforge.net>
992
993         * Graphics.cs: fixed warning
994         * ImageAnimator.cs: fixed warning
995         * FontConverter.cs: fixed public API
996
997 2004-05-14  Vladimir Vukicevic  <vladimir@pobox.com>
998
999         * gdipFunctions.cs: Fixed prototype for
1000         GdipGetEncoderParameterList
1001         
1002         * Image.cs: Reworked Save functions to handle EncoderParameters.
1003         Implemented GetEncoderParameterList
1004         Also removed unused setGDIPalette internal method.
1005
1006 2004-05-14  Peter Bartok <pbartok@novell.com>
1007         * StringFormat.cs: Added CharacterRange handling
1008         * Graphics.cs: Implemented MeasureCharacterRanges method
1009
1010 2004-05-14  Peter Bartok <pbartok@novell.com>
1011         * Graphics.cs: Added error check
1012
1013 2004-05-14  Duncan Mak  <duncan@ximian.com>
1014         * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1015         (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1016         (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1017
1018 2004-05-14  Sanjay Gupta <gsanjay@novell.com>
1019         * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1020
1021 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
1022         * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method. 
1023
1024 2004-05-13  Peter Bartok <pbartok@novell.com>
1025         * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1026         resize the image.
1027
1028 2004-05-12  Peter Bartok <pbartok@novell.com>
1029         * Image.cs: Implemented GetThumbnailImage
1030
1031 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
1032         * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and 
1033         FromXDrawable(IntPtr, IntPtr) internal.
1034                         
1035 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
1036         * Color.cs: work for API compatibilty: private date, todos
1037         * Font.cs: work for API compatibilty: private date, todos
1038         * FontFamily.cs: work for API compatibilty: private date, todos
1039         * Graphics.cs: work for API compatibilty: private date, todos
1040         * Icon.cs: work for API compatibilty: private date, todos 
1041         * Image.cs: work for API compatibilty: private date, todos
1042         * ImageAnimator.cs: work for API compatibilty: private date, todos
1043         * Point.cs: work for API compatibilty: private date, todos
1044         * PointF.cs: work for API compatibilty: private date, todos
1045         * Rectangle.cs: work for API compatibilty: private date, todos
1046         * RectangleF.cs: work for API compatibilty: private date, todos
1047         * Region.cs: work for API compatibilty: private date, todos
1048         * Size.cs: work for API compatibilty: private date, todos
1049         * SizeF.cs: work for API compatibilty: private date, todos
1050         * SolidBrush.cs: work for API compatibilty: private date, todos
1051         * StringFormat.cs: work for API compatibilty: private date, todos
1052         * SystemPens.cs: work for API compatibilty: private date, todos
1053         * TextureBrush.cs: work for API compatibilty: private date, todos
1054         * gdipStructs.cs: work for API compatibilty: private date, todos
1055
1056 2004-05-12  Ravindra <rkumar@novell.com>
1057
1058         * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1059         ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1060         Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1061         Added missing attributes and some coding style fixes.
1062         * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and 
1063         some fixes.
1064
1065 2004-05-11  Sanjay Gupta <gsanjay@novell.com>
1066
1067         * ImageAnimator.cs: Implemented first version. 
1068
1069 2004-05-11  Ravindra  <rkumar@novell.com>
1070
1071         * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1072         for the same.
1073
1074 2004-05-10  Ravindra  <rkumar@novell.com>
1075
1076         * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1077         for the same. Added few related P/Invokes for Pen also.
1078
1079 2004-05-06  Sanjay Gupta <gsanjay@novell.com>
1080
1081         * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1082
1083 2004-05-06  Ravindra <rkumar@novell.com>
1084
1085         * RectangleConverter.cs: Implemented GetProperties () method.
1086         * SizeConverter.cs: Implemented GetProperties () method.
1087         * PointConverter.cs: Implemented GetProperties () method.
1088         * FontConverter.cs: Implemented some of the methods.
1089
1090 2004-05-06  Ravindra <rkumar@novell.com>
1091
1092         * Color.cs: Fixed Name property.
1093         * ColorTranslator.cs: Fixed the existing methods and implemented
1094         the missing methods.
1095         * ColorConverter.cs: Fixed the existing methods and implemented 
1096         the missing methods. Also, fixed coding style.
1097
1098 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
1099         * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1100
1101 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
1102         * Image.cs: raw_format should be handled by GDI+
1103         * Bitmap.cs: raw_format should be handled by GDI+
1104
1105 2004-05-04  Ravindra <rkumar@novell.com>
1106
1107         * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1108         and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1109         properties and SetLineCap method. In constructors use IntPtr instead
1110         of int.
1111         * SolidBrush.cs: Modified exception message.
1112         * TextureBrush.cs: Fixed Transform property.
1113         * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1114         LinearGradientBrush.cs.
1115
1116 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
1117
1118         * Image.cs: Implemented FrameDimensionsList property.
1119
1120 2004-04-30  Ravindra <rkumar@novell.com>
1121
1122         * gdipFunctions.cs: Added few more P/Invoke calls for
1123         lineargradient brush and added one case statement in 
1124         CheckStatus method.
1125
1126 2004-04-30  Jordi Mas i Hernandez <jordi@ximian.com>
1127
1128         * Image.cs: takes into account MemoryBmp format when saving
1129
1130 2004-04-30  Ravindra <rkumar@novell.com>
1131
1132         * StringFormat.cs: Added checks for status.
1133
1134 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
1135
1136         * Image.cs: Removed calls which passes byte[] for Guid parameter.
1137         * gdipFunctions.cs: Removed unwanted unix specific function calls.
1138
1139 2004-04-30  Ravindra <rkumar@novell.com>
1140
1141         * Graphics.cs: Added checks for status.
1142         * Image.cs: Added a check for status.
1143         * FontFamily.cs: Added checks for status.
1144
1145 2004-04-29  Peter Bartok <pbartok@novell.com>
1146
1147         * Brushes.cs: Fixed bug #52695. No longer creates a new
1148         brush for every request and behaves Microsoft compatible
1149
1150 2004-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
1151
1152         * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1153         its ClsID instead of the formatID (as GDI+ expects)
1154
1155 2004-04-29  Ravindra <rkumar@novell.com>
1156
1157         * Font.cs: Added checks for status.
1158         * Bitmap.cs: Added checks for status.
1159         * Pen.cs: Added checks for status.
1160
1161 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
1162
1163         * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1164         Converted to unix format from dos format.
1165
1166 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
1167
1168         * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1169
1170 2004-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
1171
1172         * gdipStructs.cs: added GdipImageCodecInfo struct
1173
1174 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
1175
1176         * ImageFormatConverter.cs: Corrected ConvertFrom method.
1177
1178 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
1179
1180         * ImageConverter.cs: Added exception message.
1181         * IconConverter.cs: Added exception message.
1182         * ImageFormatConverter.cs: Implemented first version.
1183
1184 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
1185
1186         * ImageConverter.cs: Implemented first version.
1187
1188 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
1189
1190         * IconConverter.cs: Implemented first version.
1191
1192 2004-04-26  Sanjay Gupta  <gsanjay@novell.com>
1193
1194         * Image.cs: Corrected implementation of Property RawFormat.
1195         * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1196
1197 2004-04-25  Sanjay Gupta  <gsanjay@novell.com>
1198
1199         * Bitmap.cs: Resolved a compile time error.
1200         * Image.cs: Changed the implementation of few methods to progress
1201           with ImageAnimator class.
1202         * gdipFunctions.cs: Added few linux only function calls.
1203         * Icon.cs: Removed unused variable from code.
1204
1205 2004-04-25  Vladimir Vukicevic  <vladimir@pobox.com>
1206
1207         * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1208
1209 2004-04-23  Vladimir Vukicevic  <vladimir@pobox.com>
1210
1211         * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1212         serialization for Bitmaps.  (Bugzilla #52568)
1213
1214 2004-04-23  Ravindra <rkumar@novell.com>
1215
1216         * RectangleConverter.cs: Fixed ConvertTo () method.
1217         * SizeConverter.cs: Fixed ConvertTo () method.
1218         * PointConverter.cs: Fixed ConvertTo () method.
1219
1220 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1221         * ImageAnimator.cs: Implemented CanAnimate() method.
1222
1223 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1224         * Image.cs: added RotateFlip and RemovePropertyItem calls
1225         
1226 2004-04-22  Ravindra <rkumar@novell.com>
1227
1228         * RectangleConverter.cs: Implemented. Also changed file format
1229         dos2unix.
1230         * Rectangle.cs: Fixed ToString method.
1231         * RectangleF.cs: Fixed ToString method.
1232
1233 2004-04-22  Ravindra <rkumar@novell.com>
1234
1235         * SizeConverter.cs: Implemented some of the functions.
1236         * PointConveter.cs: Implemented.
1237         * gdipFunctions.cs: Corrected one typo.
1238         * Brushes.cs: Added a comment.
1239
1240 2004-04-22  Vladimir Vukicevic  <vladimir@pobox.com>
1241
1242         * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1243         returning portions of the peek buffer back.  Fixes #57379.
1244
1245 2004-04-21 Peter Bartok <pbartok@novell.com>
1246    * Font.cs: Implemented Font.FromHfont method
1247    * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
1248    * gdipFunctions.cs: Added imports for functions required to support
1249    Font.FromHfont method
1250
1251 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1252         * RectangleConverter.cs: stubbed out
1253         * Font.cs : added missing members
1254
1255 2004-04-19  Sanjay Gupta <gsanjay@novell.com>
1256         * Icon.cs: Fixed problem in extracting bitmap from Icon.
1257
1258 2004-04-16  Ravindra <rkumar@novell.com>
1259
1260         * Pen.cs: GC should be allowed to collect any pen including
1261         system pens.
1262         * SolidBrush.cs: GC should be allowed to collect any SolidBrush
1263         including system brushes.
1264         * Brushes.cs: Coding style.
1265         * Pens.cs: Objects created by Pens are not modifiable on
1266         MS.NET, so we are now. Also, coding style fixes.
1267         * SystemPens.cs: Removed static constructor and changed file
1268         format dos2unix.
1269         * SystemBrushes.cs: Some cosmetic changes.
1270
1271 2004-04-15  Sanjay Gupta <gsanjay@novell.com>
1272         * Icon.cs: Implemented more missing bits and fixed the problem
1273                 of icon not getting saved in proper format
1274
1275 2004-04-14  Sanjay Gupta <gsanjay@novell.com>
1276         * Icon.cs: Implemented more missing bits
1277
1278 2004-04-13  Sanjay Gupta <gsanjay@novell.com>
1279         * Icon.cs: Implemented few more missing bits
1280
1281 2004-04-12  Sanjay Gupta <gsanjay@novell.com>
1282         * Icon.cs: Implemented first version
1283
1284 2004-04-11  Peter Bartok <pbartok@novell.com>
1285    * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
1286    the code and using our own private gdiplus function when on Unix and using Win32
1287    functions when running on Windows
1288    * gdipStructs.cs: Added LOGFONTA structure
1289    * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
1290
1291 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
1292
1293         * Image.cs: Save should use encoder.FormatID, not Clsid
1294
1295 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
1296         * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1297         * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1298
1299 2004-04-06  Duncan Mak  <duncan@ximian.com>
1300
1301         * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1302
1303 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
1304         * Region.cs: fixes GetRegionScans
1305         * gdipFunctions.cs: fixes GetRegionScans
1306
1307 2004-04-06  Vladimir Vukicevic  <vladimir@pobox.com>
1308
1309         * gdipFunctions.cs: Added stream delegate helpers for
1310         stream loading/saving on linux
1311
1312         * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1313         loading/saving image data.
1314
1315 2004-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
1316         * Region.cs: implemented new methods
1317         * Graphics.cs: implemented new methods
1318
1319 2004-04-02  Jordi Mas i Hernandez <jordi@ximian.com>
1320         * Region.cs: implemented
1321
1322 2004-04-01  Duncan Mak  <duncan@ximian.com>
1323
1324         * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1325
1326         * gdipFunctions.cs (GdipAddPathCurveI):
1327         (GdipAddPathCurve2, GdipAddPathCurve2I):
1328         (GdipAddPathCurve3, GdipAddPathCurve3I):
1329         (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1330         (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1331         wrappers from GDI+.
1332
1333 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>    
1334         * Image.cs: implemented a few GDI+ wrapper calls
1335
1336 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>
1337         * Bitmap.cs: remove redundant data already present at Image.cs
1338         * Image.cs: use GDI+ functions to get image details
1339         * StringFormat.cs: missing constructor and property
1340
1341 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
1342         * FontFamily.cs: added missing members and style clean
1343         * Graphics.cs: fixed signature of DrawArc and DrawPie
1344         * Image.cs: added missing members, fixes
1345         * StringFormat.cs: missing constructor and property
1346
1347 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
1348         * Graphics.cs: Added missing DrawImage GDI+ calls
1349         * gdipFunctions.cs: Added missing DrawImage GDI+ calls  
1350
1351 2004-03-23  Ravindra <rkumar@novell.com>
1352         * gdipFunctions.cs: Added few more P/Invoke calls for
1353         LinearGradientBrush.
1354
1355 2004-03-22  Ravindra <rkumar@novell.com>
1356         * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1357         and did few coding style fixes.
1358
1359 2004-03-18  Ravindra <rkumar@novell.com>
1360         * Brush.cs: Fixed Dispose method.
1361         * SolidBrush.cs: Fixed clone method.
1362         * TextureBrush.cs: Fixed clone method.
1363         * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
1364
1365 2004-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1366
1367         * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1368
1369 2004-03-10  Ravindra  <rkumar@novell.com>
1370         * Pen.cs: Implemented PenType property.
1371         * Brush.cs: Coding style.
1372
1373 2004-03-06  Ravindra  <rkumar@novell.com>
1374         * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1375         for PathGradientBrush.
1376
1377 2004-03-06  Ravindra  <rkumar@novell.com>
1378         * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1379         PathGradientBrush.
1380
1381 2004-03-04  Duncan Mak  <duncan@ximian.com>
1382
1383         * Region.cs: Indentation.
1384
1385         * RectangleF.cs: Changed the internal structure from a PointF,
1386         SizeF to floats in order to match the layout from the C API.
1387
1388 2004-03-04  Jordi Mas i Hernandez <jordi@ximian.com>
1389         * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1390
1391 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
1392         * gdipFunctions.cs: Added functions for ImageAttributes
1393
1394 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
1395         * Icon.cs: Missing function stubs added
1396         * Icon.cs: Missing function stubs added
1397         * IconConverter.cs: Missing function stubs added
1398         * ImageAnimator.cs: Missing function stubs added
1399         * ImageConverter.cs: Missing function stubs added
1400         * ImageFormatConverter.cs: Missing function stubs added
1401
1402 2004-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
1403         * Font.cs: Allow multiple styles
1404         
1405 2004-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
1406         * StringFormat.cs: Clone method
1407         
1408 2004-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
1409         * font.cs: fixes, Clone, and ToString   
1410         
1411 2004-02-21  Jordi Mas i Hernandez <jordi@ximian.com>
1412         * gdipFunctions.cs: MeasureString 
1413         * Graphics.cs : MeasureString
1414         
1415 2004-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
1416         * Font.cs: destructor and unit conversion 
1417         * Graphics.cs : system dpi support
1418
1419 2004-02-13  Ravindra <rkumar@novell.com>
1420         * Pen.cs: Fixed some bugs.
1421         * TextureBrush.cs: Fixed some bugs.
1422
1423 2004-02-13  Sanjay Gupta <gsanjay@novell.com>
1424         * gdipFunctions.cs: Added ImageCodecInfo functions
1425         * Image.cs: Added few methods 
1426
1427 2004-02-13  Jordi Mas i Hernandez <jordi@ximian.com>
1428         * FontFamily.cs: remove hardcoded font names, a few bug fixes
1429         
1430 2004-02-12  Sanjay Gupta <gsanjay@novell.com>
1431         * gdipFunctions.cs: Added Image class functions
1432         * Image.cs: Added few methods 
1433
1434 2004-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
1435         * graphics.cs: fixes parameters for DrawStrings functions
1436
1437 2004-02-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1438
1439         * SRDescriptionAttribute.cs: Added and implemented
1440         * ToolboxBitmapAttribute.cs: Implemented a few members
1441         * SystemIcons.cs: Stubbed
1442         * StringFormat.cs: Implemented method
1443         * Region.cs: Added Todo, fixed attribute
1444         * Size.cs: Added attribute
1445         * SizeF.cs: Added attribute
1446         * RectangleF.cs: Added attributes
1447         * Rectangle.cs: Added attributes
1448         * PointF.cs: Added attribute
1449         * Point.cs: Added attribute
1450
1451 2004-02-06  Ravindra  <rkumar@novell.com>
1452
1453         * Brush.cs: Renamed GetException method to CheckStatus
1454         and moved it to gdipFunctions.cs.
1455         * gdipFunctions.cs: Added CheckStatus method.
1456         * SolidBrush.cs: Using CheckStatus method.
1457         * TextureBrush.cs: Using CheckStatus method.
1458         * gdipEnums.cs: Added a missing value.
1459
1460 2004-02-05  Ravindra  <rkumar@novell.com>
1461
1462         * Brush.cs: Added a missing namespace.
1463
1464 2004-02-05  Ravindra  <rkumar@novell.com>
1465
1466         * gdipFunctions.cs: Added methods for HatchBrush and 
1467         SolidBrush.
1468         * SolidBrush.cs: Added checks for status.
1469         * Brush.cs: Added support for HatchBrush and TextureBrush 
1470         types in internal CreateBrush() method.
1471
1472 2004-02-03  Jordi Mas  <jordi@ximian.com>
1473         * Font.cs: Setup font properties
1474
1475 2004-02-03  Ravindra  <rkumar@novell.com>
1476
1477         * TextureBrush.cs and Brush.cs: Moved GetException (Status)
1478         method from TextureBrush.cs to Brush.cs.
1479         * Brush.cs: Made GetException (Status) method internal.
1480
1481 2004-02-03  Sanjay Gupta <gsanjay@novell.com>
1482         
1483         * gdipFunctions.cs: Added methods for Image class.
1484
1485 2004-01-30  Ravindra  <rkumar@novell.com>
1486
1487         * TextureBrush.cs: Added more methods to complete it.
1488         * gdipFunctions.cs: Added methods for TextureBrush class.
1489
1490 2004-01-30  Ravindra  <rkumar@novell.com>
1491
1492         * gdipFunctions.cs: Added methods for TextureBrush class.
1493
1494 2004-01-30  Ravindra  <rkumar@novell.com>
1495
1496         * Pen.cs: Modified to handle TextureBrush also.
1497         * Bitmap.cs: Added one internal constructor.
1498         * TextureBrush.cs: Implemented.
1499
1500 2004-01-29  Duncan Mak  <duncan@ximian.com>
1501
1502         * gdipFunctions.cs
1503         * Graphics.cs: Indentation fixes, removed long dangling lines and
1504         extra spaces. 
1505
1506         * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1507         notation.
1508
1509 2004-01-29  Sanjay Gupta <gsanjay@novell.com>
1510         
1511         * FontFamily.cs: Implemented few methods and a constructor
1512
1513 2004-01-28  Sanjay Gupta <gsanjay@novell.com>
1514
1515         * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1516         * FontFamily.cs: Implemented missing functionalities.
1517
1518 2004-01-24  Duncan Mak  <duncan@ximian.com>
1519
1520         * Graphics.cs (DrawPath): Implemented.
1521
1522 2004-01-23  Ravindra  <rkumar@novell.com>
1523
1524         * Point.cs: ToString modified.
1525         * PointF.cs: ToString modified.
1526         * Size.cs: ToString modified.
1527         * SizeF.cs: ToString modified. ToPoint and ToSize methods
1528         are added.
1529
1530 2004-01-21  Jordi Mas i Hernàndez
1531         * Bitmap.cs: Several new methods added.
1532                 
1533 2004-01-21  Duncan Mak  <duncan@ximian.com>
1534
1535         * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1536         OutAttribute to the array argument. This fixes the PathPoints
1537         property in System.Drawing.Drawing2D.GraphicsPath.
1538
1539 2004-01-20  Ravindra  <rkumar@novell.com>
1540
1541         * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1542         this property was hanging and getting was throwing a NullRef
1543         Exception. Earlier we were passing Matrix object to and fro
1544         which was causing the problem. Now, we are using IntPtr.
1545         Thanks to Duncan for helping me.
1546         Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1547         together. If color is set, a SolidBrush automatically gets
1548         set with the same color, Pen loses the old brush object.
1549         If a SolidBrush is set, Pen.Color gets the value same as that
1550         of brush color losing the old value. Pen shows this behavior
1551         now.
1552         * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1553         and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1554
1555 2004-01-19  Duncan Mak  <duncan@ximian.com>
1556
1557         * gdipFunctions.cs: Import functions for GraphicsPath.
1558
1559 2004-01-14  Ravindra <rkumar@novell.com>
1560                                                                                 
1561         * SolidBrush.cs: Made SolidBrush to initialize its color
1562         from IntPtr.
1563                                                                                 
1564         * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1565
1566 2004-01-11  Duncan Mak  <duncan@ximian.com>
1567
1568         * Bitmap.cs (LockBits): 
1569         * Graphics.cs (DrawString): Removed reference to GpRectF.
1570
1571 2004-01-09  Duncan Mak  <duncan@ximian.com>
1572
1573         * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1574         Removed. Didn't know that structs are laid out sequentially by
1575         default. We don't need these anymore.
1576
1577 2004-01-12 Ben Maurer  <bmaurer@users.sourceforge.net>
1578
1579         * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1580
1581 2004-01-11  Daniel Morgan <danielmorgan@verizon.net>
1582
1583         * Graphics.cs: fix compile error on Windows builds for out 
1584         parameter state in call to GdipSaveGraphics
1585
1586 2004-01-10  Ravindra  <rkumar@novell.com>
1587
1588         * All Enums: Made serializable.
1589
1590         * Image.cs: Corrected signature of Dispose(bool) method.
1591
1592         * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs: 
1593         Corrected coding style mistakes of my previous commit.
1594
1595         * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1596
1597         * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1598
1599         * StringFormat.cs: Inherits MarshalByRefObject.
1600
1601         * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1602
1603 2004-01-08  Ravindra  <rkumar@novell.com>
1604
1605         * Pen.cs: Added isModifiable (bool) variable. It is required to
1606         make Pens created by SystemPens.cs unmodifiable. All property
1607         setters are modified for this.
1608
1609         * SolidBrush.cs: Added isModifiable variable (bool). It is
1610         required to make Brushes created by SystemBrushes.cs unmodifiable.
1611         All property setters are modified for this.
1612
1613         * SystemBrushes.cs: Modified all the properties as per the .NET
1614         specs, so that Brushes are not created every time. Also, missing
1615         properties are added.
1616
1617         * SystemPens.cs: Modified all the properties as per the .NET
1618         specs, so that Brushes are not created every time. Also, missing
1619         properties are added.
1620
1621 2003-12-12  Miguel de Icaza  <miguel@ximian.com>
1622
1623         * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1624         it serializable
1625
1626 2004-01-06  Duncan Mak  <duncan@ximian.com>
1627
1628         * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1629
1630 2003-12-21  Duncan Mak  <duncan@ximian.com>
1631
1632         * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1633         up to the GDI+ implementation.
1634         (RotateTransform): Uncommented.
1635
1636         * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1637         libgdiplus.so.dll.
1638
1639 2003-12-13  Todd Berman  <tberman@sevenl.net>
1640
1641         * Font.cs: Implementing a couple things for porting purposes
1642         * SystemBrushes.cs: ^
1643         * StringFormat.cs: ^^
1644
1645 2003-11-28  Duncan Mak  <duncan@ximian.com>
1646
1647         * Pen.cs (CompoundArray): Hide this for now.
1648
1649 2003-11-28  Duncan Mak  <duncan@ximian.com>     
1650
1651         * Brush.cs (CreateBrush): new internal factory method for creating
1652         specific brushes based on the internal (GDI+ C API) BrushType
1653         enum.
1654         (Brush (IntPtr)): new internal constructor.
1655
1656         * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1657         now.
1658         (Pen (IntPtr)): new internal constructor.
1659         (Pen (Brush, float)): Use GdipCreateBrush2.
1660         (Clone): Implemented using GdipClonePen.
1661         (Alignment, Brush, Color, Width): Use GDI+ implementations
1662         instead.
1663         (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1664         Implemented these properties.
1665         (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1666         (MultiplyTransform, ResetTransform, RotateTransform):
1667         (ScaleTransform, TranslateTransform): Implemented these methods.
1668
1669         * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1670
1671         * gdipEnums.cs (BrushType): Added new GDI+ enum.
1672
1673         * gdipFunctions.cs: Imported new Brush and Pen functions.
1674
1675 2003-11-22  Duncan Mak  <duncan@ximian.com>
1676
1677         * gdipFunctions.cs
1678         (GdipResetWorldTransform, GdipSetWorldTransform):
1679         (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1680
1681         * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1682         (transform): Removed this field. Always use the
1683         matrix associated in the GpGraphics ptr.
1684         (DrawBeziers): Implemented.
1685         (DrawLine): Don't need to manually invoke the transform now.
1686         (MultiplyTransform, ResetTransform): 
1687         (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1688         (Transform): Instead of storing a Matrix in managed code, use
1689         equivalent GDI+ functions.
1690
1691 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1692
1693         * SizeConverter.cs: fixed class signature and implemented some methods.
1694
1695 2003-11-17  Duncan Mak  <duncan@ximian.com>
1696
1697         * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1698         
1699         * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1700
1701 2003-11-17  Duncan Mak  <duncan@ximian.com>
1702         
1703         * Bitmap.cs (LockBits):
1704         * Graphics.cs (DrawString): Use GpRectF.
1705
1706         * gdipFunctions.cs: Updated method signatures.  
1707
1708         * Graphics.cs (MultiplyTransform): Implemented using
1709         GdipMultiplyWorldTransform from GDI+.
1710
1711         * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1712         GpRect, to be more consistent with the C naming.
1713
1714 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
1715
1716         * Graphics.cs: Implement the other DrawString overloads .
1717
1718 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
1719
1720         * gdipStructs.cs (GdipRectF): Added utility constructor
1721
1722 2003-11-15  Duncan Mak  <duncan@ximian.com>
1723
1724         * gdipFunctions.cs: Imported matrix functions.
1725
1726 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1727
1728         * Bitmap.cs: Added Attributes
1729         * ColorTranslator.cs: Added private constructor
1730         * Font.cs: Added Attributes
1731         * FontFamily.cs: sealed
1732         * Icon.cs: Added Attributes
1733         * IconConverter.cs: Fixed signature
1734         * Image.cs: Added attributes
1735         * ImageAnimator.cs: 
1736         * ImageConverter.cs:
1737         * ImageFormatConverter.cs:
1738         * SolidBrush.cs:
1739         * StringFormat.cs:
1740         * SystemBrushes.cs:
1741         * SystemColors.cs:
1742         * SystemIcons.cs:
1743         * SystemPens.cs:
1744         * TextureBrush.cs: Fixed signature
1745         * Color.cs: Added attributes
1746         * Point.cs:
1747         * PointF.cs:
1748         * Rectangle.cs:
1749         * Size.cs:
1750         * SizeF.cs: Added attributes
1751         * ContentAlignment.cs: Added attribute
1752
1753 2003-11-13  Duncan Mak  <duncan@ximian.com>
1754
1755         * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1756
1757         * gdipFunctions.cs
1758         (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1759         (GdipSetPenLineJoin, GdipGetPenLineJoin): 
1760         (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1761
1762 2003-11-12  Alexandre Pigolkine <pigolkine@gmx.de>
1763         * Bitmap.cs
1764         * gdipFunctions.cs              copy image in Bitmap constructor
1765         
1766 2003-11-06  Duncan Mak  <duncan@ximian.com>
1767         * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1768         angle parameters for the integer case.
1769         (DrawBezier): Hook it up with GdipDrawBezier.
1770         (DrawEllipse): Fix Width, Height ordering.
1771
1772 2003-11-05  Duncan Mak  <duncan@ximian.com>
1773
1774         * Graphics.cs (DrawPie): 
1775         * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1776         in graphics.c.
1777         
1778 2003-10-28  Duncan Mak  <duncan@ximian.com>
1779
1780         * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1781         (FillEllipse, FillPolygon): implemented.
1782         (RenderingOrigin): implemented.
1783
1784         * gdipFunctions.cs: Added new GDI+ equivalents.
1785
1786 2003-10-25  Alexandre Pigolkine <pigolkine@gmx.de>
1787         * Bitmap.cs
1788         * Image.cs                      small fixes
1789         
1790 2003-10-25  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1791
1792         * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1793
1794 2003-10-24  Miguel de Icaza  <miguel@ximian.com>
1795
1796         * SystemBrushes.cs: Some more brushe3s.
1797
1798         * SystemPens.cs: More pens.
1799
1800         * Pen.cs: Implement IDisposable, ICloneable.
1801
1802         * Region.cs: Add some more stubs here.
1803
1804         * StringFormat.cs: Add some more code here.
1805
1806 2003-10-23  Miguel de Icaza  <miguel@ximian.com>
1807
1808         * Image.cs: Kill the InternalImageInfo, everything is now done in
1809         terms of Image and BitmapData.
1810
1811         * Rectangle.cs: Make this one also sequential, change from using
1812         Point + Size to use x, y, width, height;  So we can use GdiPlus.
1813
1814         * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1815         BitmapData class argument, and instead use the [In,Out]
1816         attributes, which will do struct marshalling on the fields.   Now
1817         we can use C#'s BitmapData directly to talk to Gdiplus.
1818
1819         * gdipStructs.cs: Every internal structure that has to talk to
1820         Gdi+ is properly prefixed, to minimize the confussion.
1821
1822         * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1823         Compute the stride here where we have the BPP information,
1824         allocate a buffer of the proper size, and pass this to
1825         GdipCreateBitmapFromScan0 
1826
1827         * Image.cs: Implement Dispose pattern.
1828
1829 2003-10-14  Alexandre Pigolkine <pigolkine@gmx.de>
1830         * Graphics.cs
1831         * gdipFunctioncs.cs             
1832         * gdipStructs.cs                DrawString function added
1833
1834 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
1835         * gdipEnums.cs 
1836         * gdipFunctions.cs 
1837         * gdipStructs.cs                added 
1838                                                 
1839
1840 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
1841         * Bitmap.cs
1842         * Brush.cs
1843         * Font.cs
1844         * FontFamily.cs
1845         * Graphics.cs
1846         * Image.cs
1847         * Pen.cs
1848         * SolidBrush.cs
1849                                                 implementation changed to gdi+
1850
1851 2003-09-08  Duncan Mak  <duncan@ximian.com>
1852
1853         * Factories.cs (DefaultImplementationNamespace): Change it from
1854         "XrImpl" to "Cairo".
1855
1856 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1857
1858         * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1859         bug #47727.
1860
1861 2003-08-08  Duncan Mak  <duncan@ximian.com>
1862
1863         * Graphics.cs (DrawBezier): Fixed.
1864
1865 2003-08-03  Alexandre Pigolkine <pigolkine@gmx.de>
1866         * Graphics.cs  delegate Dispose to implementation
1867
1868 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1869
1870         * FontConverter.cs: stub it out so that system.web compiles.
1871
1872 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1873         * Image.cs      InternalImageInfo class improved
1874
1875 2003-07-23  Miguel de Icaza  <miguel@ximian.com>
1876
1877         * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1878         is set, default to Win32Impl 
1879
1880 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1881         * Image.cs      implementation added
1882         
1883 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1884
1885         * Icon.cs: Stubed out (fix for System.Drawing.Design)
1886
1887 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1888
1889         * StringFormat.cs: Changes to become CLS-compliant
1890
1891 2003-07-14  Miguel de Icaza  <miguel@ximian.com>
1892
1893         * Factories.cs: Remove debugging message.
1894
1895 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1896         * Color.cs      code generation program modified
1897
1898 2003-06-29 Alexandre Pigolkine
1899         * Graphics.cs   image drawing
1900
1901 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1902         * Color.cs                      
1903         * SystemColors.cs       
1904                 supply KnowColor enum value to save Enum.Parse at runtime
1905
1906 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1907         * Graphics.cs           coordinate transformations
1908         * Image.cs                      small fix
1909
1910 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1911         * Factories.cs
1912         * FontFamily.cs         more implementation
1913
1914 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1915         * Font.cs
1916         * FontFamily.cs         more implementation
1917
1918 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1919         * Graphics.cs           few more calls to implementation
1920
1921 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1922     * Bitmap.cs                 BITMAP declaration removed
1923         * Graphics.cs           few more calls to implementation
1924         * Image.cs                      InternalImageInfo structure, image read/write functions
1925                         
1926                         
1927 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
1928         * Factories.cs  analyse environment variable and machine.config to select implementation
1929         * Image.cs              PixelFormat property added
1930
1931 2003-04-30  Nick Drochak <ndrochak@gol.com>
1932
1933         * Factories.cs: Change weird characters that broke build on windows.
1934
1935 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1936
1937         * ColorConverter.cs:
1938         (ConvertFrom): return a system or named color if there's one that fits
1939         teh values parsed with Color.FromArgb.
1940
1941 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
1942         * Bitmap.cs
1943         * Brush.cs
1944         * Font.cs
1945         * Graphics.cs
1946         * Image.cs
1947         * Pen.cs
1948         * SolidBrush.cs
1949         * SystemBrushes.cs
1950         * Factories.cs
1951                         delegate function calls to implementation
1952
1953 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
1954         * Bitmap.cs
1955         * ChangeLog
1956         * Image.cs
1957         * SystemBrushes.cs              switch to Linux style line terminators
1958
1959 2003-03-29 Alan Tam <Tam@SiuLung.com>
1960         * ToolboxBitmapAttribute
1961                 stubbed more constructors and fixed base class
1962
1963 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1964         * SystemBrushes.cs
1965                         added stubs to compile SWF
1966
1967
1968 2003-02-21  Alexandre Pigolkine <pigolkine@gmx.de>
1969         * Font.cs
1970         * Graphics.cs
1971         * Image.cs
1972         * SystemBrushes.cs
1973                         small changes to be able to run SWF apps
1974
1975 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1976
1977         * Graphics.cs: stubbed out all the methods.
1978
1979 2003-02-08 Piers Haken <piersh@friskit.com>
1980
1981         * fixed case of pens.cs and font.cs
1982
1983 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1984         * Font.cs Added
1985         * Graphics.cs
1986         * StringFormat.cs 
1987         * SystemBrushes.cs
1988                 stubs added
1989
1990 2002-11-21 Dennis Hayes (dennish@raytek.com)
1991         * checkin for Matt Stump (mstump@swfo.arizona.edu)
1992         * Pens.cs
1993         * Added file
1994
1995 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
1996
1997         * ColorTranslator.cs (FromHtml): Implement.
1998         
1999 2002-10-14 Dennis Hayes (dennish@raytek.com)
2000         * Region.cs
2001         * changed using namespace from Drawing2d to Drawing2D
2002
2003  2002-9-15 Asier Llano <asierllano@infonegocio.com>
2004         
2005         * Fixes the enum values in the following enums
2006         * ContentAlignment.cs:
2007         * FontStyle.cs:
2008         * GraphicsUnit.cs:
2009         * KnownColor.cs:
2010         * RotateFlipType.cs:
2011         * StringAligment.cs:
2012         * StringDigitSubstitute.cs:
2013         * StringFormatFlags.cs:
2014         * StringTrimming.cs:
2015         * StringUnit.cs: 
2016         * SolidBrush.cs: Easy implementation
2017         * Brushes.cs:    Implementation based on SolidBrush and Color class.
2018         * Brush.cs:      Fixes based on the status web).
2019         * CharacterRange.cs: Implemented the missing Lenth property.
2020
2021 2002-9-14 Dennis Hayes (dennish@raytek.com)
2022         
2023         * sample.cs
2024         * removed personal template that should not have been checked in
2025
2026 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2027
2028         * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2029         methods.
2030
2031 2002-9-14  DennisHayes <dennish@raytek.com>
2032
2033         * FontConverter.cs
2034         * FontFamily.cs
2035         * Icon.cs
2036         * IconConverter.cs
2037         * ImageAnimator.cs
2038         * ImageConverter.cs
2039         * ImageFormatConverter.cs
2040         * PointConverter.cs
2041         * RectangleConverter.cs
2042         * Sample.cs
2043         * SizeConverter.cs
2044         * SolidBrush.cs
2045         * StringFormat.cs
2046         * SystemBrushes.cs
2047         * SystemIcons.cs
2048         * SystemPens.cs
2049         * TextureBrush.cs
2050         * ToolboxBitmapAttribute.cs
2051         * Added null classes for most/all classes, Many stubs, and some implmentation
2052
2053 2002-9-2  DennisHayes <dennish@raytek.com>
2054
2055         * Bitmap.cs
2056         * Color.cs
2057         * ColorConverter.cs
2058         * Image.cs
2059         * Pen.cs
2060         * Added stubs, implmentation
2061
2062 2002-9-2  DennisHayes <dennish@raytek.com>
2063
2064         * Brushes.cs : stubbed, added colors. Not sure how to implement,
2065                                  but this should at least save someone some typing.
2066         * CharacterRange.cs :Implmented
2067         * Region.cs : stub needed for system.windows.forms
2068
2069 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2070
2071         * ColorTranslator.cs: use Color.Name.
2072
2073 2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2074
2075         * Color.cs: implemented SystemColors and NamedColors properties that
2076         are used by ColorConverter, removed public constructor, use
2077         SystemColors, and misc. fixes to make it behave as MS (ToString,
2078         parsing names, FromKnownColor,...).
2079
2080         * ColorConverter.cs: use NamedColors and SystemColors from Color when
2081         trying to get the color from its name.
2082
2083         * SystemColors.cs: new file.
2084
2085 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2086
2087         * Color.cs: changed static properties to use FromArgbNamed. Also
2088         modified the program included in comments that get the values for
2089         static properties.
2090
2091         (FromArgbNamed): build named colors.
2092         (FromKnownColor): fixed.
2093         (FromName): use a hash to look up colors by name.
2094         (FillColorNames): create the hash of colors.
2095         (Equals): compare values and name.
2096         (ToString): improved.
2097
2098         * ColorTranslator.cs: implemented ToHtml.
2099
2100 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2101
2102         * Color.cs: added TypeConverter attribute.
2103         
2104         * ColorConverter.cs: added constructor.
2105
2106 2002-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2107
2108         * ColorConverter.cs: implemented minimal set of features needed by xsp.
2109
2110 2002-05-03  Mike Kestner <mkestner@speakeasy.net>
2111
2112         * Bitmap.cs : using System.IO
2113         * ColorTranslator.cs : Stubbed off build breakers.
2114         * Image.cs : Stub off IDisposable and ICloneable.
2115         
2116 2002-04-27  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2117
2118         * Bitmap.cs: Ximian is the new copyright holder now.
2119         * Image.cs: ditto
2120
2121 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2122
2123         * Uppercased several files.
2124
2125 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2126
2127         * color.cs: Fixed a typo in GetSaturation ().
2128
2129 2002-02-26  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2130
2131         * Bitmap.cs: Added method headers.
2132
2133 2002-02-25  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2134
2135         * Bitmap.cs: Added, no implementation's done, yet.
2136
2137 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
2138
2139         * Rectangle.cs : Add a doc comment.
2140         * RectangleF.cs : New struct implementation.
2141
2142 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
2143
2144         * Rectangle.cs : New struct implementation.
2145
2146 2001-08-17  Mike Kestner <mkestner@speakeasy.net>
2147
2148         * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2149
2150 2001-08-16  Mike Kestner <mkestner@speakeasy.net>
2151
2152         * Point.cs : New. Implementation of System.Drawing.Point struct.
2153