1 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3 * Brush.jvm.cs: fixed transform methods, createContext
4 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
6 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
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
13 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
15 * Graphics.cs: Fixes exception type at FromImage method
17 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
19 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
21 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
23 * Graphics.jvm.cs: fixed DrawImage
25 2005-09-19 Miguel de Icaza <miguel@novell.com>
27 * Graphics.cs: Removed restriction on the images that can be
28 loaded. Indexed images *can* be loaded
30 2005-09-18 Miguel de Icaza <miguel@novell.com>
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.
36 The real bug to fix is #76062.
38 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
40 * Image.cs: Implemented FromHbitmap.
42 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
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
54 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
56 * Graphics.jvm.cs: text transform, headless session
58 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
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
66 2005-09-14 Geoff Norton <gnorton@customerdna.com>
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
72 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
74 * Graphics.jvm.cs: transform, container, thin pen
76 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
78 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
79 * Pen.jvm.cs: fixing transform, pen fitting
81 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
83 * Region.jvm.cs: IsVisible is about intersection
85 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
87 * ImageConverter.cs: Use default TypeDescriptor implementation of
90 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
92 * Graphics.jvm.cs: fixing clipping with rotate transform
94 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
96 * Region.jvm.cs: default region is infinite
98 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
100 * Graphics.jvm.cs: fixing clipping stuff
102 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
104 * Bitmap.jvm.cs: fixed bitamp accessors
105 * Image.jvm.cs: fixed image accessors
107 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
108 * AdvancedStroke.jvm.cs: fix matrix translate
109 * Graphics.jvm.cs: fix matrix concatenation order
111 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
113 * Brush.jvm.cs: added transform methods
115 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
117 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
118 implementing fitting, output transform
119 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
121 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
123 * ColorTranslator.cs: perform case insensitive check
125 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
127 * gdipFunctions.cs: define new functions
128 * Bitmap.cs: fixes image loading and exceptions
129 * Image.cs: fixes image loading and exceptions
131 Thanks Kornél Pál for its help
133 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
135 * Brush.jvm.cs: added brush transform field
137 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
139 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
141 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
143 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
144 Graphics.jvm.cs: adjust stroke before widening
146 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
148 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
151 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
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.
158 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
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.
164 2005-08-25 Marek Safar <marek.safar@seznam.cz>
166 * gdipFunctions.cs: GetIconInfo new user32 method.
167 GdipGetDC uses IntPtr.
169 * gdipStructs.cs: Defined IconInfo struct.
171 * Graphics.cs: FromImage throws exception when image has an indexed format.
174 * Icon.cs: Implemented FromHandle, Dispose.
176 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
178 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
180 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
182 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
183 Fixed SmoothingMode property
185 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
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
191 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
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
198 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
200 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
201 from gdiplus have been released
203 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
205 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
206 * Color.cs: Fixed java NativeObject property
207 * Image.jvm.cs: Fixed Save method
209 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
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
215 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
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.
222 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
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
236 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
238 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
240 * Graphics.jvm.cs: Fixed InterpolationMode property
242 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
244 * Graphics.jvm.cs: Fixed DrawImage
246 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
248 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
249 appears to be what MS.NET uses.
251 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
253 * Point.cs: Use invariant culture for converting numbers to string.
257 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
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
264 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
266 * Graphics.jvm.cs: Initial properties implementation
268 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
270 * Graphics.jvm.cs: DrawImage refactoring
272 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
274 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
275 Added UpdateInternalTransform
276 Fixed DrawImage, Transform, ConcatenateTransform
278 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
280 * Icon.jvm.cs: Internal constructor from bitmap
281 * Added SystemIcons.jvm.cs with implementation of SystemIcons
283 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
285 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
286 (all methods that use Graphics object)
288 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
290 * Graphics.jvm.cs: Refactoring
292 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
294 * Graphics.jvm.cs: Fixed Clear, Refactoring
296 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
298 * Graphics.jvm.cs: Fixed FillClosedCurve
300 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
302 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
303 rectangles touch each other.
305 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
307 * Graphics.jvm.cs: Fixed DrawCurve.
309 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
311 * StrokeFactory.jvm.cs: use correct stroke
313 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
315 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
318 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
320 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
322 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
324 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
327 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
329 * Graphics.jvm.cs: Refactoring
331 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
333 * Graphics.jvm.cs: Fixed DrawPolygon
335 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
337 * Graphics.jvm.cs: Refactoring
338 * Pen.jvm.cs: setting awt.Stroke as a base
340 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
342 * Graphics.jvm.cs: Refactoring
344 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
346 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
348 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
350 * Rectangle.cs: Intersect fixed
351 * RectandleF.cs: Intersect and Inflate fixed
353 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
355 * Point.cs: Produce same ToString result as dotnet
357 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
359 * Color.cs: GetHashCode is affected by Name, too
361 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
363 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
365 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
367 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
369 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
371 * SolidBrush.jvm.cs: fix a typo
373 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
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
379 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
381 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
383 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
385 * BasicShape.jvm.cs: Added TARGET_JVM specific class
387 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
389 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
391 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
393 * ColorTranslator.cs: (GH merge) recognise HTML system colors
395 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
397 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
399 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
401 * Color.cs: TARGET_JVM - NativeObject property
403 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
405 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
407 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
409 * RectangleF.cs: Fixes IsEmpty logic
411 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
413 * Graphics.cs: implements FromHwndInternal
416 2005-06-13 Peter Bartok <pbartok@novell.com>
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.
422 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
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
429 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
431 * Font.cs: fix platform checks.
433 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
436 - Fixes is empty method IsEmpty logic
437 - Fixes Contains method logic
438 - Fixes IntersectsWith logic
441 - Fixes is empty method IsEmpty logic
442 - Fixes Contains method logic
443 - Fixes IntersectsWith logic
445 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
447 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
448 destructors. Some methods renamed. Removed unnecessary variables.
450 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
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.
467 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
469 * Graphics.cs: Revised DrawString methods
471 2005-03-22 Peter Bartok <pbartok@novell.com>
473 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
476 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
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
483 2005-05-18 Marek Safar <marek.safar@seznam.cz>
485 * Bitmap.cs: Add null check into ctor.
487 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
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
493 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
495 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
497 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
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
504 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
506 * Color.cs: Fix GetSaturation() again and remove
509 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
511 * Color.cs: New, correct implementations for GetHue(),
512 GetBrightness() and GetSaturation().
514 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
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.
520 2005-05-05 Miguel de Icaza <miguel@novell.com>
522 * Bitmap.cs, Icon.cs (constructor): Use
523 GetManifestResourceStream(Type,string) in the constructor that
526 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
528 * PointF.cs: Make serialization compatible with MS.
530 2005-04-10 Geoff Norton <gnorton@customerdna.com>
534 Use CGContextSynchronize instead of CGContextFlush. This saves
535 on average 20000 ticks per drawing operation.
537 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
539 * Color.cs: take into account the name color in == and != operators
540 * Font.cs: Use Equals instead of == to compare the family name
542 - Removes generic fontfamilies cache (done at libgdiplus level)
543 - Fixes Equals method
545 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
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
551 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
553 * Icon.cs: Finished Icon(Type, String) ctor
555 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
557 * gdipFunctions.cs: fixes GdipGetImagePalette signature
558 * Image.cs: Implements Palette property using gdiplus
560 2005-03-17 Peter Bartok <pbartok@novell.com>
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
572 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
574 * Pen.cs: Fixes dispose method to allow to be called multiple times
575 * Graphics.cs: matrix are saved and restored at gdiplus level
577 2005-02-24 Geoff Norton <gnorton@customerdna.com>
579 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
580 so they dont get garbage collected before use.
582 2005-02-11 Peter Bartok <pbartok@novell.com>
584 * gdipFunctions.cs: Fixed prototype to match previous checkin
586 2005-02-11 Peter Bartok <pbartok@novell.com>
588 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
589 it really is a pointer)
591 2005-02-10 Geoff Norton <gnorton@customerdna.com>
593 * Icon.cs: Implement GetObjectData ()
594 * Image.cs: Implement GetObjectData ()
596 2005-02-09 Geoff Norton <gnorton@customerdna.com>
598 * Icon.cs: Implement deserializer
599 * Bitmap.cs: Implement deserializer
601 2005-02-06 Ben Maurer <bmaurer@ximian.com>
603 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
605 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
607 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
609 2005-02-02 Jackson Harper <jackson@ximian.com>
611 * Region.cs: The default region constructor creates and infinite
612 region, not an empty one.
614 2005-01-27 Peter Bartok <pbartok@novell.com>
616 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
617 of HSV numbers. Previous implementation returned wrong numbers and NaN
620 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
622 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
623 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
624 : Implemented support for InstanceDescriptor.
626 2005-01-26 Peter Bartok <pbartok@novell.com>
628 * Icon.cs (ToBitmap): Now sets transparency in according to
631 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
633 * gdipFunctions.cs: Fixes GdipGet* function signatures
634 * FontFamily.cs: Fixes GdipGet* function calls
635 * Font.cs: Fixes ToString method
637 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
639 * Graphics.cs: calls XCloseDisplay on X11 when need it
640 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
642 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
644 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
646 2004-12-16 Peter Bartok <pbartok@novell.com>
648 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
649 equivalent to the gdi+ native object
651 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
652 equivalent to the gdi+ native object
654 2004-12-09 Geoff Norton <gnorton@customerdna.com>
656 * carbonFunctions.cs: New carbon functions/structures
657 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
659 2004-12-08 Geoff Norton <gnorton@customerdna.com>
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.
664 2004-12-07 Geoff Norton <gnorton@customerdna.com>
666 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
667 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
669 2004-12-06 Miguel de Icaza <miguel@ximian.com>
671 * FontFamily.cs: This one is static.
673 2004-11-25 Ravindra <rkumar@novell.com>
675 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
676 type from int to Status type.
678 2004-11-25 Marek Safar <marek.safar@seznam.cz>
680 * Image.cs: Add CheckStatus to SaveAdd.
682 2004-11-22 Ravindra <rkumar@novell.com>
684 * Graphics.cs: Fixed null values handling in all overloads of
685 MeasureString method.
687 2004-11-18 Ravindra <rkumar@novell.com>
689 * gdipFunctions.cs: Removed the .so extension from a DllImport
692 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
694 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
697 2004-11-03 Miguel de Icaza <miguel@ximian.com>
699 * TextureBrush.cs (Clone): While cloning, it is not enough to let
700 GDIPlus clone the underlying data, we must alos clone the managed
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.
707 (Clone): While cloning, it is not enough to let
708 GDIPlus clone the underlying data, we must alos clone the managed
711 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
712 errors in the future.
714 Set the lock in the object before checkign disposed.
716 * SolidBrush.cs (Clone): While cloning, it is not enough to let
717 GDIPlus clone the underlying data, we must alos clone the managed
720 (Dispose): Set the nativeObject to IntPtr.Zero to catch
721 errors in the future.
723 2004-10-28 Ravindra <rkumar@novell.com>
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.
730 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
732 * Font.cs: fixes bug 66533
734 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
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
741 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
743 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
745 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
747 * Bitmap.cs: Fixes MakeTransparent method
749 2004-10-13 Ravindra <rkumar@novell.com>
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.
757 2004-10-08 Ravindra <rkumar@novell.com>
759 * Image.cs: Suppress finalization in Dispose () method.
761 2004-10-04 Ravindra <rkumar@novell.com>
763 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
765 2004-09-29 Jackson Harper <jackson@ximian.com>
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
772 2004-09-17 Marek Safar <marek.safar@seznam.cz>
774 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
775 ToLogFont: Implemented.
777 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
779 GdipCreateFontFromLogfontA: A new extern call.
781 2004-09-13 Ravindra <rkumar@novell.com>
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.
787 2004-09-10 Ravindra <rkumar@novell.com>
789 * Graphics.cs: Implemented DrawIcon methods and fixed
790 DrawImageUnscaled method implementation.
792 2004-08-21 Jackson Harper <jackson@ximian.com>
794 * ImageAnimator.cs: Run animator as a background thread so we do
797 2004-08-21 Ravindra <rkumar@novell.com>
799 * gdipFunctions.cs: Modified exception message to include the case
800 of missing required libraries for different formats.
802 2004-08-10 Jackson Harper <jackson@ximian.com>
804 * SystemColors.cs: Make Highlight colour match colour from windows
805 classic color scheme.
807 2004-07-30 Ravindra <rkumar@novell.com>
809 * Font.cs: Fixed Height property implementation and implemented
810 GetHeight method and its overloads.
812 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
814 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
815 P/Invoke function for Image.
816 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
818 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
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.
825 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
827 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
828 P/Invoke function for Image.
829 * Image.cs: Changed implementation of PropertyIdList property.
831 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
833 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
834 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
836 2004-07-21 Ravindra <rkumar@novell.com>
838 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
839 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
841 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
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
847 2004-07-16 Ravindra <rkumar@novell.com>
849 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
851 2004-07-15 Ravindra <rkumar@novell.com>
853 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
855 2004-07-13 Ravindra <rkumar@novell.com>
857 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
858 This was redundant. It was kept in previous checkin to avoid
861 2004-07-13 Ravindra <rkumar@novell.com>
863 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
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
869 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
871 * gdipFunctions.cs: fixes bug 61050
873 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
875 * ImageAnimator.cs: Rewrote complete implementation.
877 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
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.
884 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
886 * Graphics.cs: added MeasureString wrappers
888 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
890 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
892 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
894 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
896 2004-06-18 Ravindra <rkumar@novell.com>
898 * FontConverter.cs: Implemented the missing functions.
899 * Font.cs: Added some notes.
901 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
903 * gdipFunctions.cs: Modified Function signature for
904 GdipSaveImageToDelegate_linux() method for saving tiff images
906 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
909 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
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()
917 2004-06-11 Ravindra <rkumar@novell.com>
919 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
920 from out int to out IntPtr.
921 * SolidBrush.cs: Same.
923 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
925 * Image.cs: API signature fixes, meaning DisposeResources is now
926 private and marked InitFromStream internal
928 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
930 * FontFamily.cs: simplifies object destruction and fixes
932 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
934 * FontFamily.cs: added destructor
935 * Graphics.cs: added destructor to stop leaking, remove debugging code
938 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
940 * gdipFunctions.cs: added GdipSaveAddImage
941 * Image.cs: added SaveAdd methods
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)
947 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
949 * Font.cs: Added missing Browsable attribute on SizeInPoints.
950 * Region.cs: Removed extra ComVisible attribute from Clone().
952 2004-06-01 Ravindra <rkumar@novell.com>
954 * Pen.cs: Added a note on Dispose method.
955 * Brush.cs: Fixed Dispose method.
956 * SolidBrush.cs: Fixed Dispose method.
958 2004-05-28 Ravindra <rkumar@novell.com>
960 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
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.)
966 2004-05-27 Ravindra <rkumar@novell.com>
968 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
970 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
972 * ImageFormatConverter.cs: Fixed issues discovered from nunit
975 2004-05-26 Ravindra <rkumar@novell.com>
977 * Color.cs: Corrected Color.Green property.
979 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
980 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
982 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
984 * Icon.cs: Fixed issue with size property.
986 2004-05-18 Ravindra <rkumar@novell.com>
988 * Pen.cs: Added value checks in DashPattern and CompoundArray
991 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
993 * Graphics.cs: fixed warning
994 * ImageAnimator.cs: fixed warning
995 * FontConverter.cs: fixed public API
997 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
999 * gdipFunctions.cs: Fixed prototype for
1000 GdipGetEncoderParameterList
1002 * Image.cs: Reworked Save functions to handle EncoderParameters.
1003 Implemented GetEncoderParameterList
1004 Also removed unused setGDIPalette internal method.
1006 2004-05-14 Peter Bartok <pbartok@novell.com>
1007 * StringFormat.cs: Added CharacterRange handling
1008 * Graphics.cs: Implemented MeasureCharacterRanges method
1010 2004-05-14 Peter Bartok <pbartok@novell.com>
1011 * Graphics.cs: Added error check
1013 2004-05-14 Duncan Mak <duncan@ximian.com>
1014 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1015 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1016 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1018 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1019 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1021 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1022 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1024 2004-05-13 Peter Bartok <pbartok@novell.com>
1025 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1028 2004-05-12 Peter Bartok <pbartok@novell.com>
1029 * Image.cs: Implemented GetThumbnailImage
1031 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1032 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1033 FromXDrawable(IntPtr, IntPtr) internal.
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
1056 2004-05-12 Ravindra <rkumar@novell.com>
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
1065 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1067 * ImageAnimator.cs: Implemented first version.
1069 2004-05-11 Ravindra <rkumar@novell.com>
1071 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1074 2004-05-10 Ravindra <rkumar@novell.com>
1076 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1077 for the same. Added few related P/Invokes for Pen also.
1079 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1081 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1083 2004-05-06 Ravindra <rkumar@novell.com>
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.
1090 2004-05-06 Ravindra <rkumar@novell.com>
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.
1098 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1099 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
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+
1105 2004-05-04 Ravindra <rkumar@novell.com>
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
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.
1116 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1118 * Image.cs: Implemented FrameDimensionsList property.
1120 2004-04-30 Ravindra <rkumar@novell.com>
1122 * gdipFunctions.cs: Added few more P/Invoke calls for
1123 lineargradient brush and added one case statement in
1126 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1128 * Image.cs: takes into account MemoryBmp format when saving
1130 2004-04-30 Ravindra <rkumar@novell.com>
1132 * StringFormat.cs: Added checks for status.
1134 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1136 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1137 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1139 2004-04-30 Ravindra <rkumar@novell.com>
1141 * Graphics.cs: Added checks for status.
1142 * Image.cs: Added a check for status.
1143 * FontFamily.cs: Added checks for status.
1145 2004-04-29 Peter Bartok <pbartok@novell.com>
1147 * Brushes.cs: Fixed bug #52695. No longer creates a new
1148 brush for every request and behaves Microsoft compatible
1150 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1152 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1153 its ClsID instead of the formatID (as GDI+ expects)
1155 2004-04-29 Ravindra <rkumar@novell.com>
1157 * Font.cs: Added checks for status.
1158 * Bitmap.cs: Added checks for status.
1159 * Pen.cs: Added checks for status.
1161 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1163 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1164 Converted to unix format from dos format.
1166 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1168 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1170 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1172 * gdipStructs.cs: added GdipImageCodecInfo struct
1174 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1176 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1178 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1180 * ImageConverter.cs: Added exception message.
1181 * IconConverter.cs: Added exception message.
1182 * ImageFormatConverter.cs: Implemented first version.
1184 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1186 * ImageConverter.cs: Implemented first version.
1188 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1190 * IconConverter.cs: Implemented first version.
1192 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1194 * Image.cs: Corrected implementation of Property RawFormat.
1195 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1197 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
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.
1205 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
1207 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1209 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
1211 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1212 serialization for Bitmaps. (Bugzilla #52568)
1214 2004-04-23 Ravindra <rkumar@novell.com>
1216 * RectangleConverter.cs: Fixed ConvertTo () method.
1217 * SizeConverter.cs: Fixed ConvertTo () method.
1218 * PointConverter.cs: Fixed ConvertTo () method.
1220 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1221 * ImageAnimator.cs: Implemented CanAnimate() method.
1223 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1224 * Image.cs: added RotateFlip and RemovePropertyItem calls
1226 2004-04-22 Ravindra <rkumar@novell.com>
1228 * RectangleConverter.cs: Implemented. Also changed file format
1230 * Rectangle.cs: Fixed ToString method.
1231 * RectangleF.cs: Fixed ToString method.
1233 2004-04-22 Ravindra <rkumar@novell.com>
1235 * SizeConverter.cs: Implemented some of the functions.
1236 * PointConveter.cs: Implemented.
1237 * gdipFunctions.cs: Corrected one typo.
1238 * Brushes.cs: Added a comment.
1240 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
1242 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1243 returning portions of the peek buffer back. Fixes #57379.
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
1251 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1252 * RectangleConverter.cs: stubbed out
1253 * Font.cs : added missing members
1255 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
1256 * Icon.cs: Fixed problem in extracting bitmap from Icon.
1258 2004-04-16 Ravindra <rkumar@novell.com>
1260 * Pen.cs: GC should be allowed to collect any pen including
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
1269 * SystemBrushes.cs: Some cosmetic changes.
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
1275 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
1276 * Icon.cs: Implemented more missing bits
1278 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
1279 * Icon.cs: Implemented few more missing bits
1281 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
1282 * Icon.cs: Implemented first version
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
1291 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1293 * Image.cs: Save should use encoder.FormatID, not Clsid
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
1299 2004-04-06 Duncan Mak <duncan@ximian.com>
1301 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1303 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1304 * Region.cs: fixes GetRegionScans
1305 * gdipFunctions.cs: fixes GetRegionScans
1307 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
1309 * gdipFunctions.cs: Added stream delegate helpers for
1310 stream loading/saving on linux
1312 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1313 loading/saving image data.
1315 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1316 * Region.cs: implemented new methods
1317 * Graphics.cs: implemented new methods
1319 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
1320 * Region.cs: implemented
1322 2004-04-01 Duncan Mak <duncan@ximian.com>
1324 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1326 * gdipFunctions.cs (GdipAddPathCurveI):
1327 (GdipAddPathCurve2, GdipAddPathCurve2I):
1328 (GdipAddPathCurve3, GdipAddPathCurve3I):
1329 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1330 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1333 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1334 * Image.cs: implemented a few GDI+ wrapper calls
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
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
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
1351 2004-03-23 Ravindra <rkumar@novell.com>
1352 * gdipFunctions.cs: Added few more P/Invoke calls for
1353 LinearGradientBrush.
1355 2004-03-22 Ravindra <rkumar@novell.com>
1356 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1357 and did few coding style fixes.
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.
1365 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1367 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1369 2004-03-10 Ravindra <rkumar@novell.com>
1370 * Pen.cs: Implemented PenType property.
1371 * Brush.cs: Coding style.
1373 2004-03-06 Ravindra <rkumar@novell.com>
1374 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1375 for PathGradientBrush.
1377 2004-03-06 Ravindra <rkumar@novell.com>
1378 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1381 2004-03-04 Duncan Mak <duncan@ximian.com>
1383 * Region.cs: Indentation.
1385 * RectangleF.cs: Changed the internal structure from a PointF,
1386 SizeF to floats in order to match the layout from the C API.
1388 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
1389 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1391 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1392 * gdipFunctions.cs: Added functions for ImageAttributes
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
1402 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1403 * Font.cs: Allow multiple styles
1405 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1406 * StringFormat.cs: Clone method
1408 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1409 * font.cs: fixes, Clone, and ToString
1411 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
1412 * gdipFunctions.cs: MeasureString
1413 * Graphics.cs : MeasureString
1415 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1416 * Font.cs: destructor and unit conversion
1417 * Graphics.cs : system dpi support
1419 2004-02-13 Ravindra <rkumar@novell.com>
1420 * Pen.cs: Fixed some bugs.
1421 * TextureBrush.cs: Fixed some bugs.
1423 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
1424 * gdipFunctions.cs: Added ImageCodecInfo functions
1425 * Image.cs: Added few methods
1427 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
1428 * FontFamily.cs: remove hardcoded font names, a few bug fixes
1430 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
1431 * gdipFunctions.cs: Added Image class functions
1432 * Image.cs: Added few methods
1434 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1435 * graphics.cs: fixes parameters for DrawStrings functions
1437 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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
1451 2004-02-06 Ravindra <rkumar@novell.com>
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.
1460 2004-02-05 Ravindra <rkumar@novell.com>
1462 * Brush.cs: Added a missing namespace.
1464 2004-02-05 Ravindra <rkumar@novell.com>
1466 * gdipFunctions.cs: Added methods for HatchBrush and
1468 * SolidBrush.cs: Added checks for status.
1469 * Brush.cs: Added support for HatchBrush and TextureBrush
1470 types in internal CreateBrush() method.
1472 2004-02-03 Jordi Mas <jordi@ximian.com>
1473 * Font.cs: Setup font properties
1475 2004-02-03 Ravindra <rkumar@novell.com>
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.
1481 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
1483 * gdipFunctions.cs: Added methods for Image class.
1485 2004-01-30 Ravindra <rkumar@novell.com>
1487 * TextureBrush.cs: Added more methods to complete it.
1488 * gdipFunctions.cs: Added methods for TextureBrush class.
1490 2004-01-30 Ravindra <rkumar@novell.com>
1492 * gdipFunctions.cs: Added methods for TextureBrush class.
1494 2004-01-30 Ravindra <rkumar@novell.com>
1496 * Pen.cs: Modified to handle TextureBrush also.
1497 * Bitmap.cs: Added one internal constructor.
1498 * TextureBrush.cs: Implemented.
1500 2004-01-29 Duncan Mak <duncan@ximian.com>
1503 * Graphics.cs: Indentation fixes, removed long dangling lines and
1506 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1509 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1511 * FontFamily.cs: Implemented few methods and a constructor
1513 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1515 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1516 * FontFamily.cs: Implemented missing functionalities.
1518 2004-01-24 Duncan Mak <duncan@ximian.com>
1520 * Graphics.cs (DrawPath): Implemented.
1522 2004-01-23 Ravindra <rkumar@novell.com>
1524 * Point.cs: ToString modified.
1525 * PointF.cs: ToString modified.
1526 * Size.cs: ToString modified.
1527 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1530 2004-01-21 Jordi Mas i Hernàndez
1531 * Bitmap.cs: Several new methods added.
1533 2004-01-21 Duncan Mak <duncan@ximian.com>
1535 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1536 OutAttribute to the array argument. This fixes the PathPoints
1537 property in System.Drawing.Drawing2D.GraphicsPath.
1539 2004-01-20 Ravindra <rkumar@novell.com>
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
1552 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1553 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1555 2004-01-19 Duncan Mak <duncan@ximian.com>
1557 * gdipFunctions.cs: Import functions for GraphicsPath.
1559 2004-01-14 Ravindra <rkumar@novell.com>
1561 * SolidBrush.cs: Made SolidBrush to initialize its color
1564 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1566 2004-01-11 Duncan Mak <duncan@ximian.com>
1568 * Bitmap.cs (LockBits):
1569 * Graphics.cs (DrawString): Removed reference to GpRectF.
1571 2004-01-09 Duncan Mak <duncan@ximian.com>
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.
1577 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1579 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1581 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1583 * Graphics.cs: fix compile error on Windows builds for out
1584 parameter state in call to GdipSaveGraphics
1586 2004-01-10 Ravindra <rkumar@novell.com>
1588 * All Enums: Made serializable.
1590 * Image.cs: Corrected signature of Dispose(bool) method.
1592 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1593 Corrected coding style mistakes of my previous commit.
1595 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1597 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1599 * StringFormat.cs: Inherits MarshalByRefObject.
1601 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1603 2004-01-08 Ravindra <rkumar@novell.com>
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.
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.
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.
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.
1621 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1623 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1626 2004-01-06 Duncan Mak <duncan@ximian.com>
1628 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1630 2003-12-21 Duncan Mak <duncan@ximian.com>
1632 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1633 up to the GDI+ implementation.
1634 (RotateTransform): Uncommented.
1636 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1639 2003-12-13 Todd Berman <tberman@sevenl.net>
1641 * Font.cs: Implementing a couple things for porting purposes
1642 * SystemBrushes.cs: ^
1643 * StringFormat.cs: ^^
1645 2003-11-28 Duncan Mak <duncan@ximian.com>
1647 * Pen.cs (CompoundArray): Hide this for now.
1649 2003-11-28 Duncan Mak <duncan@ximian.com>
1651 * Brush.cs (CreateBrush): new internal factory method for creating
1652 specific brushes based on the internal (GDI+ C API) BrushType
1654 (Brush (IntPtr)): new internal constructor.
1656 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
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
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.
1669 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1671 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1673 * gdipFunctions.cs: Imported new Brush and Pen functions.
1675 2003-11-22 Duncan Mak <duncan@ximian.com>
1678 (GdipResetWorldTransform, GdipSetWorldTransform):
1679 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
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.
1691 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1693 * SizeConverter.cs: fixed class signature and implemented some methods.
1695 2003-11-17 Duncan Mak <duncan@ximian.com>
1697 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1699 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1701 2003-11-17 Duncan Mak <duncan@ximian.com>
1703 * Bitmap.cs (LockBits):
1704 * Graphics.cs (DrawString): Use GpRectF.
1706 * gdipFunctions.cs: Updated method signatures.
1708 * Graphics.cs (MultiplyTransform): Implemented using
1709 GdipMultiplyWorldTransform from GDI+.
1711 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1712 GpRect, to be more consistent with the C naming.
1714 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1716 * Graphics.cs: Implement the other DrawString overloads .
1718 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1720 * gdipStructs.cs (GdipRectF): Added utility constructor
1722 2003-11-15 Duncan Mak <duncan@ximian.com>
1724 * gdipFunctions.cs: Imported matrix functions.
1726 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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
1736 * ImageConverter.cs:
1737 * ImageFormatConverter.cs:
1744 * TextureBrush.cs: Fixed signature
1745 * Color.cs: Added attributes
1750 * SizeF.cs: Added attributes
1751 * ContentAlignment.cs: Added attribute
1753 2003-11-13 Duncan Mak <duncan@ximian.com>
1755 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1758 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1759 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1760 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1762 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1764 * gdipFunctions.cs copy image in Bitmap constructor
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.
1772 2003-11-05 Duncan Mak <duncan@ximian.com>
1774 * Graphics.cs (DrawPie):
1775 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1778 2003-10-28 Duncan Mak <duncan@ximian.com>
1780 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1781 (FillEllipse, FillPolygon): implemented.
1782 (RenderingOrigin): implemented.
1784 * gdipFunctions.cs: Added new GDI+ equivalents.
1786 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1788 * Image.cs small fixes
1790 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1792 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1794 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1796 * SystemBrushes.cs: Some more brushe3s.
1798 * SystemPens.cs: More pens.
1800 * Pen.cs: Implement IDisposable, ICloneable.
1802 * Region.cs: Add some more stubs here.
1804 * StringFormat.cs: Add some more code here.
1806 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1808 * Image.cs: Kill the InternalImageInfo, everything is now done in
1809 terms of Image and BitmapData.
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.
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.
1819 * gdipStructs.cs: Every internal structure that has to talk to
1820 Gdi+ is properly prefixed, to minimize the confussion.
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
1827 * Image.cs: Implement Dispose pattern.
1829 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
1832 * gdipStructs.cs DrawString function added
1834 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1837 * gdipStructs.cs added
1840 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1849 implementation changed to gdi+
1851 2003-09-08 Duncan Mak <duncan@ximian.com>
1853 * Factories.cs (DefaultImplementationNamespace): Change it from
1854 "XrImpl" to "Cairo".
1856 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1861 2003-08-08 Duncan Mak <duncan@ximian.com>
1863 * Graphics.cs (DrawBezier): Fixed.
1865 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
1866 * Graphics.cs delegate Dispose to implementation
1868 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1870 * FontConverter.cs: stub it out so that system.web compiles.
1872 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1873 * Image.cs InternalImageInfo class improved
1875 2003-07-23 Miguel de Icaza <miguel@ximian.com>
1877 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1878 is set, default to Win32Impl
1880 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1881 * Image.cs implementation added
1883 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1885 * Icon.cs: Stubed out (fix for System.Drawing.Design)
1887 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1889 * StringFormat.cs: Changes to become CLS-compliant
1891 2003-07-14 Miguel de Icaza <miguel@ximian.com>
1893 * Factories.cs: Remove debugging message.
1895 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1896 * Color.cs code generation program modified
1898 2003-06-29 Alexandre Pigolkine
1899 * Graphics.cs image drawing
1901 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1904 supply KnowColor enum value to save Enum.Parse at runtime
1906 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1907 * Graphics.cs coordinate transformations
1908 * Image.cs small fix
1910 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1912 * FontFamily.cs more implementation
1914 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1916 * FontFamily.cs more implementation
1918 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1919 * Graphics.cs few more calls to implementation
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
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
1931 2003-04-30 Nick Drochak <ndrochak@gol.com>
1933 * Factories.cs: Change weird characters that broke build on windows.
1935 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1937 * ColorConverter.cs:
1938 (ConvertFrom): return a system or named color if there's one that fits
1939 teh values parsed with Color.FromArgb.
1941 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1951 delegate function calls to implementation
1953 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1957 * SystemBrushes.cs switch to Linux style line terminators
1959 2003-03-29 Alan Tam <Tam@SiuLung.com>
1960 * ToolboxBitmapAttribute
1961 stubbed more constructors and fixed base class
1963 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1965 added stubs to compile SWF
1968 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
1973 small changes to be able to run SWF apps
1975 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1977 * Graphics.cs: stubbed out all the methods.
1979 2003-02-08 Piers Haken <piersh@friskit.com>
1981 * fixed case of pens.cs and font.cs
1983 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1990 2002-11-21 Dennis Hayes (dennish@raytek.com)
1991 * checkin for Matt Stump (mstump@swfo.arizona.edu)
1995 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
1997 * ColorTranslator.cs (FromHtml): Implement.
1999 2002-10-14 Dennis Hayes (dennish@raytek.com)
2001 * changed using namespace from Drawing2d to Drawing2D
2003 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2005 * Fixes the enum values in the following enums
2006 * ContentAlignment.cs:
2010 * RotateFlipType.cs:
2011 * StringAligment.cs:
2012 * StringDigitSubstitute.cs:
2013 * StringFormatFlags.cs:
2014 * StringTrimming.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.
2021 2002-9-14 Dennis Hayes (dennish@raytek.com)
2024 * removed personal template that should not have been checked in
2026 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2028 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2031 2002-9-14 DennisHayes <dennish@raytek.com>
2039 * ImageFormatConverter.cs
2041 * RectangleConverter.cs
2050 * ToolboxBitmapAttribute.cs
2051 * Added null classes for most/all classes, Many stubs, and some implmentation
2053 2002-9-2 DennisHayes <dennish@raytek.com>
2060 * Added stubs, implmentation
2062 2002-9-2 DennisHayes <dennish@raytek.com>
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
2069 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2071 * ColorTranslator.cs: use Color.Name.
2073 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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,...).
2080 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2081 trying to get the color from its name.
2083 * SystemColors.cs: new file.
2085 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2087 * Color.cs: changed static properties to use FromArgbNamed. Also
2088 modified the program included in comments that get the values for
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.
2098 * ColorTranslator.cs: implemented ToHtml.
2100 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2102 * Color.cs: added TypeConverter attribute.
2104 * ColorConverter.cs: added constructor.
2106 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2108 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2110 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2112 * Bitmap.cs : using System.IO
2113 * ColorTranslator.cs : Stubbed off build breakers.
2114 * Image.cs : Stub off IDisposable and ICloneable.
2116 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2118 * Bitmap.cs: Ximian is the new copyright holder now.
2121 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2123 * Uppercased several files.
2125 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2127 * color.cs: Fixed a typo in GetSaturation ().
2129 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2131 * Bitmap.cs: Added method headers.
2133 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2135 * Bitmap.cs: Added, no implementation's done, yet.
2137 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2139 * Rectangle.cs : Add a doc comment.
2140 * RectangleF.cs : New struct implementation.
2142 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2144 * Rectangle.cs : New struct implementation.
2146 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2148 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2150 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2152 * Point.cs : New. Implementation of System.Drawing.Point struct.