1 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
3 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
6 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
8 * FontFamily.jvm.cs: correctly initialize fontcollection
10 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
12 * FontFamily.jvm.cs: DrawMargin, refactoring.
14 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
16 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
17 Differentiate standard and AntiAlias stroking
19 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
21 * Graphics.jvm.cs: added UnitConversion property
22 * FontFamily.jvm.cs: refactoring
23 * Font.jvm.cs: refactoring
25 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
28 - Implemented serialization constructor
29 - Implemented GetObjectData()
31 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
33 * StringFormat.jvm.cs: Refactoring
35 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
37 * Image.cs: Default format for MemoryBMP should be Png
39 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
41 * Bitmap.jvm.cs: fixed InternalSave
42 * Image.jvm.cs: fixed Save
44 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
46 * Image.jvm.cs: fixed redolution properties
48 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
50 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
51 fixed clone, Initialize
53 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
55 * Brush.cs: Don't delete the brush if the display handle is no longer
56 valid, otherwise cairo will try to use the handle and crash and burn
58 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
60 * Graphics.jvm.cs: DrawImage refactoring
62 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
64 * Graphics.jvm.cs: Clipping refactoring
65 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
66 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
67 TranslateClip, VisibleClipBounds
69 2005-10-21 Miguel de Icaza <miguel@novell.com>
71 * Pen.cs: Add support for returning the Brush from Pens created
72 with a color constructor.
74 Plus: code style police, else does not go on its own line.
76 * Graphics.cs: Add various ArgumentNull checks.
78 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
80 * Image.jvm.cs: make Clone abstract
82 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
84 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
86 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
88 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
89 * PlainImage.jvm.cs: fixed Clone
90 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
92 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
94 * Brush.jvm.cs: added InternalClone() method
95 changed transformation methods access level
96 * TextureBrush.jvm.cs: refactoring, fixed clone()
98 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
100 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
101 matrix singularity added
102 * Font.jvm.cs: implemetated ISerializable
103 * Pen.jvm.cs: fixed DashPattern property,
104 fixed GetNativeObject() dash pattern calculation
106 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
108 * SystemColors.cs: Fixes the Win32 light and lightlight colours
110 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
112 * SystemColors.cs: Fixes the Win32 system colors including the color
113 name and the knownColor properties.
115 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
117 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
118 conversion, it's less overhead than StringBuilder. (Part of the
119 bugfix for #74871 and #75534)
121 * gdipFunctions: Changed signature for GdipGetFamilyName to just
122 have an IntPtr for the buffer
124 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
126 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
129 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
131 * SystemColor.cs: Added code used to generate properties, updated with
134 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
136 * SystemColor.cs: Make internal names predictable to allow scripted
137 generation of color table
139 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
141 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
144 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
147 - Changed properties to return colors from fields. This allows
148 updating the colors via reflection, for example from MWF themes.
149 - Added code to retrieve system colors via Win32 GetSysColors if
150 running on Win32, this makes us compatible with Microsoft instead
151 of returning static colors on Win32. Unix platforms still will
152 use the static colors
153 * Color.cs: Added UpdateKnownColor() method to allow updating of
154 the KnownColors array
156 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
158 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
159 when imageAttr is null.
161 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
163 * Brush.jvm.cs: fixed transform methods, createContext
164 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
166 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
168 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
169 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
170 * PlainImage.jvm.cs: added metadata props, fixed ctor
171 * PlainImageCollection.jvm.cs: fixed class access
173 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
175 * Graphics.cs: Fixes exception type at FromImage method
177 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
179 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
181 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
183 * Graphics.jvm.cs: fixed DrawImage
185 2005-09-19 Miguel de Icaza <miguel@novell.com>
187 * Graphics.cs: Removed restriction on the images that can be
188 loaded. Indexed images *can* be loaded
190 2005-09-18 Miguel de Icaza <miguel@novell.com>
192 * Image.cs: introduce a workaround that catches errors on systems
193 that lack GDI+ as this is being triggered too easily when we
194 enumerate attributes on loaded classes.
196 The real bug to fix is #76062.
198 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
200 * Image.cs: Implemented FromHbitmap.
202 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
204 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
205 the JIT won't add demands for UnmanagedCode.
206 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
207 so the JIT won't add demands for UnmanagedCode on Mac OSX.
208 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
209 (+ overloads) and GetHicon methods.
210 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
211 FromHwndInternal and ReleaseHdcInternal methods (which are all public
212 despite their names).
214 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
216 * Graphics.jvm.cs: text transform, headless session
218 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
220 * Bitmap.jvm.cs: native object refactoring
221 * Image.jvm.cs: native object refactoring
222 * Graphics.jvm.cs: fixed access to image native object
223 * TextureBrush.jvm.cs: fixed access to image native object
224 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
226 2005-09-14 Geoff Norton <gnorton@customerdna.com>
228 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
229 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
230 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
232 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
234 * Graphics.jvm.cs: transform, container, thin pen
236 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
238 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
239 * Pen.jvm.cs: fixing transform, pen fitting
241 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
243 * Region.jvm.cs: IsVisible is about intersection
245 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
247 * ImageConverter.cs: Use default TypeDescriptor implementation of
250 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
252 * Graphics.jvm.cs: fixing clipping with rotate transform
254 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
256 * Region.jvm.cs: default region is infinite
258 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
260 * Graphics.jvm.cs: fixing clipping stuff
262 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
264 * Bitmap.jvm.cs: fixed bitamp accessors
265 * Image.jvm.cs: fixed image accessors
267 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
268 * AdvancedStroke.jvm.cs: fix matrix translate
269 * Graphics.jvm.cs: fix matrix concatenation order
271 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
273 * Brush.jvm.cs: added transform methods
275 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
277 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
278 implementing fitting, output transform
279 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
281 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
283 * ColorTranslator.cs: perform case insensitive check
285 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
287 * gdipFunctions.cs: define new functions
288 * Bitmap.cs: fixes image loading and exceptions
289 * Image.cs: fixes image loading and exceptions
291 Thanks Kornél Pál for its help
293 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
295 * Brush.jvm.cs: added brush transform field
297 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
299 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
301 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
303 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
304 Graphics.jvm.cs: adjust stroke before widening
306 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
308 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
311 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
313 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
314 convert string to int before checking number of components.
315 * RectangleConverter.cs: same.
316 * SizeConverter.cs: same.
318 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
320 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
321 convert individual components. Special case string containing hex
322 prefix. Convert components before checking count.
324 2005-08-25 Marek Safar <marek.safar@seznam.cz>
326 * gdipFunctions.cs: GetIconInfo new user32 method.
327 GdipGetDC uses IntPtr.
329 * gdipStructs.cs: Defined IconInfo struct.
331 * Graphics.cs: FromImage throws exception when image has an indexed format.
334 * Icon.cs: Implemented FromHandle, Dispose.
336 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
338 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
340 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
342 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
343 Fixed SmoothingMode property
345 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
347 * Brushes: Do not create the objects every time that they are requested
348 as in Pens we create and cache them only once when need it. This also
349 fixes the Equals method between two objects requested to Brushes
351 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
353 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
354 * Brush.cs Fixes Dispose to avoid non-disposing some objects
355 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
356 * Region.cs: Dipose always frees if the resource was allocated
358 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
360 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
361 from gdiplus have been released
363 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
365 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
366 * Color.cs: Fixed java NativeObject property
367 * Image.jvm.cs: Fixed Save method
369 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
371 * Icon.jvm.cs: match Bitmap internal constructor change
372 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
373 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
375 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
377 * Color.cs: To match MS.NET, throw ArgumentException instead of
378 ArgumentOutOfRangeException when color is not between 0 and 255.
379 * RectangleConverter.cs: Take culture into account when converting
380 to/from string. Use culture's ListSeparator as separator character.
382 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
384 * Color.cs: Fixed line endings. Set eol-style to native.
385 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
386 * Size.cs: Set eol-style to native.
387 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
388 * SizeConverter.cs: Take culture into account when converting to/from
389 string. Set eol-style to native.
390 * Point.cs: Fixed line endings. Set eol-style to native.
391 * PointF.cs: Use current culture in ToString(), set eol-style to native.
392 * PointConverter.cs: Take culture into account when converting to/from
393 string. Set eol-style to native.
394 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
396 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
398 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
400 * Graphics.jvm.cs: Fixed InterpolationMode property
402 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
404 * Graphics.jvm.cs: Fixed DrawImage
406 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
408 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
409 appears to be what MS.NET uses.
411 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
413 * Point.cs: Use invariant culture for converting numbers to string.
417 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
419 * Color.cs: Fixed ToString for uninitialized color.
420 * ColorConverter.cs: Support conversion from whitespace-only string to
421 Color.Empty. Fixed conversion from Color.Empty and known colors to
424 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
426 * Graphics.jvm.cs: Initial properties implementation
428 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
430 * Graphics.jvm.cs: DrawImage refactoring
432 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
434 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
435 Added UpdateInternalTransform
436 Fixed DrawImage, Transform, ConcatenateTransform
438 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
440 * Icon.jvm.cs: Internal constructor from bitmap
441 * Added SystemIcons.jvm.cs with implementation of SystemIcons
443 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
445 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
446 (all methods that use Graphics object)
448 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
450 * Graphics.jvm.cs: Refactoring
452 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
454 * Graphics.jvm.cs: Fixed Clear, Refactoring
456 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
458 * Graphics.jvm.cs: Fixed FillClosedCurve
460 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
462 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
463 rectangles touch each other.
465 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
467 * Graphics.jvm.cs: Fixed DrawCurve.
469 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
471 * StrokeFactory.jvm.cs: use correct stroke
473 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
475 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
478 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
480 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
482 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
484 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
487 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
489 * Graphics.jvm.cs: Refactoring
491 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
493 * Graphics.jvm.cs: Fixed DrawPolygon
495 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
497 * Graphics.jvm.cs: Refactoring
498 * Pen.jvm.cs: setting awt.Stroke as a base
500 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
502 * Graphics.jvm.cs: Refactoring
504 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
506 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
508 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
510 * Rectangle.cs: Intersect fixed
511 * RectandleF.cs: Intersect and Inflate fixed
513 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
515 * Point.cs: Produce same ToString result as dotnet
517 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
519 * Color.cs: GetHashCode is affected by Name, too
521 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
523 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
525 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
527 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
529 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
531 * SolidBrush.jvm.cs: fix a typo
533 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
535 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
536 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
537 Font.jvm.cs: Added TARGET_JVM implementation
539 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
541 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
543 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
545 * BasicShape.jvm.cs: Added TARGET_JVM specific class
547 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
549 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
551 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
553 * ColorTranslator.cs: (GH merge) recognise HTML system colors
555 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
557 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
559 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
561 * Color.cs: TARGET_JVM - NativeObject property
563 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
565 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
567 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
569 * RectangleF.cs: Fixes IsEmpty logic
571 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
573 * Graphics.cs: implements FromHwndInternal
576 2005-06-13 Peter Bartok <pbartok@novell.com>
578 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
579 through an intermediary step, which turns it into a 32bit version.
582 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
584 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
585 removed some unnecessary code
586 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
587 positions beyond the size of stream
589 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
591 * Font.cs: fix platform checks.
593 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
596 - Fixes is empty method IsEmpty logic
597 - Fixes Contains method logic
598 - Fixes IntersectsWith logic
601 - Fixes is empty method IsEmpty logic
602 - Fixes Contains method logic
603 - Fixes IntersectsWith logic
605 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
607 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
608 destructors. Some methods renamed. Removed unnecessary variables.
610 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
612 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
613 and modified the Palette property to call them. This non-
614 persistent behaviour was discovered by trial and error with
615 Microsoft's implementation. In fact, the Palette property
616 does not behave like a property at all! It is the only way an
617 instance of System.Drawing.Imaging.ColorPalette can be created,
618 and it reflects a backing store that is only updated when the
619 property 'set' method is called. Also updated Clone () since
620 the palette is no longer cached at image load time.
621 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
622 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
623 As such a function is not listed in MSDN nor given in
624 Microsoft's implementation, I have made it a private function
625 within the class that uses it.
627 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
629 * Graphics.cs: Revised DrawString methods
631 2005-03-22 Peter Bartok <pbartok@novell.com>
633 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
636 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
638 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
639 * gdipFunctions.cs: Modified conditional compilation syntax
640 * ComIStreamWrapper.cs: Modified conditional compilation syntax
641 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
643 2005-05-18 Marek Safar <marek.safar@seznam.cz>
645 * Bitmap.cs: Add null check into ctor.
647 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
649 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
650 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
651 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
653 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
655 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
657 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
659 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
660 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
661 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
662 * Image.cs: uses new Win32 Stream functions when need it
664 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
666 * Color.cs: Fix GetSaturation() again and remove
669 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
671 * Color.cs: New, correct implementations for GetHue(),
672 GetBrightness() and GetSaturation().
674 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
676 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
677 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
678 * Image.cs: Use PlatformID.Unix under NET_2_0.
680 2005-05-05 Miguel de Icaza <miguel@novell.com>
682 * Bitmap.cs, Icon.cs (constructor): Use
683 GetManifestResourceStream(Type,string) in the constructor that
686 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
688 * PointF.cs: Make serialization compatible with MS.
690 2005-04-10 Geoff Norton <gnorton@customerdna.com>
694 Use CGContextSynchronize instead of CGContextFlush. This saves
695 on average 20000 ticks per drawing operation.
697 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
699 * Color.cs: take into account the name color in == and != operators
700 * Font.cs: Use Equals instead of == to compare the family name
702 - Removes generic fontfamilies cache (done at libgdiplus level)
703 - Fixes Equals method
705 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
707 * Pen.cs: remove locks. They are done at gdiplus level
708 * Brush.cs: remove locks. They are done at gdiplus level
709 * Image.cs: remove locks. They are done at gdiplus level
711 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
713 * Icon.cs: Finished Icon(Type, String) ctor
715 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
717 * gdipFunctions.cs: fixes GdipGetImagePalette signature
718 * Image.cs: Implements Palette property using gdiplus
720 2005-03-17 Peter Bartok <pbartok@novell.com>
723 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
724 method, now includes a get header delegate
725 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
726 the image type even on non-seekable streams
727 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
728 via StreamGetHeaderImpl
729 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
730 the new StreamGetHeader delegate
732 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
734 * Pen.cs: Fixes dispose method to allow to be called multiple times
735 * Graphics.cs: matrix are saved and restored at gdiplus level
737 2005-02-24 Geoff Norton <gnorton@customerdna.com>
739 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
740 so they dont get garbage collected before use.
742 2005-02-11 Peter Bartok <pbartok@novell.com>
744 * gdipFunctions.cs: Fixed prototype to match previous checkin
746 2005-02-11 Peter Bartok <pbartok@novell.com>
748 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
749 it really is a pointer)
751 2005-02-10 Geoff Norton <gnorton@customerdna.com>
753 * Icon.cs: Implement GetObjectData ()
754 * Image.cs: Implement GetObjectData ()
756 2005-02-09 Geoff Norton <gnorton@customerdna.com>
758 * Icon.cs: Implement deserializer
759 * Bitmap.cs: Implement deserializer
761 2005-02-06 Ben Maurer <bmaurer@ximian.com>
763 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
765 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
767 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
769 2005-02-02 Jackson Harper <jackson@ximian.com>
771 * Region.cs: The default region constructor creates and infinite
772 region, not an empty one.
774 2005-01-27 Peter Bartok <pbartok@novell.com>
776 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
777 of HSV numbers. Previous implementation returned wrong numbers and NaN
780 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
782 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
783 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
784 : Implemented support for InstanceDescriptor.
786 2005-01-26 Peter Bartok <pbartok@novell.com>
788 * Icon.cs (ToBitmap): Now sets transparency in according to
791 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
793 * gdipFunctions.cs: Fixes GdipGet* function signatures
794 * FontFamily.cs: Fixes GdipGet* function calls
795 * Font.cs: Fixes ToString method
797 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
799 * Graphics.cs: calls XCloseDisplay on X11 when need it
800 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
802 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
804 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
806 2004-12-16 Peter Bartok <pbartok@novell.com>
808 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
809 equivalent to the gdi+ native object
811 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
812 equivalent to the gdi+ native object
814 2004-12-09 Geoff Norton <gnorton@customerdna.com>
816 * carbonFunctions.cs: New carbon functions/structures
817 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
819 2004-12-08 Geoff Norton <gnorton@customerdna.com>
821 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
822 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
824 2004-12-07 Geoff Norton <gnorton@customerdna.com>
826 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
827 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
829 2004-12-06 Miguel de Icaza <miguel@ximian.com>
831 * FontFamily.cs: This one is static.
833 2004-11-25 Ravindra <rkumar@novell.com>
835 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
836 type from int to Status type.
838 2004-11-25 Marek Safar <marek.safar@seznam.cz>
840 * Image.cs: Add CheckStatus to SaveAdd.
842 2004-11-22 Ravindra <rkumar@novell.com>
844 * Graphics.cs: Fixed null values handling in all overloads of
845 MeasureString method.
847 2004-11-18 Ravindra <rkumar@novell.com>
849 * gdipFunctions.cs: Removed the .so extension from a DllImport
852 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
854 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
857 2004-11-03 Miguel de Icaza <miguel@ximian.com>
859 * TextureBrush.cs (Clone): While cloning, it is not enough to let
860 GDIPlus clone the underlying data, we must alos clone the managed
863 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
864 errors in the future, set the lock on the object before doing any
865 other tests, not after.
867 (Clone): While cloning, it is not enough to let
868 GDIPlus clone the underlying data, we must alos clone the managed
871 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
872 errors in the future.
874 Set the lock in the object before checkign disposed.
876 * SolidBrush.cs (Clone): While cloning, it is not enough to let
877 GDIPlus clone the underlying data, we must alos clone the managed
880 (Dispose): Set the nativeObject to IntPtr.Zero to catch
881 errors in the future.
883 2004-10-28 Ravindra <rkumar@novell.com>
885 * gdipFunctions.cs: Added checks for null stream in the
886 StreamHelper internal class.
887 * Icon.cs: Removed an ugly hack that used temp files in
888 ToBitmap () method. We use MemoryStream instead.
890 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
892 * Font.cs: fixes bug 66533
894 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
896 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
897 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
898 lock operations after conversation with Miguel. Do not really
901 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
903 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
905 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
907 * Bitmap.cs: Fixes MakeTransparent method
909 2004-10-13 Ravindra <rkumar@novell.com>
911 * Graphics.cs: Moved the initialization of 'use_x_drawable'
912 member out of private constructor to class initialization.
913 So that, we get it right even if Graphics is not instantiated.
914 This fixes the problem we face (otherwise) when we make first
915 call to Graphics.FromHwnd () method.
917 2004-10-08 Ravindra <rkumar@novell.com>
919 * Image.cs: Suppress finalization in Dispose () method.
921 2004-10-04 Ravindra <rkumar@novell.com>
923 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
925 2004-09-29 Jackson Harper <jackson@ximian.com>
927 * Graphics.cs: Use FromHdcInternal to set the X display
928 handle. Add a flag to check if we are on unix so we aren't calling
929 Environment.OSVersion.Platform all the time. Mad props to Peter
932 2004-09-17 Marek Safar <marek.safar@seznam.cz>
934 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
935 ToLogFont: Implemented.
937 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
939 GdipCreateFontFromLogfontA: A new extern call.
941 2004-09-13 Ravindra <rkumar@novell.com>
943 * Graphics.cs: MSDN says that using image width and height gives
944 better performance, hence we are using image width and height to
945 avoid autoscaling in DrawImageUnscaled.
947 2004-09-10 Ravindra <rkumar@novell.com>
949 * Graphics.cs: Implemented DrawIcon methods and fixed
950 DrawImageUnscaled method implementation.
952 2004-08-21 Jackson Harper <jackson@ximian.com>
954 * ImageAnimator.cs: Run animator as a background thread so we do
957 2004-08-21 Ravindra <rkumar@novell.com>
959 * gdipFunctions.cs: Modified exception message to include the case
960 of missing required libraries for different formats.
962 2004-08-10 Jackson Harper <jackson@ximian.com>
964 * SystemColors.cs: Make Highlight colour match colour from windows
965 classic color scheme.
967 2004-07-30 Ravindra <rkumar@novell.com>
969 * Font.cs: Fixed Height property implementation and implemented
970 GetHeight method and its overloads.
972 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
974 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
975 P/Invoke function for Image.
976 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
978 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
980 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
981 GdipGetAllPropertyItems P/Invoke function for Image.
982 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
983 * Image.cs: Corrected implementation of PropertyItems property.
985 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
987 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
988 P/Invoke function for Image.
989 * Image.cs: Changed implementation of PropertyIdList property.
991 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
993 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
994 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
996 2004-07-21 Ravindra <rkumar@novell.com>
998 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
999 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1001 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1003 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1004 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1005 * gdipFunctions.cs: new GDI function calls
1007 2004-07-16 Ravindra <rkumar@novell.com>
1009 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1011 2004-07-15 Ravindra <rkumar@novell.com>
1013 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1015 2004-07-13 Ravindra <rkumar@novell.com>
1017 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1018 This was redundant. It was kept in previous checkin to avoid
1021 2004-07-13 Ravindra <rkumar@novell.com>
1023 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1025 2004-07-09 Peter Bartok <pbartok@novell.com>
1026 * Graphics.cs: Added support required for new managed SWF library
1027 * gdipFunctions.cs: Added XOpenDisplay definition/import
1029 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1031 * gdipFunctions.cs: fixes bug 61050
1033 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1035 * ImageAnimator.cs: Rewrote complete implementation.
1037 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1039 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1040 If read function was called after seek function call, the
1041 implementation was returning data from bytes already peeked and
1042 not from the new position in stream, which we have seeked.
1044 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1046 * Graphics.cs: added MeasureString wrappers
1048 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1050 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1052 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1054 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1056 2004-06-18 Ravindra <rkumar@novell.com>
1058 * FontConverter.cs: Implemented the missing functions.
1059 * Font.cs: Added some notes.
1061 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1063 * gdipFunctions.cs: Modified Function signature for
1064 GdipSaveImageToDelegate_linux() method for saving tiff images
1066 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1069 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1071 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1072 and Size, required by TIFFCodec. Modifed Function signature for
1073 GdipLoadImageFromDelegate_linux() method.
1074 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1077 2004-06-11 Ravindra <rkumar@novell.com>
1079 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1080 from out int to out IntPtr.
1081 * SolidBrush.cs: Same.
1083 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1085 * Image.cs: API signature fixes, meaning DisposeResources is now
1086 private and marked InitFromStream internal
1088 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1090 * FontFamily.cs: simplifies object destruction and fixes
1092 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1094 * FontFamily.cs: added destructor
1095 * Graphics.cs: added destructor to stop leaking, remove debugging code
1098 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1100 * gdipFunctions.cs: added GdipSaveAddImage
1101 * Image.cs: added SaveAdd methods
1103 2004-06-02 Peter Bartok <pbartok@novell.com>
1104 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1105 (This fixes bug #59479)
1107 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1109 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1110 * Region.cs: Removed extra ComVisible attribute from Clone().
1112 2004-06-01 Ravindra <rkumar@novell.com>
1114 * Pen.cs: Added a note on Dispose method.
1115 * Brush.cs: Fixed Dispose method.
1116 * SolidBrush.cs: Fixed Dispose method.
1118 2004-05-28 Ravindra <rkumar@novell.com>
1120 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1122 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1123 rectangles implementation (This is basically done to avoid lots
1124 of brush and pen setup happening in libgdiplus.)
1126 2004-05-27 Ravindra <rkumar@novell.com>
1128 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1130 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1132 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1135 2004-05-26 Ravindra <rkumar@novell.com>
1137 * Color.cs: Corrected Color.Green property.
1139 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1140 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1142 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1144 * Icon.cs: Fixed issue with size property.
1146 2004-05-18 Ravindra <rkumar@novell.com>
1148 * Pen.cs: Added value checks in DashPattern and CompoundArray
1151 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1153 * Graphics.cs: fixed warning
1154 * ImageAnimator.cs: fixed warning
1155 * FontConverter.cs: fixed public API
1157 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1159 * gdipFunctions.cs: Fixed prototype for
1160 GdipGetEncoderParameterList
1162 * Image.cs: Reworked Save functions to handle EncoderParameters.
1163 Implemented GetEncoderParameterList
1164 Also removed unused setGDIPalette internal method.
1166 2004-05-14 Peter Bartok <pbartok@novell.com>
1167 * StringFormat.cs: Added CharacterRange handling
1168 * Graphics.cs: Implemented MeasureCharacterRanges method
1170 2004-05-14 Peter Bartok <pbartok@novell.com>
1171 * Graphics.cs: Added error check
1173 2004-05-14 Duncan Mak <duncan@ximian.com>
1174 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1175 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1176 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1178 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1179 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1181 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1182 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1184 2004-05-13 Peter Bartok <pbartok@novell.com>
1185 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1188 2004-05-12 Peter Bartok <pbartok@novell.com>
1189 * Image.cs: Implemented GetThumbnailImage
1191 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1192 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1193 FromXDrawable(IntPtr, IntPtr) internal.
1195 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1196 * Color.cs: work for API compatibilty: private date, todos
1197 * Font.cs: work for API compatibilty: private date, todos
1198 * FontFamily.cs: work for API compatibilty: private date, todos
1199 * Graphics.cs: work for API compatibilty: private date, todos
1200 * Icon.cs: work for API compatibilty: private date, todos
1201 * Image.cs: work for API compatibilty: private date, todos
1202 * ImageAnimator.cs: work for API compatibilty: private date, todos
1203 * Point.cs: work for API compatibilty: private date, todos
1204 * PointF.cs: work for API compatibilty: private date, todos
1205 * Rectangle.cs: work for API compatibilty: private date, todos
1206 * RectangleF.cs: work for API compatibilty: private date, todos
1207 * Region.cs: work for API compatibilty: private date, todos
1208 * Size.cs: work for API compatibilty: private date, todos
1209 * SizeF.cs: work for API compatibilty: private date, todos
1210 * SolidBrush.cs: work for API compatibilty: private date, todos
1211 * StringFormat.cs: work for API compatibilty: private date, todos
1212 * SystemPens.cs: work for API compatibilty: private date, todos
1213 * TextureBrush.cs: work for API compatibilty: private date, todos
1214 * gdipStructs.cs: work for API compatibilty: private date, todos
1216 2004-05-12 Ravindra <rkumar@novell.com>
1218 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1219 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1220 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1221 Added missing attributes and some coding style fixes.
1222 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1225 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1227 * ImageAnimator.cs: Implemented first version.
1229 2004-05-11 Ravindra <rkumar@novell.com>
1231 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1234 2004-05-10 Ravindra <rkumar@novell.com>
1236 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1237 for the same. Added few related P/Invokes for Pen also.
1239 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1241 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1243 2004-05-06 Ravindra <rkumar@novell.com>
1245 * RectangleConverter.cs: Implemented GetProperties () method.
1246 * SizeConverter.cs: Implemented GetProperties () method.
1247 * PointConverter.cs: Implemented GetProperties () method.
1248 * FontConverter.cs: Implemented some of the methods.
1250 2004-05-06 Ravindra <rkumar@novell.com>
1252 * Color.cs: Fixed Name property.
1253 * ColorTranslator.cs: Fixed the existing methods and implemented
1254 the missing methods.
1255 * ColorConverter.cs: Fixed the existing methods and implemented
1256 the missing methods. Also, fixed coding style.
1258 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1259 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1261 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1262 * Image.cs: raw_format should be handled by GDI+
1263 * Bitmap.cs: raw_format should be handled by GDI+
1265 2004-05-04 Ravindra <rkumar@novell.com>
1267 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1268 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1269 properties and SetLineCap method. In constructors use IntPtr instead
1271 * SolidBrush.cs: Modified exception message.
1272 * TextureBrush.cs: Fixed Transform property.
1273 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1274 LinearGradientBrush.cs.
1276 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1278 * Image.cs: Implemented FrameDimensionsList property.
1280 2004-04-30 Ravindra <rkumar@novell.com>
1282 * gdipFunctions.cs: Added few more P/Invoke calls for
1283 lineargradient brush and added one case statement in
1286 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1288 * Image.cs: takes into account MemoryBmp format when saving
1290 2004-04-30 Ravindra <rkumar@novell.com>
1292 * StringFormat.cs: Added checks for status.
1294 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1296 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1297 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1299 2004-04-30 Ravindra <rkumar@novell.com>
1301 * Graphics.cs: Added checks for status.
1302 * Image.cs: Added a check for status.
1303 * FontFamily.cs: Added checks for status.
1305 2004-04-29 Peter Bartok <pbartok@novell.com>
1307 * Brushes.cs: Fixed bug #52695. No longer creates a new
1308 brush for every request and behaves Microsoft compatible
1310 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1312 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1313 its ClsID instead of the formatID (as GDI+ expects)
1315 2004-04-29 Ravindra <rkumar@novell.com>
1317 * Font.cs: Added checks for status.
1318 * Bitmap.cs: Added checks for status.
1319 * Pen.cs: Added checks for status.
1321 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1323 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1324 Converted to unix format from dos format.
1326 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1328 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1330 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1332 * gdipStructs.cs: added GdipImageCodecInfo struct
1334 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1336 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1338 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1340 * ImageConverter.cs: Added exception message.
1341 * IconConverter.cs: Added exception message.
1342 * ImageFormatConverter.cs: Implemented first version.
1344 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1346 * ImageConverter.cs: Implemented first version.
1348 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1350 * IconConverter.cs: Implemented first version.
1352 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1354 * Image.cs: Corrected implementation of Property RawFormat.
1355 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1357 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
1359 * Bitmap.cs: Resolved a compile time error.
1360 * Image.cs: Changed the implementation of few methods to progress
1361 with ImageAnimator class.
1362 * gdipFunctions.cs: Added few linux only function calls.
1363 * Icon.cs: Removed unused variable from code.
1365 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
1367 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1369 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
1371 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1372 serialization for Bitmaps. (Bugzilla #52568)
1374 2004-04-23 Ravindra <rkumar@novell.com>
1376 * RectangleConverter.cs: Fixed ConvertTo () method.
1377 * SizeConverter.cs: Fixed ConvertTo () method.
1378 * PointConverter.cs: Fixed ConvertTo () method.
1380 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1381 * ImageAnimator.cs: Implemented CanAnimate() method.
1383 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1384 * Image.cs: added RotateFlip and RemovePropertyItem calls
1386 2004-04-22 Ravindra <rkumar@novell.com>
1388 * RectangleConverter.cs: Implemented. Also changed file format
1390 * Rectangle.cs: Fixed ToString method.
1391 * RectangleF.cs: Fixed ToString method.
1393 2004-04-22 Ravindra <rkumar@novell.com>
1395 * SizeConverter.cs: Implemented some of the functions.
1396 * PointConveter.cs: Implemented.
1397 * gdipFunctions.cs: Corrected one typo.
1398 * Brushes.cs: Added a comment.
1400 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
1402 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1403 returning portions of the peek buffer back. Fixes #57379.
1405 2004-04-21 Peter Bartok <pbartok@novell.com>
1406 * Font.cs: Implemented Font.FromHfont method
1407 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
1408 * gdipFunctions.cs: Added imports for functions required to support
1409 Font.FromHfont method
1411 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1412 * RectangleConverter.cs: stubbed out
1413 * Font.cs : added missing members
1415 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
1416 * Icon.cs: Fixed problem in extracting bitmap from Icon.
1418 2004-04-16 Ravindra <rkumar@novell.com>
1420 * Pen.cs: GC should be allowed to collect any pen including
1422 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
1423 including system brushes.
1424 * Brushes.cs: Coding style.
1425 * Pens.cs: Objects created by Pens are not modifiable on
1426 MS.NET, so we are now. Also, coding style fixes.
1427 * SystemPens.cs: Removed static constructor and changed file
1429 * SystemBrushes.cs: Some cosmetic changes.
1431 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
1432 * Icon.cs: Implemented more missing bits and fixed the problem
1433 of icon not getting saved in proper format
1435 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
1436 * Icon.cs: Implemented more missing bits
1438 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
1439 * Icon.cs: Implemented few more missing bits
1441 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
1442 * Icon.cs: Implemented first version
1444 2004-04-11 Peter Bartok <pbartok@novell.com>
1445 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
1446 the code and using our own private gdiplus function when on Unix and using Win32
1447 functions when running on Windows
1448 * gdipStructs.cs: Added LOGFONTA structure
1449 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
1451 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1453 * Image.cs: Save should use encoder.FormatID, not Clsid
1455 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1456 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1457 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1459 2004-04-06 Duncan Mak <duncan@ximian.com>
1461 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1463 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1464 * Region.cs: fixes GetRegionScans
1465 * gdipFunctions.cs: fixes GetRegionScans
1467 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
1469 * gdipFunctions.cs: Added stream delegate helpers for
1470 stream loading/saving on linux
1472 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1473 loading/saving image data.
1475 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1476 * Region.cs: implemented new methods
1477 * Graphics.cs: implemented new methods
1479 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
1480 * Region.cs: implemented
1482 2004-04-01 Duncan Mak <duncan@ximian.com>
1484 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1486 * gdipFunctions.cs (GdipAddPathCurveI):
1487 (GdipAddPathCurve2, GdipAddPathCurve2I):
1488 (GdipAddPathCurve3, GdipAddPathCurve3I):
1489 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1490 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1493 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1494 * Image.cs: implemented a few GDI+ wrapper calls
1496 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1497 * Bitmap.cs: remove redundant data already present at Image.cs
1498 * Image.cs: use GDI+ functions to get image details
1499 * StringFormat.cs: missing constructor and property
1501 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1502 * FontFamily.cs: added missing members and style clean
1503 * Graphics.cs: fixed signature of DrawArc and DrawPie
1504 * Image.cs: added missing members, fixes
1505 * StringFormat.cs: missing constructor and property
1507 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1508 * Graphics.cs: Added missing DrawImage GDI+ calls
1509 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
1511 2004-03-23 Ravindra <rkumar@novell.com>
1512 * gdipFunctions.cs: Added few more P/Invoke calls for
1513 LinearGradientBrush.
1515 2004-03-22 Ravindra <rkumar@novell.com>
1516 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1517 and did few coding style fixes.
1519 2004-03-18 Ravindra <rkumar@novell.com>
1520 * Brush.cs: Fixed Dispose method.
1521 * SolidBrush.cs: Fixed clone method.
1522 * TextureBrush.cs: Fixed clone method.
1523 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
1525 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1527 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1529 2004-03-10 Ravindra <rkumar@novell.com>
1530 * Pen.cs: Implemented PenType property.
1531 * Brush.cs: Coding style.
1533 2004-03-06 Ravindra <rkumar@novell.com>
1534 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1535 for PathGradientBrush.
1537 2004-03-06 Ravindra <rkumar@novell.com>
1538 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1541 2004-03-04 Duncan Mak <duncan@ximian.com>
1543 * Region.cs: Indentation.
1545 * RectangleF.cs: Changed the internal structure from a PointF,
1546 SizeF to floats in order to match the layout from the C API.
1548 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
1549 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1551 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1552 * gdipFunctions.cs: Added functions for ImageAttributes
1554 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1555 * Icon.cs: Missing function stubs added
1556 * Icon.cs: Missing function stubs added
1557 * IconConverter.cs: Missing function stubs added
1558 * ImageAnimator.cs: Missing function stubs added
1559 * ImageConverter.cs: Missing function stubs added
1560 * ImageFormatConverter.cs: Missing function stubs added
1562 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1563 * Font.cs: Allow multiple styles
1565 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1566 * StringFormat.cs: Clone method
1568 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1569 * font.cs: fixes, Clone, and ToString
1571 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
1572 * gdipFunctions.cs: MeasureString
1573 * Graphics.cs : MeasureString
1575 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1576 * Font.cs: destructor and unit conversion
1577 * Graphics.cs : system dpi support
1579 2004-02-13 Ravindra <rkumar@novell.com>
1580 * Pen.cs: Fixed some bugs.
1581 * TextureBrush.cs: Fixed some bugs.
1583 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
1584 * gdipFunctions.cs: Added ImageCodecInfo functions
1585 * Image.cs: Added few methods
1587 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
1588 * FontFamily.cs: remove hardcoded font names, a few bug fixes
1590 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
1591 * gdipFunctions.cs: Added Image class functions
1592 * Image.cs: Added few methods
1594 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1595 * graphics.cs: fixes parameters for DrawStrings functions
1597 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1599 * SRDescriptionAttribute.cs: Added and implemented
1600 * ToolboxBitmapAttribute.cs: Implemented a few members
1601 * SystemIcons.cs: Stubbed
1602 * StringFormat.cs: Implemented method
1603 * Region.cs: Added Todo, fixed attribute
1604 * Size.cs: Added attribute
1605 * SizeF.cs: Added attribute
1606 * RectangleF.cs: Added attributes
1607 * Rectangle.cs: Added attributes
1608 * PointF.cs: Added attribute
1609 * Point.cs: Added attribute
1611 2004-02-06 Ravindra <rkumar@novell.com>
1613 * Brush.cs: Renamed GetException method to CheckStatus
1614 and moved it to gdipFunctions.cs.
1615 * gdipFunctions.cs: Added CheckStatus method.
1616 * SolidBrush.cs: Using CheckStatus method.
1617 * TextureBrush.cs: Using CheckStatus method.
1618 * gdipEnums.cs: Added a missing value.
1620 2004-02-05 Ravindra <rkumar@novell.com>
1622 * Brush.cs: Added a missing namespace.
1624 2004-02-05 Ravindra <rkumar@novell.com>
1626 * gdipFunctions.cs: Added methods for HatchBrush and
1628 * SolidBrush.cs: Added checks for status.
1629 * Brush.cs: Added support for HatchBrush and TextureBrush
1630 types in internal CreateBrush() method.
1632 2004-02-03 Jordi Mas <jordi@ximian.com>
1633 * Font.cs: Setup font properties
1635 2004-02-03 Ravindra <rkumar@novell.com>
1637 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
1638 method from TextureBrush.cs to Brush.cs.
1639 * Brush.cs: Made GetException (Status) method internal.
1641 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
1643 * gdipFunctions.cs: Added methods for Image class.
1645 2004-01-30 Ravindra <rkumar@novell.com>
1647 * TextureBrush.cs: Added more methods to complete it.
1648 * gdipFunctions.cs: Added methods for TextureBrush class.
1650 2004-01-30 Ravindra <rkumar@novell.com>
1652 * gdipFunctions.cs: Added methods for TextureBrush class.
1654 2004-01-30 Ravindra <rkumar@novell.com>
1656 * Pen.cs: Modified to handle TextureBrush also.
1657 * Bitmap.cs: Added one internal constructor.
1658 * TextureBrush.cs: Implemented.
1660 2004-01-29 Duncan Mak <duncan@ximian.com>
1663 * Graphics.cs: Indentation fixes, removed long dangling lines and
1666 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1669 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1671 * FontFamily.cs: Implemented few methods and a constructor
1673 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1675 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1676 * FontFamily.cs: Implemented missing functionalities.
1678 2004-01-24 Duncan Mak <duncan@ximian.com>
1680 * Graphics.cs (DrawPath): Implemented.
1682 2004-01-23 Ravindra <rkumar@novell.com>
1684 * Point.cs: ToString modified.
1685 * PointF.cs: ToString modified.
1686 * Size.cs: ToString modified.
1687 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1690 2004-01-21 Jordi Mas i Hernàndez
1691 * Bitmap.cs: Several new methods added.
1693 2004-01-21 Duncan Mak <duncan@ximian.com>
1695 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1696 OutAttribute to the array argument. This fixes the PathPoints
1697 property in System.Drawing.Drawing2D.GraphicsPath.
1699 2004-01-20 Ravindra <rkumar@novell.com>
1701 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1702 this property was hanging and getting was throwing a NullRef
1703 Exception. Earlier we were passing Matrix object to and fro
1704 which was causing the problem. Now, we are using IntPtr.
1705 Thanks to Duncan for helping me.
1706 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1707 together. If color is set, a SolidBrush automatically gets
1708 set with the same color, Pen loses the old brush object.
1709 If a SolidBrush is set, Pen.Color gets the value same as that
1710 of brush color losing the old value. Pen shows this behavior
1712 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1713 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1715 2004-01-19 Duncan Mak <duncan@ximian.com>
1717 * gdipFunctions.cs: Import functions for GraphicsPath.
1719 2004-01-14 Ravindra <rkumar@novell.com>
1721 * SolidBrush.cs: Made SolidBrush to initialize its color
1724 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1726 2004-01-11 Duncan Mak <duncan@ximian.com>
1728 * Bitmap.cs (LockBits):
1729 * Graphics.cs (DrawString): Removed reference to GpRectF.
1731 2004-01-09 Duncan Mak <duncan@ximian.com>
1733 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1734 Removed. Didn't know that structs are laid out sequentially by
1735 default. We don't need these anymore.
1737 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1739 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1741 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1743 * Graphics.cs: fix compile error on Windows builds for out
1744 parameter state in call to GdipSaveGraphics
1746 2004-01-10 Ravindra <rkumar@novell.com>
1748 * All Enums: Made serializable.
1750 * Image.cs: Corrected signature of Dispose(bool) method.
1752 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1753 Corrected coding style mistakes of my previous commit.
1755 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1757 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1759 * StringFormat.cs: Inherits MarshalByRefObject.
1761 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1763 2004-01-08 Ravindra <rkumar@novell.com>
1765 * Pen.cs: Added isModifiable (bool) variable. It is required to
1766 make Pens created by SystemPens.cs unmodifiable. All property
1767 setters are modified for this.
1769 * SolidBrush.cs: Added isModifiable variable (bool). It is
1770 required to make Brushes created by SystemBrushes.cs unmodifiable.
1771 All property setters are modified for this.
1773 * SystemBrushes.cs: Modified all the properties as per the .NET
1774 specs, so that Brushes are not created every time. Also, missing
1775 properties are added.
1777 * SystemPens.cs: Modified all the properties as per the .NET
1778 specs, so that Brushes are not created every time. Also, missing
1779 properties are added.
1781 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1783 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1786 2004-01-06 Duncan Mak <duncan@ximian.com>
1788 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1790 2003-12-21 Duncan Mak <duncan@ximian.com>
1792 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1793 up to the GDI+ implementation.
1794 (RotateTransform): Uncommented.
1796 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1799 2003-12-13 Todd Berman <tberman@sevenl.net>
1801 * Font.cs: Implementing a couple things for porting purposes
1802 * SystemBrushes.cs: ^
1803 * StringFormat.cs: ^^
1805 2003-11-28 Duncan Mak <duncan@ximian.com>
1807 * Pen.cs (CompoundArray): Hide this for now.
1809 2003-11-28 Duncan Mak <duncan@ximian.com>
1811 * Brush.cs (CreateBrush): new internal factory method for creating
1812 specific brushes based on the internal (GDI+ C API) BrushType
1814 (Brush (IntPtr)): new internal constructor.
1816 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1818 (Pen (IntPtr)): new internal constructor.
1819 (Pen (Brush, float)): Use GdipCreateBrush2.
1820 (Clone): Implemented using GdipClonePen.
1821 (Alignment, Brush, Color, Width): Use GDI+ implementations
1823 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1824 Implemented these properties.
1825 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1826 (MultiplyTransform, ResetTransform, RotateTransform):
1827 (ScaleTransform, TranslateTransform): Implemented these methods.
1829 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1831 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1833 * gdipFunctions.cs: Imported new Brush and Pen functions.
1835 2003-11-22 Duncan Mak <duncan@ximian.com>
1838 (GdipResetWorldTransform, GdipSetWorldTransform):
1839 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1841 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1842 (transform): Removed this field. Always use the
1843 matrix associated in the GpGraphics ptr.
1844 (DrawBeziers): Implemented.
1845 (DrawLine): Don't need to manually invoke the transform now.
1846 (MultiplyTransform, ResetTransform):
1847 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1848 (Transform): Instead of storing a Matrix in managed code, use
1849 equivalent GDI+ functions.
1851 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1853 * SizeConverter.cs: fixed class signature and implemented some methods.
1855 2003-11-17 Duncan Mak <duncan@ximian.com>
1857 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1859 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1861 2003-11-17 Duncan Mak <duncan@ximian.com>
1863 * Bitmap.cs (LockBits):
1864 * Graphics.cs (DrawString): Use GpRectF.
1866 * gdipFunctions.cs: Updated method signatures.
1868 * Graphics.cs (MultiplyTransform): Implemented using
1869 GdipMultiplyWorldTransform from GDI+.
1871 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1872 GpRect, to be more consistent with the C naming.
1874 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1876 * Graphics.cs: Implement the other DrawString overloads .
1878 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1880 * gdipStructs.cs (GdipRectF): Added utility constructor
1882 2003-11-15 Duncan Mak <duncan@ximian.com>
1884 * gdipFunctions.cs: Imported matrix functions.
1886 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1888 * Bitmap.cs: Added Attributes
1889 * ColorTranslator.cs: Added private constructor
1890 * Font.cs: Added Attributes
1891 * FontFamily.cs: sealed
1892 * Icon.cs: Added Attributes
1893 * IconConverter.cs: Fixed signature
1894 * Image.cs: Added attributes
1896 * ImageConverter.cs:
1897 * ImageFormatConverter.cs:
1904 * TextureBrush.cs: Fixed signature
1905 * Color.cs: Added attributes
1910 * SizeF.cs: Added attributes
1911 * ContentAlignment.cs: Added attribute
1913 2003-11-13 Duncan Mak <duncan@ximian.com>
1915 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1918 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1919 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1920 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1922 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1924 * gdipFunctions.cs copy image in Bitmap constructor
1926 2003-11-06 Duncan Mak <duncan@ximian.com>
1927 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1928 angle parameters for the integer case.
1929 (DrawBezier): Hook it up with GdipDrawBezier.
1930 (DrawEllipse): Fix Width, Height ordering.
1932 2003-11-05 Duncan Mak <duncan@ximian.com>
1934 * Graphics.cs (DrawPie):
1935 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1938 2003-10-28 Duncan Mak <duncan@ximian.com>
1940 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1941 (FillEllipse, FillPolygon): implemented.
1942 (RenderingOrigin): implemented.
1944 * gdipFunctions.cs: Added new GDI+ equivalents.
1946 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1948 * Image.cs small fixes
1950 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1952 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1954 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1956 * SystemBrushes.cs: Some more brushe3s.
1958 * SystemPens.cs: More pens.
1960 * Pen.cs: Implement IDisposable, ICloneable.
1962 * Region.cs: Add some more stubs here.
1964 * StringFormat.cs: Add some more code here.
1966 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1968 * Image.cs: Kill the InternalImageInfo, everything is now done in
1969 terms of Image and BitmapData.
1971 * Rectangle.cs: Make this one also sequential, change from using
1972 Point + Size to use x, y, width, height; So we can use GdiPlus.
1974 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1975 BitmapData class argument, and instead use the [In,Out]
1976 attributes, which will do struct marshalling on the fields. Now
1977 we can use C#'s BitmapData directly to talk to Gdiplus.
1979 * gdipStructs.cs: Every internal structure that has to talk to
1980 Gdi+ is properly prefixed, to minimize the confussion.
1982 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1983 Compute the stride here where we have the BPP information,
1984 allocate a buffer of the proper size, and pass this to
1985 GdipCreateBitmapFromScan0
1987 * Image.cs: Implement Dispose pattern.
1989 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
1992 * gdipStructs.cs DrawString function added
1994 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1997 * gdipStructs.cs added
2000 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2009 implementation changed to gdi+
2011 2003-09-08 Duncan Mak <duncan@ximian.com>
2013 * Factories.cs (DefaultImplementationNamespace): Change it from
2014 "XrImpl" to "Cairo".
2016 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2018 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2021 2003-08-08 Duncan Mak <duncan@ximian.com>
2023 * Graphics.cs (DrawBezier): Fixed.
2025 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2026 * Graphics.cs delegate Dispose to implementation
2028 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2030 * FontConverter.cs: stub it out so that system.web compiles.
2032 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2033 * Image.cs InternalImageInfo class improved
2035 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2037 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2038 is set, default to Win32Impl
2040 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2041 * Image.cs implementation added
2043 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2045 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2047 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2049 * StringFormat.cs: Changes to become CLS-compliant
2051 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2053 * Factories.cs: Remove debugging message.
2055 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2056 * Color.cs code generation program modified
2058 2003-06-29 Alexandre Pigolkine
2059 * Graphics.cs image drawing
2061 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2064 supply KnowColor enum value to save Enum.Parse at runtime
2066 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2067 * Graphics.cs coordinate transformations
2068 * Image.cs small fix
2070 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2072 * FontFamily.cs more implementation
2074 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2076 * FontFamily.cs more implementation
2078 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2079 * Graphics.cs few more calls to implementation
2081 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2082 * Bitmap.cs BITMAP declaration removed
2083 * Graphics.cs few more calls to implementation
2084 * Image.cs InternalImageInfo structure, image read/write functions
2087 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2088 * Factories.cs analyse environment variable and machine.config to select implementation
2089 * Image.cs PixelFormat property added
2091 2003-04-30 Nick Drochak <ndrochak@gol.com>
2093 * Factories.cs: Change weird characters that broke build on windows.
2095 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2097 * ColorConverter.cs:
2098 (ConvertFrom): return a system or named color if there's one that fits
2099 teh values parsed with Color.FromArgb.
2101 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2111 delegate function calls to implementation
2113 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2117 * SystemBrushes.cs switch to Linux style line terminators
2119 2003-03-29 Alan Tam <Tam@SiuLung.com>
2120 * ToolboxBitmapAttribute
2121 stubbed more constructors and fixed base class
2123 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2125 added stubs to compile SWF
2128 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2133 small changes to be able to run SWF apps
2135 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2137 * Graphics.cs: stubbed out all the methods.
2139 2003-02-08 Piers Haken <piersh@friskit.com>
2141 * fixed case of pens.cs and font.cs
2143 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2150 2002-11-21 Dennis Hayes (dennish@raytek.com)
2151 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2155 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2157 * ColorTranslator.cs (FromHtml): Implement.
2159 2002-10-14 Dennis Hayes (dennish@raytek.com)
2161 * changed using namespace from Drawing2d to Drawing2D
2163 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2165 * Fixes the enum values in the following enums
2166 * ContentAlignment.cs:
2170 * RotateFlipType.cs:
2171 * StringAligment.cs:
2172 * StringDigitSubstitute.cs:
2173 * StringFormatFlags.cs:
2174 * StringTrimming.cs:
2176 * SolidBrush.cs: Easy implementation
2177 * Brushes.cs: Implementation based on SolidBrush and Color class.
2178 * Brush.cs: Fixes based on the status web).
2179 * CharacterRange.cs: Implemented the missing Lenth property.
2181 2002-9-14 Dennis Hayes (dennish@raytek.com)
2184 * removed personal template that should not have been checked in
2186 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2188 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2191 2002-9-14 DennisHayes <dennish@raytek.com>
2199 * ImageFormatConverter.cs
2201 * RectangleConverter.cs
2210 * ToolboxBitmapAttribute.cs
2211 * Added null classes for most/all classes, Many stubs, and some implmentation
2213 2002-9-2 DennisHayes <dennish@raytek.com>
2220 * Added stubs, implmentation
2222 2002-9-2 DennisHayes <dennish@raytek.com>
2224 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2225 but this should at least save someone some typing.
2226 * CharacterRange.cs :Implmented
2227 * Region.cs : stub needed for system.windows.forms
2229 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2231 * ColorTranslator.cs: use Color.Name.
2233 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2235 * Color.cs: implemented SystemColors and NamedColors properties that
2236 are used by ColorConverter, removed public constructor, use
2237 SystemColors, and misc. fixes to make it behave as MS (ToString,
2238 parsing names, FromKnownColor,...).
2240 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2241 trying to get the color from its name.
2243 * SystemColors.cs: new file.
2245 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2247 * Color.cs: changed static properties to use FromArgbNamed. Also
2248 modified the program included in comments that get the values for
2251 (FromArgbNamed): build named colors.
2252 (FromKnownColor): fixed.
2253 (FromName): use a hash to look up colors by name.
2254 (FillColorNames): create the hash of colors.
2255 (Equals): compare values and name.
2256 (ToString): improved.
2258 * ColorTranslator.cs: implemented ToHtml.
2260 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * Color.cs: added TypeConverter attribute.
2264 * ColorConverter.cs: added constructor.
2266 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2268 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2270 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2272 * Bitmap.cs : using System.IO
2273 * ColorTranslator.cs : Stubbed off build breakers.
2274 * Image.cs : Stub off IDisposable and ICloneable.
2276 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2278 * Bitmap.cs: Ximian is the new copyright holder now.
2281 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2283 * Uppercased several files.
2285 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2287 * color.cs: Fixed a typo in GetSaturation ().
2289 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2291 * Bitmap.cs: Added method headers.
2293 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2295 * Bitmap.cs: Added, no implementation's done, yet.
2297 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2299 * Rectangle.cs : Add a doc comment.
2300 * RectangleF.cs : New struct implementation.
2302 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2304 * Rectangle.cs : New struct implementation.
2306 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2308 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2310 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2312 * Point.cs : New. Implementation of System.Drawing.Point struct.