1 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3 * Graphics.jvm.cs: Fixed InterpolationMode property
5 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
7 * Graphics.jvm.cs: Fixed DrawImage
9 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
11 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
12 appears to be what MS.NET uses.
14 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
16 * Point.cs: Use invariant culture for converting numbers to string.
20 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
22 * Color.cs: Fixed ToString for uninitialized color.
23 * ColorConverter.cs: Support conversion from whitespace-only string to
24 Color.Empty. Fixed conversion from Color.Empty and known colors to
27 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
29 * Graphics.jvm.cs: Initial properties implementation
31 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
33 * Graphics.jvm.cs: DrawImage refactoring
35 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
37 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
38 Added UpdateInternalTransform
39 Fixed DrawImage, Transform, ConcatenateTransform
41 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
43 * Icon.jvm.cs: Internal constructor from bitmap
44 * Added SystemIcons.jvm.cs with implementation of SystemIcons
46 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
48 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
49 (all methods that use Graphics object)
51 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
53 * Graphics.jvm.cs: Refactoring
55 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
57 * Graphics.jvm.cs: Fixed Clear, Refactoring
59 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
61 * Graphics.jvm.cs: Fixed FillClosedCurve
63 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
65 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
66 rectangles touch each other.
68 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
70 * Graphics.jvm.cs: Fixed DrawCurve.
72 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
74 * StrokeFactory.jvm.cs: use correct stroke
76 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
78 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
81 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
83 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
85 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
87 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
90 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
92 * Graphics.jvm.cs: Refactoring
94 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
96 * Graphics.jvm.cs: Fixed DrawPolygon
98 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
100 * Graphics.jvm.cs: Refactoring
101 * Pen.jvm.cs: setting awt.Stroke as a base
103 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
105 * Graphics.jvm.cs: Refactoring
107 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
109 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
111 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
113 * Rectangle.cs: Intersect fixed
114 * RectandleF.cs: Intersect and Inflate fixed
116 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
118 * Point.cs: Produce same ToString result as dotnet
120 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
122 * Color.cs: GetHashCode is affected by Name, too
124 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
126 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
128 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
130 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
132 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
134 * SolidBrush.jvm.cs: fix a typo
136 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
138 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
139 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
140 Font.jvm.cs: Added TARGET_JVM implementation
142 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
144 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
146 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
148 * BasicShape.jvm.cs: Added TARGET_JVM specific class
150 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
152 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
154 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
156 * ColorTranslator.cs: (GH merge) recognise HTML system colors
158 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
160 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
162 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
164 * Color.cs: TARGET_JVM - NativeObject property
166 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
168 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
170 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
172 * RectangleF.cs: Fixes IsEmpty logic
174 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
176 * Graphics.cs: implements FromHwndInternal
179 2005-06-13 Peter Bartok <pbartok@novell.com>
181 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
182 through an intermediary step, which turns it into a 32bit version.
185 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
187 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
188 removed some unnecessary code
189 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
190 positions beyond the size of stream
192 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 * Font.cs: fix platform checks.
196 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
199 - Fixes is empty method IsEmpty logic
200 - Fixes Contains method logic
201 - Fixes IntersectsWith logic
204 - Fixes is empty method IsEmpty logic
205 - Fixes Contains method logic
206 - Fixes IntersectsWith logic
208 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
210 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
211 destructors. Some methods renamed. Removed unnecessary variables.
213 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
215 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
216 and modified the Palette property to call them. This non-
217 persistent behaviour was discovered by trial and error with
218 Microsoft's implementation. In fact, the Palette property
219 does not behave like a property at all! It is the only way an
220 instance of System.Drawing.Imaging.ColorPalette can be created,
221 and it reflects a backing store that is only updated when the
222 property 'set' method is called. Also updated Clone () since
223 the palette is no longer cached at image load time.
224 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
225 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
226 As such a function is not listed in MSDN nor given in
227 Microsoft's implementation, I have made it a private function
228 within the class that uses it.
230 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
232 * Graphics.cs: Revised DrawString methods
234 2005-03-22 Peter Bartok <pbartok@novell.com>
236 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
239 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
241 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
242 * gdipFunctions.cs: Modified conditional compilation syntax
243 * ComIStreamWrapper.cs: Modified conditional compilation syntax
244 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
246 2005-05-18 Marek Safar <marek.safar@seznam.cz>
248 * Bitmap.cs: Add null check into ctor.
250 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
252 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
253 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
254 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
256 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
258 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
260 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
262 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
263 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
264 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
265 * Image.cs: uses new Win32 Stream functions when need it
267 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
269 * Color.cs: Fix GetSaturation() again and remove
272 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
274 * Color.cs: New, correct implementations for GetHue(),
275 GetBrightness() and GetSaturation().
277 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
279 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
280 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
281 * Image.cs: Use PlatformID.Unix under NET_2_0.
283 2005-05-05 Miguel de Icaza <miguel@novell.com>
285 * Bitmap.cs, Icon.cs (constructor): Use
286 GetManifestResourceStream(Type,string) in the constructor that
289 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
291 * PointF.cs: Make serialization compatible with MS.
293 2005-04-10 Geoff Norton <gnorton@customerdna.com>
297 Use CGContextSynchronize instead of CGContextFlush. This saves
298 on average 20000 ticks per drawing operation.
300 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
302 * Color.cs: take into account the name color in == and != operators
303 * Font.cs: Use Equals instead of == to compare the family name
305 - Removes generic fontfamilies cache (done at libgdiplus level)
306 - Fixes Equals method
308 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
310 * Pen.cs: remove locks. They are done at gdiplus level
311 * Brush.cs: remove locks. They are done at gdiplus level
312 * Image.cs: remove locks. They are done at gdiplus level
314 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
316 * Icon.cs: Finished Icon(Type, String) ctor
318 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
320 * gdipFunctions.cs: fixes GdipGetImagePalette signature
321 * Image.cs: Implements Palette property using gdiplus
323 2005-03-17 Peter Bartok <pbartok@novell.com>
326 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
327 method, now includes a get header delegate
328 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
329 the image type even on non-seekable streams
330 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
331 via StreamGetHeaderImpl
332 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
333 the new StreamGetHeader delegate
335 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
337 * Pen.cs: Fixes dispose method to allow to be called multiple times
338 * Graphics.cs: matrix are saved and restored at gdiplus level
340 2005-02-24 Geoff Norton <gnorton@customerdna.com>
342 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
343 so they dont get garbage collected before use.
345 2005-02-11 Peter Bartok <pbartok@novell.com>
347 * gdipFunctions.cs: Fixed prototype to match previous checkin
349 2005-02-11 Peter Bartok <pbartok@novell.com>
351 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
352 it really is a pointer)
354 2005-02-10 Geoff Norton <gnorton@customerdna.com>
356 * Icon.cs: Implement GetObjectData ()
357 * Image.cs: Implement GetObjectData ()
359 2005-02-09 Geoff Norton <gnorton@customerdna.com>
361 * Icon.cs: Implement deserializer
362 * Bitmap.cs: Implement deserializer
364 2005-02-06 Ben Maurer <bmaurer@ximian.com>
366 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
368 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
370 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
372 2005-02-02 Jackson Harper <jackson@ximian.com>
374 * Region.cs: The default region constructor creates and infinite
375 region, not an empty one.
377 2005-01-27 Peter Bartok <pbartok@novell.com>
379 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
380 of HSV numbers. Previous implementation returned wrong numbers and NaN
383 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
385 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
386 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
387 : Implemented support for InstanceDescriptor.
389 2005-01-26 Peter Bartok <pbartok@novell.com>
391 * Icon.cs (ToBitmap): Now sets transparency in according to
394 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
396 * gdipFunctions.cs: Fixes GdipGet* function signatures
397 * FontFamily.cs: Fixes GdipGet* function calls
398 * Font.cs: Fixes ToString method
400 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
402 * Graphics.cs: calls XCloseDisplay on X11 when need it
403 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
405 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
407 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
409 2004-12-16 Peter Bartok <pbartok@novell.com>
411 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
412 equivalent to the gdi+ native object
414 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
415 equivalent to the gdi+ native object
417 2004-12-09 Geoff Norton <gnorton@customerdna.com>
419 * carbonFunctions.cs: New carbon functions/structures
420 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
422 2004-12-08 Geoff Norton <gnorton@customerdna.com>
424 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
425 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
427 2004-12-07 Geoff Norton <gnorton@customerdna.com>
429 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
430 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
432 2004-12-06 Miguel de Icaza <miguel@ximian.com>
434 * FontFamily.cs: This one is static.
436 2004-11-25 Ravindra <rkumar@novell.com>
438 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
439 type from int to Status type.
441 2004-11-25 Marek Safar <marek.safar@seznam.cz>
443 * Image.cs: Add CheckStatus to SaveAdd.
445 2004-11-22 Ravindra <rkumar@novell.com>
447 * Graphics.cs: Fixed null values handling in all overloads of
448 MeasureString method.
450 2004-11-18 Ravindra <rkumar@novell.com>
452 * gdipFunctions.cs: Removed the .so extension from a DllImport
455 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
457 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
460 2004-11-03 Miguel de Icaza <miguel@ximian.com>
462 * TextureBrush.cs (Clone): While cloning, it is not enough to let
463 GDIPlus clone the underlying data, we must alos clone the managed
466 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
467 errors in the future, set the lock on the object before doing any
468 other tests, not after.
470 (Clone): While cloning, it is not enough to let
471 GDIPlus clone the underlying data, we must alos clone the managed
474 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
475 errors in the future.
477 Set the lock in the object before checkign disposed.
479 * SolidBrush.cs (Clone): While cloning, it is not enough to let
480 GDIPlus clone the underlying data, we must alos clone the managed
483 (Dispose): Set the nativeObject to IntPtr.Zero to catch
484 errors in the future.
486 2004-10-28 Ravindra <rkumar@novell.com>
488 * gdipFunctions.cs: Added checks for null stream in the
489 StreamHelper internal class.
490 * Icon.cs: Removed an ugly hack that used temp files in
491 ToBitmap () method. We use MemoryStream instead.
493 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
495 * Font.cs: fixes bug 66533
497 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
499 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
500 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
501 lock operations after conversation with Miguel. Do not really
504 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
506 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
508 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
510 * Bitmap.cs: Fixes MakeTransparent method
512 2004-10-13 Ravindra <rkumar@novell.com>
514 * Graphics.cs: Moved the initialization of 'use_x_drawable'
515 member out of private constructor to class initialization.
516 So that, we get it right even if Graphics is not instantiated.
517 This fixes the problem we face (otherwise) when we make first
518 call to Graphics.FromHwnd () method.
520 2004-10-08 Ravindra <rkumar@novell.com>
522 * Image.cs: Suppress finalization in Dispose () method.
524 2004-10-04 Ravindra <rkumar@novell.com>
526 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
528 2004-09-29 Jackson Harper <jackson@ximian.com>
530 * Graphics.cs: Use FromHdcInternal to set the X display
531 handle. Add a flag to check if we are on unix so we aren't calling
532 Environment.OSVersion.Platform all the time. Mad props to Peter
535 2004-09-17 Marek Safar <marek.safar@seznam.cz>
537 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
538 ToLogFont: Implemented.
540 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
542 GdipCreateFontFromLogfontA: A new extern call.
544 2004-09-13 Ravindra <rkumar@novell.com>
546 * Graphics.cs: MSDN says that using image width and height gives
547 better performance, hence we are using image width and height to
548 avoid autoscaling in DrawImageUnscaled.
550 2004-09-10 Ravindra <rkumar@novell.com>
552 * Graphics.cs: Implemented DrawIcon methods and fixed
553 DrawImageUnscaled method implementation.
555 2004-08-21 Jackson Harper <jackson@ximian.com>
557 * ImageAnimator.cs: Run animator as a background thread so we do
560 2004-08-21 Ravindra <rkumar@novell.com>
562 * gdipFunctions.cs: Modified exception message to include the case
563 of missing required libraries for different formats.
565 2004-08-10 Jackson Harper <jackson@ximian.com>
567 * SystemColors.cs: Make Highlight colour match colour from windows
568 classic color scheme.
570 2004-07-30 Ravindra <rkumar@novell.com>
572 * Font.cs: Fixed Height property implementation and implemented
573 GetHeight method and its overloads.
575 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
577 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
578 P/Invoke function for Image.
579 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
581 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
583 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
584 GdipGetAllPropertyItems P/Invoke function for Image.
585 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
586 * Image.cs: Corrected implementation of PropertyItems property.
588 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
590 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
591 P/Invoke function for Image.
592 * Image.cs: Changed implementation of PropertyIdList property.
594 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
596 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
597 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
599 2004-07-21 Ravindra <rkumar@novell.com>
601 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
602 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
604 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
606 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
607 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
608 * gdipFunctions.cs: new GDI function calls
610 2004-07-16 Ravindra <rkumar@novell.com>
612 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
614 2004-07-15 Ravindra <rkumar@novell.com>
616 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
618 2004-07-13 Ravindra <rkumar@novell.com>
620 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
621 This was redundant. It was kept in previous checkin to avoid
624 2004-07-13 Ravindra <rkumar@novell.com>
626 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
628 2004-07-09 Peter Bartok <pbartok@novell.com>
629 * Graphics.cs: Added support required for new managed SWF library
630 * gdipFunctions.cs: Added XOpenDisplay definition/import
632 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
634 * gdipFunctions.cs: fixes bug 61050
636 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
638 * ImageAnimator.cs: Rewrote complete implementation.
640 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
642 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
643 If read function was called after seek function call, the
644 implementation was returning data from bytes already peeked and
645 not from the new position in stream, which we have seeked.
647 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
649 * Graphics.cs: added MeasureString wrappers
651 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
653 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
655 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
657 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
659 2004-06-18 Ravindra <rkumar@novell.com>
661 * FontConverter.cs: Implemented the missing functions.
662 * Font.cs: Added some notes.
664 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
666 * gdipFunctions.cs: Modified Function signature for
667 GdipSaveImageToDelegate_linux() method for saving tiff images
669 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
672 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
674 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
675 and Size, required by TIFFCodec. Modifed Function signature for
676 GdipLoadImageFromDelegate_linux() method.
677 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
680 2004-06-11 Ravindra <rkumar@novell.com>
682 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
683 from out int to out IntPtr.
684 * SolidBrush.cs: Same.
686 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
688 * Image.cs: API signature fixes, meaning DisposeResources is now
689 private and marked InitFromStream internal
691 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
693 * FontFamily.cs: simplifies object destruction and fixes
695 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
697 * FontFamily.cs: added destructor
698 * Graphics.cs: added destructor to stop leaking, remove debugging code
701 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
703 * gdipFunctions.cs: added GdipSaveAddImage
704 * Image.cs: added SaveAdd methods
706 2004-06-02 Peter Bartok <pbartok@novell.com>
707 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
708 (This fixes bug #59479)
710 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
712 * Font.cs: Added missing Browsable attribute on SizeInPoints.
713 * Region.cs: Removed extra ComVisible attribute from Clone().
715 2004-06-01 Ravindra <rkumar@novell.com>
717 * Pen.cs: Added a note on Dispose method.
718 * Brush.cs: Fixed Dispose method.
719 * SolidBrush.cs: Fixed Dispose method.
721 2004-05-28 Ravindra <rkumar@novell.com>
723 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
725 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
726 rectangles implementation (This is basically done to avoid lots
727 of brush and pen setup happening in libgdiplus.)
729 2004-05-27 Ravindra <rkumar@novell.com>
731 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
733 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
735 * ImageFormatConverter.cs: Fixed issues discovered from nunit
738 2004-05-26 Ravindra <rkumar@novell.com>
740 * Color.cs: Corrected Color.Green property.
742 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
743 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
745 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
747 * Icon.cs: Fixed issue with size property.
749 2004-05-18 Ravindra <rkumar@novell.com>
751 * Pen.cs: Added value checks in DashPattern and CompoundArray
754 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
756 * Graphics.cs: fixed warning
757 * ImageAnimator.cs: fixed warning
758 * FontConverter.cs: fixed public API
760 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
762 * gdipFunctions.cs: Fixed prototype for
763 GdipGetEncoderParameterList
765 * Image.cs: Reworked Save functions to handle EncoderParameters.
766 Implemented GetEncoderParameterList
767 Also removed unused setGDIPalette internal method.
769 2004-05-14 Peter Bartok <pbartok@novell.com>
770 * StringFormat.cs: Added CharacterRange handling
771 * Graphics.cs: Implemented MeasureCharacterRanges method
773 2004-05-14 Peter Bartok <pbartok@novell.com>
774 * Graphics.cs: Added error check
776 2004-05-14 Duncan Mak <duncan@ximian.com>
777 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
778 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
779 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
781 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
782 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
784 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
785 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
787 2004-05-13 Peter Bartok <pbartok@novell.com>
788 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
791 2004-05-12 Peter Bartok <pbartok@novell.com>
792 * Image.cs: Implemented GetThumbnailImage
794 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
795 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
796 FromXDrawable(IntPtr, IntPtr) internal.
798 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
799 * Color.cs: work for API compatibilty: private date, todos
800 * Font.cs: work for API compatibilty: private date, todos
801 * FontFamily.cs: work for API compatibilty: private date, todos
802 * Graphics.cs: work for API compatibilty: private date, todos
803 * Icon.cs: work for API compatibilty: private date, todos
804 * Image.cs: work for API compatibilty: private date, todos
805 * ImageAnimator.cs: work for API compatibilty: private date, todos
806 * Point.cs: work for API compatibilty: private date, todos
807 * PointF.cs: work for API compatibilty: private date, todos
808 * Rectangle.cs: work for API compatibilty: private date, todos
809 * RectangleF.cs: work for API compatibilty: private date, todos
810 * Region.cs: work for API compatibilty: private date, todos
811 * Size.cs: work for API compatibilty: private date, todos
812 * SizeF.cs: work for API compatibilty: private date, todos
813 * SolidBrush.cs: work for API compatibilty: private date, todos
814 * StringFormat.cs: work for API compatibilty: private date, todos
815 * SystemPens.cs: work for API compatibilty: private date, todos
816 * TextureBrush.cs: work for API compatibilty: private date, todos
817 * gdipStructs.cs: work for API compatibilty: private date, todos
819 2004-05-12 Ravindra <rkumar@novell.com>
821 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
822 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
823 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
824 Added missing attributes and some coding style fixes.
825 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
828 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
830 * ImageAnimator.cs: Implemented first version.
832 2004-05-11 Ravindra <rkumar@novell.com>
834 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
837 2004-05-10 Ravindra <rkumar@novell.com>
839 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
840 for the same. Added few related P/Invokes for Pen also.
842 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
844 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
846 2004-05-06 Ravindra <rkumar@novell.com>
848 * RectangleConverter.cs: Implemented GetProperties () method.
849 * SizeConverter.cs: Implemented GetProperties () method.
850 * PointConverter.cs: Implemented GetProperties () method.
851 * FontConverter.cs: Implemented some of the methods.
853 2004-05-06 Ravindra <rkumar@novell.com>
855 * Color.cs: Fixed Name property.
856 * ColorTranslator.cs: Fixed the existing methods and implemented
858 * ColorConverter.cs: Fixed the existing methods and implemented
859 the missing methods. Also, fixed coding style.
861 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
862 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
864 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
865 * Image.cs: raw_format should be handled by GDI+
866 * Bitmap.cs: raw_format should be handled by GDI+
868 2004-05-04 Ravindra <rkumar@novell.com>
870 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
871 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
872 properties and SetLineCap method. In constructors use IntPtr instead
874 * SolidBrush.cs: Modified exception message.
875 * TextureBrush.cs: Fixed Transform property.
876 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
877 LinearGradientBrush.cs.
879 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
881 * Image.cs: Implemented FrameDimensionsList property.
883 2004-04-30 Ravindra <rkumar@novell.com>
885 * gdipFunctions.cs: Added few more P/Invoke calls for
886 lineargradient brush and added one case statement in
889 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
891 * Image.cs: takes into account MemoryBmp format when saving
893 2004-04-30 Ravindra <rkumar@novell.com>
895 * StringFormat.cs: Added checks for status.
897 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
899 * Image.cs: Removed calls which passes byte[] for Guid parameter.
900 * gdipFunctions.cs: Removed unwanted unix specific function calls.
902 2004-04-30 Ravindra <rkumar@novell.com>
904 * Graphics.cs: Added checks for status.
905 * Image.cs: Added a check for status.
906 * FontFamily.cs: Added checks for status.
908 2004-04-29 Peter Bartok <pbartok@novell.com>
910 * Brushes.cs: Fixed bug #52695. No longer creates a new
911 brush for every request and behaves Microsoft compatible
913 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
915 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
916 its ClsID instead of the formatID (as GDI+ expects)
918 2004-04-29 Ravindra <rkumar@novell.com>
920 * Font.cs: Added checks for status.
921 * Bitmap.cs: Added checks for status.
922 * Pen.cs: Added checks for status.
924 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
926 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
927 Converted to unix format from dos format.
929 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
931 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
933 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
935 * gdipStructs.cs: added GdipImageCodecInfo struct
937 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
939 * ImageFormatConverter.cs: Corrected ConvertFrom method.
941 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
943 * ImageConverter.cs: Added exception message.
944 * IconConverter.cs: Added exception message.
945 * ImageFormatConverter.cs: Implemented first version.
947 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
949 * ImageConverter.cs: Implemented first version.
951 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
953 * IconConverter.cs: Implemented first version.
955 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
957 * Image.cs: Corrected implementation of Property RawFormat.
958 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
960 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
962 * Bitmap.cs: Resolved a compile time error.
963 * Image.cs: Changed the implementation of few methods to progress
964 with ImageAnimator class.
965 * gdipFunctions.cs: Added few linux only function calls.
966 * Icon.cs: Removed unused variable from code.
968 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
970 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
972 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
974 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
975 serialization for Bitmaps. (Bugzilla #52568)
977 2004-04-23 Ravindra <rkumar@novell.com>
979 * RectangleConverter.cs: Fixed ConvertTo () method.
980 * SizeConverter.cs: Fixed ConvertTo () method.
981 * PointConverter.cs: Fixed ConvertTo () method.
983 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
984 * ImageAnimator.cs: Implemented CanAnimate() method.
986 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
987 * Image.cs: added RotateFlip and RemovePropertyItem calls
989 2004-04-22 Ravindra <rkumar@novell.com>
991 * RectangleConverter.cs: Implemented. Also changed file format
993 * Rectangle.cs: Fixed ToString method.
994 * RectangleF.cs: Fixed ToString method.
996 2004-04-22 Ravindra <rkumar@novell.com>
998 * SizeConverter.cs: Implemented some of the functions.
999 * PointConveter.cs: Implemented.
1000 * gdipFunctions.cs: Corrected one typo.
1001 * Brushes.cs: Added a comment.
1003 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
1005 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1006 returning portions of the peek buffer back. Fixes #57379.
1008 2004-04-21 Peter Bartok <pbartok@novell.com>
1009 * Font.cs: Implemented Font.FromHfont method
1010 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
1011 * gdipFunctions.cs: Added imports for functions required to support
1012 Font.FromHfont method
1014 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1015 * RectangleConverter.cs: stubbed out
1016 * Font.cs : added missing members
1018 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
1019 * Icon.cs: Fixed problem in extracting bitmap from Icon.
1021 2004-04-16 Ravindra <rkumar@novell.com>
1023 * Pen.cs: GC should be allowed to collect any pen including
1025 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
1026 including system brushes.
1027 * Brushes.cs: Coding style.
1028 * Pens.cs: Objects created by Pens are not modifiable on
1029 MS.NET, so we are now. Also, coding style fixes.
1030 * SystemPens.cs: Removed static constructor and changed file
1032 * SystemBrushes.cs: Some cosmetic changes.
1034 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
1035 * Icon.cs: Implemented more missing bits and fixed the problem
1036 of icon not getting saved in proper format
1038 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
1039 * Icon.cs: Implemented more missing bits
1041 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
1042 * Icon.cs: Implemented few more missing bits
1044 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
1045 * Icon.cs: Implemented first version
1047 2004-04-11 Peter Bartok <pbartok@novell.com>
1048 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
1049 the code and using our own private gdiplus function when on Unix and using Win32
1050 functions when running on Windows
1051 * gdipStructs.cs: Added LOGFONTA structure
1052 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
1054 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1056 * Image.cs: Save should use encoder.FormatID, not Clsid
1058 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1059 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1060 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1062 2004-04-06 Duncan Mak <duncan@ximian.com>
1064 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1066 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1067 * Region.cs: fixes GetRegionScans
1068 * gdipFunctions.cs: fixes GetRegionScans
1070 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
1072 * gdipFunctions.cs: Added stream delegate helpers for
1073 stream loading/saving on linux
1075 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1076 loading/saving image data.
1078 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1079 * Region.cs: implemented new methods
1080 * Graphics.cs: implemented new methods
1082 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
1083 * Region.cs: implemented
1085 2004-04-01 Duncan Mak <duncan@ximian.com>
1087 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1089 * gdipFunctions.cs (GdipAddPathCurveI):
1090 (GdipAddPathCurve2, GdipAddPathCurve2I):
1091 (GdipAddPathCurve3, GdipAddPathCurve3I):
1092 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1093 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1096 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1097 * Image.cs: implemented a few GDI+ wrapper calls
1099 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1100 * Bitmap.cs: remove redundant data already present at Image.cs
1101 * Image.cs: use GDI+ functions to get image details
1102 * StringFormat.cs: missing constructor and property
1104 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1105 * FontFamily.cs: added missing members and style clean
1106 * Graphics.cs: fixed signature of DrawArc and DrawPie
1107 * Image.cs: added missing members, fixes
1108 * StringFormat.cs: missing constructor and property
1110 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1111 * Graphics.cs: Added missing DrawImage GDI+ calls
1112 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
1114 2004-03-23 Ravindra <rkumar@novell.com>
1115 * gdipFunctions.cs: Added few more P/Invoke calls for
1116 LinearGradientBrush.
1118 2004-03-22 Ravindra <rkumar@novell.com>
1119 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1120 and did few coding style fixes.
1122 2004-03-18 Ravindra <rkumar@novell.com>
1123 * Brush.cs: Fixed Dispose method.
1124 * SolidBrush.cs: Fixed clone method.
1125 * TextureBrush.cs: Fixed clone method.
1126 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
1128 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1130 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1132 2004-03-10 Ravindra <rkumar@novell.com>
1133 * Pen.cs: Implemented PenType property.
1134 * Brush.cs: Coding style.
1136 2004-03-06 Ravindra <rkumar@novell.com>
1137 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1138 for PathGradientBrush.
1140 2004-03-06 Ravindra <rkumar@novell.com>
1141 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1144 2004-03-04 Duncan Mak <duncan@ximian.com>
1146 * Region.cs: Indentation.
1148 * RectangleF.cs: Changed the internal structure from a PointF,
1149 SizeF to floats in order to match the layout from the C API.
1151 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
1152 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1154 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1155 * gdipFunctions.cs: Added functions for ImageAttributes
1157 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1158 * Icon.cs: Missing function stubs added
1159 * Icon.cs: Missing function stubs added
1160 * IconConverter.cs: Missing function stubs added
1161 * ImageAnimator.cs: Missing function stubs added
1162 * ImageConverter.cs: Missing function stubs added
1163 * ImageFormatConverter.cs: Missing function stubs added
1165 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1166 * Font.cs: Allow multiple styles
1168 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1169 * StringFormat.cs: Clone method
1171 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1172 * font.cs: fixes, Clone, and ToString
1174 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
1175 * gdipFunctions.cs: MeasureString
1176 * Graphics.cs : MeasureString
1178 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1179 * Font.cs: destructor and unit conversion
1180 * Graphics.cs : system dpi support
1182 2004-02-13 Ravindra <rkumar@novell.com>
1183 * Pen.cs: Fixed some bugs.
1184 * TextureBrush.cs: Fixed some bugs.
1186 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
1187 * gdipFunctions.cs: Added ImageCodecInfo functions
1188 * Image.cs: Added few methods
1190 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
1191 * FontFamily.cs: remove hardcoded font names, a few bug fixes
1193 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
1194 * gdipFunctions.cs: Added Image class functions
1195 * Image.cs: Added few methods
1197 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1198 * graphics.cs: fixes parameters for DrawStrings functions
1200 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1202 * SRDescriptionAttribute.cs: Added and implemented
1203 * ToolboxBitmapAttribute.cs: Implemented a few members
1204 * SystemIcons.cs: Stubbed
1205 * StringFormat.cs: Implemented method
1206 * Region.cs: Added Todo, fixed attribute
1207 * Size.cs: Added attribute
1208 * SizeF.cs: Added attribute
1209 * RectangleF.cs: Added attributes
1210 * Rectangle.cs: Added attributes
1211 * PointF.cs: Added attribute
1212 * Point.cs: Added attribute
1214 2004-02-06 Ravindra <rkumar@novell.com>
1216 * Brush.cs: Renamed GetException method to CheckStatus
1217 and moved it to gdipFunctions.cs.
1218 * gdipFunctions.cs: Added CheckStatus method.
1219 * SolidBrush.cs: Using CheckStatus method.
1220 * TextureBrush.cs: Using CheckStatus method.
1221 * gdipEnums.cs: Added a missing value.
1223 2004-02-05 Ravindra <rkumar@novell.com>
1225 * Brush.cs: Added a missing namespace.
1227 2004-02-05 Ravindra <rkumar@novell.com>
1229 * gdipFunctions.cs: Added methods for HatchBrush and
1231 * SolidBrush.cs: Added checks for status.
1232 * Brush.cs: Added support for HatchBrush and TextureBrush
1233 types in internal CreateBrush() method.
1235 2004-02-03 Jordi Mas <jordi@ximian.com>
1236 * Font.cs: Setup font properties
1238 2004-02-03 Ravindra <rkumar@novell.com>
1240 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
1241 method from TextureBrush.cs to Brush.cs.
1242 * Brush.cs: Made GetException (Status) method internal.
1244 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
1246 * gdipFunctions.cs: Added methods for Image class.
1248 2004-01-30 Ravindra <rkumar@novell.com>
1250 * TextureBrush.cs: Added more methods to complete it.
1251 * gdipFunctions.cs: Added methods for TextureBrush class.
1253 2004-01-30 Ravindra <rkumar@novell.com>
1255 * gdipFunctions.cs: Added methods for TextureBrush class.
1257 2004-01-30 Ravindra <rkumar@novell.com>
1259 * Pen.cs: Modified to handle TextureBrush also.
1260 * Bitmap.cs: Added one internal constructor.
1261 * TextureBrush.cs: Implemented.
1263 2004-01-29 Duncan Mak <duncan@ximian.com>
1266 * Graphics.cs: Indentation fixes, removed long dangling lines and
1269 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1272 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1274 * FontFamily.cs: Implemented few methods and a constructor
1276 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1278 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1279 * FontFamily.cs: Implemented missing functionalities.
1281 2004-01-24 Duncan Mak <duncan@ximian.com>
1283 * Graphics.cs (DrawPath): Implemented.
1285 2004-01-23 Ravindra <rkumar@novell.com>
1287 * Point.cs: ToString modified.
1288 * PointF.cs: ToString modified.
1289 * Size.cs: ToString modified.
1290 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1293 2004-01-21 Jordi Mas i Hernàndez
1294 * Bitmap.cs: Several new methods added.
1296 2004-01-21 Duncan Mak <duncan@ximian.com>
1298 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1299 OutAttribute to the array argument. This fixes the PathPoints
1300 property in System.Drawing.Drawing2D.GraphicsPath.
1302 2004-01-20 Ravindra <rkumar@novell.com>
1304 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1305 this property was hanging and getting was throwing a NullRef
1306 Exception. Earlier we were passing Matrix object to and fro
1307 which was causing the problem. Now, we are using IntPtr.
1308 Thanks to Duncan for helping me.
1309 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1310 together. If color is set, a SolidBrush automatically gets
1311 set with the same color, Pen loses the old brush object.
1312 If a SolidBrush is set, Pen.Color gets the value same as that
1313 of brush color losing the old value. Pen shows this behavior
1315 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1316 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1318 2004-01-19 Duncan Mak <duncan@ximian.com>
1320 * gdipFunctions.cs: Import functions for GraphicsPath.
1322 2004-01-14 Ravindra <rkumar@novell.com>
1324 * SolidBrush.cs: Made SolidBrush to initialize its color
1327 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1329 2004-01-11 Duncan Mak <duncan@ximian.com>
1331 * Bitmap.cs (LockBits):
1332 * Graphics.cs (DrawString): Removed reference to GpRectF.
1334 2004-01-09 Duncan Mak <duncan@ximian.com>
1336 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1337 Removed. Didn't know that structs are laid out sequentially by
1338 default. We don't need these anymore.
1340 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1342 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1344 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1346 * Graphics.cs: fix compile error on Windows builds for out
1347 parameter state in call to GdipSaveGraphics
1349 2004-01-10 Ravindra <rkumar@novell.com>
1351 * All Enums: Made serializable.
1353 * Image.cs: Corrected signature of Dispose(bool) method.
1355 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1356 Corrected coding style mistakes of my previous commit.
1358 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1360 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1362 * StringFormat.cs: Inherits MarshalByRefObject.
1364 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1366 2004-01-08 Ravindra <rkumar@novell.com>
1368 * Pen.cs: Added isModifiable (bool) variable. It is required to
1369 make Pens created by SystemPens.cs unmodifiable. All property
1370 setters are modified for this.
1372 * SolidBrush.cs: Added isModifiable variable (bool). It is
1373 required to make Brushes created by SystemBrushes.cs unmodifiable.
1374 All property setters are modified for this.
1376 * SystemBrushes.cs: Modified all the properties as per the .NET
1377 specs, so that Brushes are not created every time. Also, missing
1378 properties are added.
1380 * SystemPens.cs: Modified all the properties as per the .NET
1381 specs, so that Brushes are not created every time. Also, missing
1382 properties are added.
1384 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1386 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1389 2004-01-06 Duncan Mak <duncan@ximian.com>
1391 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1393 2003-12-21 Duncan Mak <duncan@ximian.com>
1395 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1396 up to the GDI+ implementation.
1397 (RotateTransform): Uncommented.
1399 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1402 2003-12-13 Todd Berman <tberman@sevenl.net>
1404 * Font.cs: Implementing a couple things for porting purposes
1405 * SystemBrushes.cs: ^
1406 * StringFormat.cs: ^^
1408 2003-11-28 Duncan Mak <duncan@ximian.com>
1410 * Pen.cs (CompoundArray): Hide this for now.
1412 2003-11-28 Duncan Mak <duncan@ximian.com>
1414 * Brush.cs (CreateBrush): new internal factory method for creating
1415 specific brushes based on the internal (GDI+ C API) BrushType
1417 (Brush (IntPtr)): new internal constructor.
1419 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1421 (Pen (IntPtr)): new internal constructor.
1422 (Pen (Brush, float)): Use GdipCreateBrush2.
1423 (Clone): Implemented using GdipClonePen.
1424 (Alignment, Brush, Color, Width): Use GDI+ implementations
1426 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1427 Implemented these properties.
1428 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1429 (MultiplyTransform, ResetTransform, RotateTransform):
1430 (ScaleTransform, TranslateTransform): Implemented these methods.
1432 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1434 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1436 * gdipFunctions.cs: Imported new Brush and Pen functions.
1438 2003-11-22 Duncan Mak <duncan@ximian.com>
1441 (GdipResetWorldTransform, GdipSetWorldTransform):
1442 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1444 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1445 (transform): Removed this field. Always use the
1446 matrix associated in the GpGraphics ptr.
1447 (DrawBeziers): Implemented.
1448 (DrawLine): Don't need to manually invoke the transform now.
1449 (MultiplyTransform, ResetTransform):
1450 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1451 (Transform): Instead of storing a Matrix in managed code, use
1452 equivalent GDI+ functions.
1454 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1456 * SizeConverter.cs: fixed class signature and implemented some methods.
1458 2003-11-17 Duncan Mak <duncan@ximian.com>
1460 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1462 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1464 2003-11-17 Duncan Mak <duncan@ximian.com>
1466 * Bitmap.cs (LockBits):
1467 * Graphics.cs (DrawString): Use GpRectF.
1469 * gdipFunctions.cs: Updated method signatures.
1471 * Graphics.cs (MultiplyTransform): Implemented using
1472 GdipMultiplyWorldTransform from GDI+.
1474 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1475 GpRect, to be more consistent with the C naming.
1477 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1479 * Graphics.cs: Implement the other DrawString overloads .
1481 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1483 * gdipStructs.cs (GdipRectF): Added utility constructor
1485 2003-11-15 Duncan Mak <duncan@ximian.com>
1487 * gdipFunctions.cs: Imported matrix functions.
1489 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1491 * Bitmap.cs: Added Attributes
1492 * ColorTranslator.cs: Added private constructor
1493 * Font.cs: Added Attributes
1494 * FontFamily.cs: sealed
1495 * Icon.cs: Added Attributes
1496 * IconConverter.cs: Fixed signature
1497 * Image.cs: Added attributes
1499 * ImageConverter.cs:
1500 * ImageFormatConverter.cs:
1507 * TextureBrush.cs: Fixed signature
1508 * Color.cs: Added attributes
1513 * SizeF.cs: Added attributes
1514 * ContentAlignment.cs: Added attribute
1516 2003-11-13 Duncan Mak <duncan@ximian.com>
1518 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1521 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1522 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1523 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1525 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1527 * gdipFunctions.cs copy image in Bitmap constructor
1529 2003-11-06 Duncan Mak <duncan@ximian.com>
1530 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1531 angle parameters for the integer case.
1532 (DrawBezier): Hook it up with GdipDrawBezier.
1533 (DrawEllipse): Fix Width, Height ordering.
1535 2003-11-05 Duncan Mak <duncan@ximian.com>
1537 * Graphics.cs (DrawPie):
1538 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1541 2003-10-28 Duncan Mak <duncan@ximian.com>
1543 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1544 (FillEllipse, FillPolygon): implemented.
1545 (RenderingOrigin): implemented.
1547 * gdipFunctions.cs: Added new GDI+ equivalents.
1549 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1551 * Image.cs small fixes
1553 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1555 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1557 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1559 * SystemBrushes.cs: Some more brushe3s.
1561 * SystemPens.cs: More pens.
1563 * Pen.cs: Implement IDisposable, ICloneable.
1565 * Region.cs: Add some more stubs here.
1567 * StringFormat.cs: Add some more code here.
1569 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1571 * Image.cs: Kill the InternalImageInfo, everything is now done in
1572 terms of Image and BitmapData.
1574 * Rectangle.cs: Make this one also sequential, change from using
1575 Point + Size to use x, y, width, height; So we can use GdiPlus.
1577 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1578 BitmapData class argument, and instead use the [In,Out]
1579 attributes, which will do struct marshalling on the fields. Now
1580 we can use C#'s BitmapData directly to talk to Gdiplus.
1582 * gdipStructs.cs: Every internal structure that has to talk to
1583 Gdi+ is properly prefixed, to minimize the confussion.
1585 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1586 Compute the stride here where we have the BPP information,
1587 allocate a buffer of the proper size, and pass this to
1588 GdipCreateBitmapFromScan0
1590 * Image.cs: Implement Dispose pattern.
1592 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
1595 * gdipStructs.cs DrawString function added
1597 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1600 * gdipStructs.cs added
1603 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1612 implementation changed to gdi+
1614 2003-09-08 Duncan Mak <duncan@ximian.com>
1616 * Factories.cs (DefaultImplementationNamespace): Change it from
1617 "XrImpl" to "Cairo".
1619 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1624 2003-08-08 Duncan Mak <duncan@ximian.com>
1626 * Graphics.cs (DrawBezier): Fixed.
1628 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
1629 * Graphics.cs delegate Dispose to implementation
1631 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1633 * FontConverter.cs: stub it out so that system.web compiles.
1635 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1636 * Image.cs InternalImageInfo class improved
1638 2003-07-23 Miguel de Icaza <miguel@ximian.com>
1640 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1641 is set, default to Win32Impl
1643 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1644 * Image.cs implementation added
1646 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1648 * Icon.cs: Stubed out (fix for System.Drawing.Design)
1650 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1652 * StringFormat.cs: Changes to become CLS-compliant
1654 2003-07-14 Miguel de Icaza <miguel@ximian.com>
1656 * Factories.cs: Remove debugging message.
1658 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1659 * Color.cs code generation program modified
1661 2003-06-29 Alexandre Pigolkine
1662 * Graphics.cs image drawing
1664 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1667 supply KnowColor enum value to save Enum.Parse at runtime
1669 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1670 * Graphics.cs coordinate transformations
1671 * Image.cs small fix
1673 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1675 * FontFamily.cs more implementation
1677 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1679 * FontFamily.cs more implementation
1681 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1682 * Graphics.cs few more calls to implementation
1684 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1685 * Bitmap.cs BITMAP declaration removed
1686 * Graphics.cs few more calls to implementation
1687 * Image.cs InternalImageInfo structure, image read/write functions
1690 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
1691 * Factories.cs analyse environment variable and machine.config to select implementation
1692 * Image.cs PixelFormat property added
1694 2003-04-30 Nick Drochak <ndrochak@gol.com>
1696 * Factories.cs: Change weird characters that broke build on windows.
1698 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1700 * ColorConverter.cs:
1701 (ConvertFrom): return a system or named color if there's one that fits
1702 teh values parsed with Color.FromArgb.
1704 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1714 delegate function calls to implementation
1716 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1720 * SystemBrushes.cs switch to Linux style line terminators
1722 2003-03-29 Alan Tam <Tam@SiuLung.com>
1723 * ToolboxBitmapAttribute
1724 stubbed more constructors and fixed base class
1726 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1728 added stubs to compile SWF
1731 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
1736 small changes to be able to run SWF apps
1738 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1740 * Graphics.cs: stubbed out all the methods.
1742 2003-02-08 Piers Haken <piersh@friskit.com>
1744 * fixed case of pens.cs and font.cs
1746 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1753 2002-11-21 Dennis Hayes (dennish@raytek.com)
1754 * checkin for Matt Stump (mstump@swfo.arizona.edu)
1758 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
1760 * ColorTranslator.cs (FromHtml): Implement.
1762 2002-10-14 Dennis Hayes (dennish@raytek.com)
1764 * changed using namespace from Drawing2d to Drawing2D
1766 2002-9-15 Asier Llano <asierllano@infonegocio.com>
1768 * Fixes the enum values in the following enums
1769 * ContentAlignment.cs:
1773 * RotateFlipType.cs:
1774 * StringAligment.cs:
1775 * StringDigitSubstitute.cs:
1776 * StringFormatFlags.cs:
1777 * StringTrimming.cs:
1779 * SolidBrush.cs: Easy implementation
1780 * Brushes.cs: Implementation based on SolidBrush and Color class.
1781 * Brush.cs: Fixes based on the status web).
1782 * CharacterRange.cs: Implemented the missing Lenth property.
1784 2002-9-14 Dennis Hayes (dennish@raytek.com)
1787 * removed personal template that should not have been checked in
1789 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1791 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
1794 2002-9-14 DennisHayes <dennish@raytek.com>
1802 * ImageFormatConverter.cs
1804 * RectangleConverter.cs
1813 * ToolboxBitmapAttribute.cs
1814 * Added null classes for most/all classes, Many stubs, and some implmentation
1816 2002-9-2 DennisHayes <dennish@raytek.com>
1823 * Added stubs, implmentation
1825 2002-9-2 DennisHayes <dennish@raytek.com>
1827 * Brushes.cs : stubbed, added colors. Not sure how to implement,
1828 but this should at least save someone some typing.
1829 * CharacterRange.cs :Implmented
1830 * Region.cs : stub needed for system.windows.forms
1832 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1834 * ColorTranslator.cs: use Color.Name.
1836 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1838 * Color.cs: implemented SystemColors and NamedColors properties that
1839 are used by ColorConverter, removed public constructor, use
1840 SystemColors, and misc. fixes to make it behave as MS (ToString,
1841 parsing names, FromKnownColor,...).
1843 * ColorConverter.cs: use NamedColors and SystemColors from Color when
1844 trying to get the color from its name.
1846 * SystemColors.cs: new file.
1848 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1850 * Color.cs: changed static properties to use FromArgbNamed. Also
1851 modified the program included in comments that get the values for
1854 (FromArgbNamed): build named colors.
1855 (FromKnownColor): fixed.
1856 (FromName): use a hash to look up colors by name.
1857 (FillColorNames): create the hash of colors.
1858 (Equals): compare values and name.
1859 (ToString): improved.
1861 * ColorTranslator.cs: implemented ToHtml.
1863 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1865 * Color.cs: added TypeConverter attribute.
1867 * ColorConverter.cs: added constructor.
1869 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1871 * ColorConverter.cs: implemented minimal set of features needed by xsp.
1873 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
1875 * Bitmap.cs : using System.IO
1876 * ColorTranslator.cs : Stubbed off build breakers.
1877 * Image.cs : Stub off IDisposable and ICloneable.
1879 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
1881 * Bitmap.cs: Ximian is the new copyright holder now.
1884 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
1886 * Uppercased several files.
1888 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
1890 * color.cs: Fixed a typo in GetSaturation ().
1892 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
1894 * Bitmap.cs: Added method headers.
1896 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
1898 * Bitmap.cs: Added, no implementation's done, yet.
1900 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
1902 * Rectangle.cs : Add a doc comment.
1903 * RectangleF.cs : New struct implementation.
1905 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
1907 * Rectangle.cs : New struct implementation.
1909 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
1911 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
1913 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
1915 * Point.cs : New. Implementation of System.Drawing.Point struct.