1 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
3 * FontFamily.jvm.cs: fix for custom font collection
5 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
7 * FontFamily.jvm.cs: fixed GetName
9 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
11 * Bitmap.jvm.cs: fixed InternalSave() error handling
12 * Image.jvm.cs: fixed Save() error handling
14 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
16 * FontFamily.jvm.cs: Refactoring.
18 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
20 * Font.jvm.cs: Refactoring.
22 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
24 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
27 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
29 * FontFamily.jvm.cs: correctly initialize fontcollection
31 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
33 * FontFamily.jvm.cs: DrawMargin, refactoring.
35 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
37 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
38 Differentiate standard and AntiAlias stroking
40 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
42 * Graphics.jvm.cs: added UnitConversion property
43 * FontFamily.jvm.cs: refactoring
44 * Font.jvm.cs: refactoring
46 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
49 - Implemented serialization constructor
50 - Implemented GetObjectData()
52 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
54 * StringFormat.jvm.cs: Refactoring
56 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
58 * Image.cs: Default format for MemoryBMP should be Png
60 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
62 * Bitmap.jvm.cs: fixed InternalSave
63 * Image.jvm.cs: fixed Save
65 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
67 * Image.jvm.cs: fixed redolution properties
69 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
71 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
72 fixed clone, Initialize
74 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
76 * Brush.cs: Don't delete the brush if the display handle is no longer
77 valid, otherwise cairo will try to use the handle and crash and burn
79 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
81 * Graphics.jvm.cs: DrawImage refactoring
83 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
85 * Graphics.jvm.cs: Clipping refactoring
86 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
87 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
88 TranslateClip, VisibleClipBounds
90 2005-10-21 Miguel de Icaza <miguel@novell.com>
92 * Pen.cs: Add support for returning the Brush from Pens created
93 with a color constructor.
95 Plus: code style police, else does not go on its own line.
97 * Graphics.cs: Add various ArgumentNull checks.
99 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
101 * Image.jvm.cs: make Clone abstract
103 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
105 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
107 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
109 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
110 * PlainImage.jvm.cs: fixed Clone
111 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
113 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
115 * Brush.jvm.cs: added InternalClone() method
116 changed transformation methods access level
117 * TextureBrush.jvm.cs: refactoring, fixed clone()
119 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
121 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
122 matrix singularity added
123 * Font.jvm.cs: implemetated ISerializable
124 * Pen.jvm.cs: fixed DashPattern property,
125 fixed GetNativeObject() dash pattern calculation
127 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
129 * SystemColors.cs: Fixes the Win32 light and lightlight colours
131 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
133 * SystemColors.cs: Fixes the Win32 system colors including the color
134 name and the knownColor properties.
136 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
138 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
139 conversion, it's less overhead than StringBuilder. (Part of the
140 bugfix for #74871 and #75534)
142 * gdipFunctions: Changed signature for GdipGetFamilyName to just
143 have an IntPtr for the buffer
145 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
147 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
150 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
152 * SystemColor.cs: Added code used to generate properties, updated with
155 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
157 * SystemColor.cs: Make internal names predictable to allow scripted
158 generation of color table
160 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
162 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
165 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
168 - Changed properties to return colors from fields. This allows
169 updating the colors via reflection, for example from MWF themes.
170 - Added code to retrieve system colors via Win32 GetSysColors if
171 running on Win32, this makes us compatible with Microsoft instead
172 of returning static colors on Win32. Unix platforms still will
173 use the static colors
174 * Color.cs: Added UpdateKnownColor() method to allow updating of
175 the KnownColors array
177 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
179 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
180 when imageAttr is null.
182 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
184 * Brush.jvm.cs: fixed transform methods, createContext
185 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
187 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
189 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
190 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
191 * PlainImage.jvm.cs: added metadata props, fixed ctor
192 * PlainImageCollection.jvm.cs: fixed class access
194 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
196 * Graphics.cs: Fixes exception type at FromImage method
198 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
200 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
202 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
204 * Graphics.jvm.cs: fixed DrawImage
206 2005-09-19 Miguel de Icaza <miguel@novell.com>
208 * Graphics.cs: Removed restriction on the images that can be
209 loaded. Indexed images *can* be loaded
211 2005-09-18 Miguel de Icaza <miguel@novell.com>
213 * Image.cs: introduce a workaround that catches errors on systems
214 that lack GDI+ as this is being triggered too easily when we
215 enumerate attributes on loaded classes.
217 The real bug to fix is #76062.
219 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
221 * Image.cs: Implemented FromHbitmap.
223 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
225 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
226 the JIT won't add demands for UnmanagedCode.
227 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
228 so the JIT won't add demands for UnmanagedCode on Mac OSX.
229 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
230 (+ overloads) and GetHicon methods.
231 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
232 FromHwndInternal and ReleaseHdcInternal methods (which are all public
233 despite their names).
235 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
237 * Graphics.jvm.cs: text transform, headless session
239 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
241 * Bitmap.jvm.cs: native object refactoring
242 * Image.jvm.cs: native object refactoring
243 * Graphics.jvm.cs: fixed access to image native object
244 * TextureBrush.jvm.cs: fixed access to image native object
245 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
247 2005-09-14 Geoff Norton <gnorton@customerdna.com>
249 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
250 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
251 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
253 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
255 * Graphics.jvm.cs: transform, container, thin pen
257 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
259 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
260 * Pen.jvm.cs: fixing transform, pen fitting
262 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
264 * Region.jvm.cs: IsVisible is about intersection
266 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
268 * ImageConverter.cs: Use default TypeDescriptor implementation of
271 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
273 * Graphics.jvm.cs: fixing clipping with rotate transform
275 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
277 * Region.jvm.cs: default region is infinite
279 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
281 * Graphics.jvm.cs: fixing clipping stuff
283 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
285 * Bitmap.jvm.cs: fixed bitamp accessors
286 * Image.jvm.cs: fixed image accessors
288 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
289 * AdvancedStroke.jvm.cs: fix matrix translate
290 * Graphics.jvm.cs: fix matrix concatenation order
292 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
294 * Brush.jvm.cs: added transform methods
296 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
298 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
299 implementing fitting, output transform
300 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
302 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
304 * ColorTranslator.cs: perform case insensitive check
306 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
308 * gdipFunctions.cs: define new functions
309 * Bitmap.cs: fixes image loading and exceptions
310 * Image.cs: fixes image loading and exceptions
312 Thanks Kornél Pál for its help
314 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
316 * Brush.jvm.cs: added brush transform field
318 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
320 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
322 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
324 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
325 Graphics.jvm.cs: adjust stroke before widening
327 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
329 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
332 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
334 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
335 convert string to int before checking number of components.
336 * RectangleConverter.cs: same.
337 * SizeConverter.cs: same.
339 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
341 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
342 convert individual components. Special case string containing hex
343 prefix. Convert components before checking count.
345 2005-08-25 Marek Safar <marek.safar@seznam.cz>
347 * gdipFunctions.cs: GetIconInfo new user32 method.
348 GdipGetDC uses IntPtr.
350 * gdipStructs.cs: Defined IconInfo struct.
352 * Graphics.cs: FromImage throws exception when image has an indexed format.
355 * Icon.cs: Implemented FromHandle, Dispose.
357 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
359 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
361 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
363 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
364 Fixed SmoothingMode property
366 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
368 * Brushes: Do not create the objects every time that they are requested
369 as in Pens we create and cache them only once when need it. This also
370 fixes the Equals method between two objects requested to Brushes
372 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
374 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
375 * Brush.cs Fixes Dispose to avoid non-disposing some objects
376 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
377 * Region.cs: Dipose always frees if the resource was allocated
379 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
381 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
382 from gdiplus have been released
384 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
386 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
387 * Color.cs: Fixed java NativeObject property
388 * Image.jvm.cs: Fixed Save method
390 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
392 * Icon.jvm.cs: match Bitmap internal constructor change
393 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
394 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
396 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
398 * Color.cs: To match MS.NET, throw ArgumentException instead of
399 ArgumentOutOfRangeException when color is not between 0 and 255.
400 * RectangleConverter.cs: Take culture into account when converting
401 to/from string. Use culture's ListSeparator as separator character.
403 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
405 * Color.cs: Fixed line endings. Set eol-style to native.
406 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
407 * Size.cs: Set eol-style to native.
408 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
409 * SizeConverter.cs: Take culture into account when converting to/from
410 string. Set eol-style to native.
411 * Point.cs: Fixed line endings. Set eol-style to native.
412 * PointF.cs: Use current culture in ToString(), set eol-style to native.
413 * PointConverter.cs: Take culture into account when converting to/from
414 string. Set eol-style to native.
415 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
417 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
419 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
421 * Graphics.jvm.cs: Fixed InterpolationMode property
423 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
425 * Graphics.jvm.cs: Fixed DrawImage
427 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
429 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
430 appears to be what MS.NET uses.
432 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
434 * Point.cs: Use invariant culture for converting numbers to string.
438 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
440 * Color.cs: Fixed ToString for uninitialized color.
441 * ColorConverter.cs: Support conversion from whitespace-only string to
442 Color.Empty. Fixed conversion from Color.Empty and known colors to
445 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
447 * Graphics.jvm.cs: Initial properties implementation
449 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
451 * Graphics.jvm.cs: DrawImage refactoring
453 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
455 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
456 Added UpdateInternalTransform
457 Fixed DrawImage, Transform, ConcatenateTransform
459 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
461 * Icon.jvm.cs: Internal constructor from bitmap
462 * Added SystemIcons.jvm.cs with implementation of SystemIcons
464 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
466 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
467 (all methods that use Graphics object)
469 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
471 * Graphics.jvm.cs: Refactoring
473 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
475 * Graphics.jvm.cs: Fixed Clear, Refactoring
477 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
479 * Graphics.jvm.cs: Fixed FillClosedCurve
481 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
483 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
484 rectangles touch each other.
486 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
488 * Graphics.jvm.cs: Fixed DrawCurve.
490 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
492 * StrokeFactory.jvm.cs: use correct stroke
494 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
496 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
499 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
501 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
503 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
505 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
508 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
510 * Graphics.jvm.cs: Refactoring
512 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
514 * Graphics.jvm.cs: Fixed DrawPolygon
516 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
518 * Graphics.jvm.cs: Refactoring
519 * Pen.jvm.cs: setting awt.Stroke as a base
521 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
523 * Graphics.jvm.cs: Refactoring
525 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
527 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
529 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
531 * Rectangle.cs: Intersect fixed
532 * RectandleF.cs: Intersect and Inflate fixed
534 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
536 * Point.cs: Produce same ToString result as dotnet
538 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
540 * Color.cs: GetHashCode is affected by Name, too
542 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
544 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
546 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
548 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
550 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
552 * SolidBrush.jvm.cs: fix a typo
554 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
556 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
557 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
558 Font.jvm.cs: Added TARGET_JVM implementation
560 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
562 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
564 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
566 * BasicShape.jvm.cs: Added TARGET_JVM specific class
568 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
570 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
572 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
574 * ColorTranslator.cs: (GH merge) recognise HTML system colors
576 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
578 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
580 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
582 * Color.cs: TARGET_JVM - NativeObject property
584 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
586 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
588 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
590 * RectangleF.cs: Fixes IsEmpty logic
592 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
594 * Graphics.cs: implements FromHwndInternal
597 2005-06-13 Peter Bartok <pbartok@novell.com>
599 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
600 through an intermediary step, which turns it into a 32bit version.
603 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
605 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
606 removed some unnecessary code
607 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
608 positions beyond the size of stream
610 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
612 * Font.cs: fix platform checks.
614 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
617 - Fixes is empty method IsEmpty logic
618 - Fixes Contains method logic
619 - Fixes IntersectsWith logic
622 - Fixes is empty method IsEmpty logic
623 - Fixes Contains method logic
624 - Fixes IntersectsWith logic
626 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
628 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
629 destructors. Some methods renamed. Removed unnecessary variables.
631 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
633 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
634 and modified the Palette property to call them. This non-
635 persistent behaviour was discovered by trial and error with
636 Microsoft's implementation. In fact, the Palette property
637 does not behave like a property at all! It is the only way an
638 instance of System.Drawing.Imaging.ColorPalette can be created,
639 and it reflects a backing store that is only updated when the
640 property 'set' method is called. Also updated Clone () since
641 the palette is no longer cached at image load time.
642 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
643 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
644 As such a function is not listed in MSDN nor given in
645 Microsoft's implementation, I have made it a private function
646 within the class that uses it.
648 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
650 * Graphics.cs: Revised DrawString methods
652 2005-03-22 Peter Bartok <pbartok@novell.com>
654 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
657 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
659 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
660 * gdipFunctions.cs: Modified conditional compilation syntax
661 * ComIStreamWrapper.cs: Modified conditional compilation syntax
662 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
664 2005-05-18 Marek Safar <marek.safar@seznam.cz>
666 * Bitmap.cs: Add null check into ctor.
668 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
670 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
671 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
672 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
674 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
676 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
678 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
680 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
681 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
682 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
683 * Image.cs: uses new Win32 Stream functions when need it
685 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
687 * Color.cs: Fix GetSaturation() again and remove
690 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
692 * Color.cs: New, correct implementations for GetHue(),
693 GetBrightness() and GetSaturation().
695 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
697 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
698 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
699 * Image.cs: Use PlatformID.Unix under NET_2_0.
701 2005-05-05 Miguel de Icaza <miguel@novell.com>
703 * Bitmap.cs, Icon.cs (constructor): Use
704 GetManifestResourceStream(Type,string) in the constructor that
707 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
709 * PointF.cs: Make serialization compatible with MS.
711 2005-04-10 Geoff Norton <gnorton@customerdna.com>
715 Use CGContextSynchronize instead of CGContextFlush. This saves
716 on average 20000 ticks per drawing operation.
718 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
720 * Color.cs: take into account the name color in == and != operators
721 * Font.cs: Use Equals instead of == to compare the family name
723 - Removes generic fontfamilies cache (done at libgdiplus level)
724 - Fixes Equals method
726 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
728 * Pen.cs: remove locks. They are done at gdiplus level
729 * Brush.cs: remove locks. They are done at gdiplus level
730 * Image.cs: remove locks. They are done at gdiplus level
732 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
734 * Icon.cs: Finished Icon(Type, String) ctor
736 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
738 * gdipFunctions.cs: fixes GdipGetImagePalette signature
739 * Image.cs: Implements Palette property using gdiplus
741 2005-03-17 Peter Bartok <pbartok@novell.com>
744 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
745 method, now includes a get header delegate
746 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
747 the image type even on non-seekable streams
748 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
749 via StreamGetHeaderImpl
750 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
751 the new StreamGetHeader delegate
753 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
755 * Pen.cs: Fixes dispose method to allow to be called multiple times
756 * Graphics.cs: matrix are saved and restored at gdiplus level
758 2005-02-24 Geoff Norton <gnorton@customerdna.com>
760 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
761 so they dont get garbage collected before use.
763 2005-02-11 Peter Bartok <pbartok@novell.com>
765 * gdipFunctions.cs: Fixed prototype to match previous checkin
767 2005-02-11 Peter Bartok <pbartok@novell.com>
769 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
770 it really is a pointer)
772 2005-02-10 Geoff Norton <gnorton@customerdna.com>
774 * Icon.cs: Implement GetObjectData ()
775 * Image.cs: Implement GetObjectData ()
777 2005-02-09 Geoff Norton <gnorton@customerdna.com>
779 * Icon.cs: Implement deserializer
780 * Bitmap.cs: Implement deserializer
782 2005-02-06 Ben Maurer <bmaurer@ximian.com>
784 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
786 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
788 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
790 2005-02-02 Jackson Harper <jackson@ximian.com>
792 * Region.cs: The default region constructor creates and infinite
793 region, not an empty one.
795 2005-01-27 Peter Bartok <pbartok@novell.com>
797 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
798 of HSV numbers. Previous implementation returned wrong numbers and NaN
801 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
803 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
804 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
805 : Implemented support for InstanceDescriptor.
807 2005-01-26 Peter Bartok <pbartok@novell.com>
809 * Icon.cs (ToBitmap): Now sets transparency in according to
812 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
814 * gdipFunctions.cs: Fixes GdipGet* function signatures
815 * FontFamily.cs: Fixes GdipGet* function calls
816 * Font.cs: Fixes ToString method
818 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
820 * Graphics.cs: calls XCloseDisplay on X11 when need it
821 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
823 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
825 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
827 2004-12-16 Peter Bartok <pbartok@novell.com>
829 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
830 equivalent to the gdi+ native object
832 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
833 equivalent to the gdi+ native object
835 2004-12-09 Geoff Norton <gnorton@customerdna.com>
837 * carbonFunctions.cs: New carbon functions/structures
838 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
840 2004-12-08 Geoff Norton <gnorton@customerdna.com>
842 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
843 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
845 2004-12-07 Geoff Norton <gnorton@customerdna.com>
847 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
848 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
850 2004-12-06 Miguel de Icaza <miguel@ximian.com>
852 * FontFamily.cs: This one is static.
854 2004-11-25 Ravindra <rkumar@novell.com>
856 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
857 type from int to Status type.
859 2004-11-25 Marek Safar <marek.safar@seznam.cz>
861 * Image.cs: Add CheckStatus to SaveAdd.
863 2004-11-22 Ravindra <rkumar@novell.com>
865 * Graphics.cs: Fixed null values handling in all overloads of
866 MeasureString method.
868 2004-11-18 Ravindra <rkumar@novell.com>
870 * gdipFunctions.cs: Removed the .so extension from a DllImport
873 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
875 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
878 2004-11-03 Miguel de Icaza <miguel@ximian.com>
880 * TextureBrush.cs (Clone): While cloning, it is not enough to let
881 GDIPlus clone the underlying data, we must alos clone the managed
884 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
885 errors in the future, set the lock on the object before doing any
886 other tests, not after.
888 (Clone): While cloning, it is not enough to let
889 GDIPlus clone the underlying data, we must alos clone the managed
892 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
893 errors in the future.
895 Set the lock in the object before checkign disposed.
897 * SolidBrush.cs (Clone): While cloning, it is not enough to let
898 GDIPlus clone the underlying data, we must alos clone the managed
901 (Dispose): Set the nativeObject to IntPtr.Zero to catch
902 errors in the future.
904 2004-10-28 Ravindra <rkumar@novell.com>
906 * gdipFunctions.cs: Added checks for null stream in the
907 StreamHelper internal class.
908 * Icon.cs: Removed an ugly hack that used temp files in
909 ToBitmap () method. We use MemoryStream instead.
911 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
913 * Font.cs: fixes bug 66533
915 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
917 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
918 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
919 lock operations after conversation with Miguel. Do not really
922 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
924 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
926 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
928 * Bitmap.cs: Fixes MakeTransparent method
930 2004-10-13 Ravindra <rkumar@novell.com>
932 * Graphics.cs: Moved the initialization of 'use_x_drawable'
933 member out of private constructor to class initialization.
934 So that, we get it right even if Graphics is not instantiated.
935 This fixes the problem we face (otherwise) when we make first
936 call to Graphics.FromHwnd () method.
938 2004-10-08 Ravindra <rkumar@novell.com>
940 * Image.cs: Suppress finalization in Dispose () method.
942 2004-10-04 Ravindra <rkumar@novell.com>
944 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
946 2004-09-29 Jackson Harper <jackson@ximian.com>
948 * Graphics.cs: Use FromHdcInternal to set the X display
949 handle. Add a flag to check if we are on unix so we aren't calling
950 Environment.OSVersion.Platform all the time. Mad props to Peter
953 2004-09-17 Marek Safar <marek.safar@seznam.cz>
955 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
956 ToLogFont: Implemented.
958 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
960 GdipCreateFontFromLogfontA: A new extern call.
962 2004-09-13 Ravindra <rkumar@novell.com>
964 * Graphics.cs: MSDN says that using image width and height gives
965 better performance, hence we are using image width and height to
966 avoid autoscaling in DrawImageUnscaled.
968 2004-09-10 Ravindra <rkumar@novell.com>
970 * Graphics.cs: Implemented DrawIcon methods and fixed
971 DrawImageUnscaled method implementation.
973 2004-08-21 Jackson Harper <jackson@ximian.com>
975 * ImageAnimator.cs: Run animator as a background thread so we do
978 2004-08-21 Ravindra <rkumar@novell.com>
980 * gdipFunctions.cs: Modified exception message to include the case
981 of missing required libraries for different formats.
983 2004-08-10 Jackson Harper <jackson@ximian.com>
985 * SystemColors.cs: Make Highlight colour match colour from windows
986 classic color scheme.
988 2004-07-30 Ravindra <rkumar@novell.com>
990 * Font.cs: Fixed Height property implementation and implemented
991 GetHeight method and its overloads.
993 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
995 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
996 P/Invoke function for Image.
997 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
999 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1001 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1002 GdipGetAllPropertyItems P/Invoke function for Image.
1003 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1004 * Image.cs: Corrected implementation of PropertyItems property.
1006 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1008 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1009 P/Invoke function for Image.
1010 * Image.cs: Changed implementation of PropertyIdList property.
1012 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1014 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1015 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1017 2004-07-21 Ravindra <rkumar@novell.com>
1019 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1020 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1022 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1024 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1025 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1026 * gdipFunctions.cs: new GDI function calls
1028 2004-07-16 Ravindra <rkumar@novell.com>
1030 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1032 2004-07-15 Ravindra <rkumar@novell.com>
1034 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1036 2004-07-13 Ravindra <rkumar@novell.com>
1038 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1039 This was redundant. It was kept in previous checkin to avoid
1042 2004-07-13 Ravindra <rkumar@novell.com>
1044 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1046 2004-07-09 Peter Bartok <pbartok@novell.com>
1047 * Graphics.cs: Added support required for new managed SWF library
1048 * gdipFunctions.cs: Added XOpenDisplay definition/import
1050 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1052 * gdipFunctions.cs: fixes bug 61050
1054 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1056 * ImageAnimator.cs: Rewrote complete implementation.
1058 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1060 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1061 If read function was called after seek function call, the
1062 implementation was returning data from bytes already peeked and
1063 not from the new position in stream, which we have seeked.
1065 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1067 * Graphics.cs: added MeasureString wrappers
1069 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1071 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1073 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1075 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1077 2004-06-18 Ravindra <rkumar@novell.com>
1079 * FontConverter.cs: Implemented the missing functions.
1080 * Font.cs: Added some notes.
1082 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1084 * gdipFunctions.cs: Modified Function signature for
1085 GdipSaveImageToDelegate_linux() method for saving tiff images
1087 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1090 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1092 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1093 and Size, required by TIFFCodec. Modifed Function signature for
1094 GdipLoadImageFromDelegate_linux() method.
1095 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1098 2004-06-11 Ravindra <rkumar@novell.com>
1100 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1101 from out int to out IntPtr.
1102 * SolidBrush.cs: Same.
1104 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1106 * Image.cs: API signature fixes, meaning DisposeResources is now
1107 private and marked InitFromStream internal
1109 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1111 * FontFamily.cs: simplifies object destruction and fixes
1113 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1115 * FontFamily.cs: added destructor
1116 * Graphics.cs: added destructor to stop leaking, remove debugging code
1119 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1121 * gdipFunctions.cs: added GdipSaveAddImage
1122 * Image.cs: added SaveAdd methods
1124 2004-06-02 Peter Bartok <pbartok@novell.com>
1125 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1126 (This fixes bug #59479)
1128 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1130 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1131 * Region.cs: Removed extra ComVisible attribute from Clone().
1133 2004-06-01 Ravindra <rkumar@novell.com>
1135 * Pen.cs: Added a note on Dispose method.
1136 * Brush.cs: Fixed Dispose method.
1137 * SolidBrush.cs: Fixed Dispose method.
1139 2004-05-28 Ravindra <rkumar@novell.com>
1141 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1143 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1144 rectangles implementation (This is basically done to avoid lots
1145 of brush and pen setup happening in libgdiplus.)
1147 2004-05-27 Ravindra <rkumar@novell.com>
1149 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1151 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1153 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1156 2004-05-26 Ravindra <rkumar@novell.com>
1158 * Color.cs: Corrected Color.Green property.
1160 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1161 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1163 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1165 * Icon.cs: Fixed issue with size property.
1167 2004-05-18 Ravindra <rkumar@novell.com>
1169 * Pen.cs: Added value checks in DashPattern and CompoundArray
1172 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1174 * Graphics.cs: fixed warning
1175 * ImageAnimator.cs: fixed warning
1176 * FontConverter.cs: fixed public API
1178 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1180 * gdipFunctions.cs: Fixed prototype for
1181 GdipGetEncoderParameterList
1183 * Image.cs: Reworked Save functions to handle EncoderParameters.
1184 Implemented GetEncoderParameterList
1185 Also removed unused setGDIPalette internal method.
1187 2004-05-14 Peter Bartok <pbartok@novell.com>
1188 * StringFormat.cs: Added CharacterRange handling
1189 * Graphics.cs: Implemented MeasureCharacterRanges method
1191 2004-05-14 Peter Bartok <pbartok@novell.com>
1192 * Graphics.cs: Added error check
1194 2004-05-14 Duncan Mak <duncan@ximian.com>
1195 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1196 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1197 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1199 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1200 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1202 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1203 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1205 2004-05-13 Peter Bartok <pbartok@novell.com>
1206 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1209 2004-05-12 Peter Bartok <pbartok@novell.com>
1210 * Image.cs: Implemented GetThumbnailImage
1212 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1213 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1214 FromXDrawable(IntPtr, IntPtr) internal.
1216 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1217 * Color.cs: work for API compatibilty: private date, todos
1218 * Font.cs: work for API compatibilty: private date, todos
1219 * FontFamily.cs: work for API compatibilty: private date, todos
1220 * Graphics.cs: work for API compatibilty: private date, todos
1221 * Icon.cs: work for API compatibilty: private date, todos
1222 * Image.cs: work for API compatibilty: private date, todos
1223 * ImageAnimator.cs: work for API compatibilty: private date, todos
1224 * Point.cs: work for API compatibilty: private date, todos
1225 * PointF.cs: work for API compatibilty: private date, todos
1226 * Rectangle.cs: work for API compatibilty: private date, todos
1227 * RectangleF.cs: work for API compatibilty: private date, todos
1228 * Region.cs: work for API compatibilty: private date, todos
1229 * Size.cs: work for API compatibilty: private date, todos
1230 * SizeF.cs: work for API compatibilty: private date, todos
1231 * SolidBrush.cs: work for API compatibilty: private date, todos
1232 * StringFormat.cs: work for API compatibilty: private date, todos
1233 * SystemPens.cs: work for API compatibilty: private date, todos
1234 * TextureBrush.cs: work for API compatibilty: private date, todos
1235 * gdipStructs.cs: work for API compatibilty: private date, todos
1237 2004-05-12 Ravindra <rkumar@novell.com>
1239 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1240 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1241 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1242 Added missing attributes and some coding style fixes.
1243 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1246 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1248 * ImageAnimator.cs: Implemented first version.
1250 2004-05-11 Ravindra <rkumar@novell.com>
1252 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1255 2004-05-10 Ravindra <rkumar@novell.com>
1257 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1258 for the same. Added few related P/Invokes for Pen also.
1260 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1262 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1264 2004-05-06 Ravindra <rkumar@novell.com>
1266 * RectangleConverter.cs: Implemented GetProperties () method.
1267 * SizeConverter.cs: Implemented GetProperties () method.
1268 * PointConverter.cs: Implemented GetProperties () method.
1269 * FontConverter.cs: Implemented some of the methods.
1271 2004-05-06 Ravindra <rkumar@novell.com>
1273 * Color.cs: Fixed Name property.
1274 * ColorTranslator.cs: Fixed the existing methods and implemented
1275 the missing methods.
1276 * ColorConverter.cs: Fixed the existing methods and implemented
1277 the missing methods. Also, fixed coding style.
1279 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1280 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1282 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1283 * Image.cs: raw_format should be handled by GDI+
1284 * Bitmap.cs: raw_format should be handled by GDI+
1286 2004-05-04 Ravindra <rkumar@novell.com>
1288 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1289 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1290 properties and SetLineCap method. In constructors use IntPtr instead
1292 * SolidBrush.cs: Modified exception message.
1293 * TextureBrush.cs: Fixed Transform property.
1294 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1295 LinearGradientBrush.cs.
1297 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1299 * Image.cs: Implemented FrameDimensionsList property.
1301 2004-04-30 Ravindra <rkumar@novell.com>
1303 * gdipFunctions.cs: Added few more P/Invoke calls for
1304 lineargradient brush and added one case statement in
1307 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1309 * Image.cs: takes into account MemoryBmp format when saving
1311 2004-04-30 Ravindra <rkumar@novell.com>
1313 * StringFormat.cs: Added checks for status.
1315 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1317 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1318 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1320 2004-04-30 Ravindra <rkumar@novell.com>
1322 * Graphics.cs: Added checks for status.
1323 * Image.cs: Added a check for status.
1324 * FontFamily.cs: Added checks for status.
1326 2004-04-29 Peter Bartok <pbartok@novell.com>
1328 * Brushes.cs: Fixed bug #52695. No longer creates a new
1329 brush for every request and behaves Microsoft compatible
1331 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1333 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1334 its ClsID instead of the formatID (as GDI+ expects)
1336 2004-04-29 Ravindra <rkumar@novell.com>
1338 * Font.cs: Added checks for status.
1339 * Bitmap.cs: Added checks for status.
1340 * Pen.cs: Added checks for status.
1342 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1344 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1345 Converted to unix format from dos format.
1347 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1349 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1351 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1353 * gdipStructs.cs: added GdipImageCodecInfo struct
1355 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1357 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1359 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1361 * ImageConverter.cs: Added exception message.
1362 * IconConverter.cs: Added exception message.
1363 * ImageFormatConverter.cs: Implemented first version.
1365 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1367 * ImageConverter.cs: Implemented first version.
1369 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1371 * IconConverter.cs: Implemented first version.
1373 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1375 * Image.cs: Corrected implementation of Property RawFormat.
1376 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1378 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
1380 * Bitmap.cs: Resolved a compile time error.
1381 * Image.cs: Changed the implementation of few methods to progress
1382 with ImageAnimator class.
1383 * gdipFunctions.cs: Added few linux only function calls.
1384 * Icon.cs: Removed unused variable from code.
1386 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
1388 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1390 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
1392 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1393 serialization for Bitmaps. (Bugzilla #52568)
1395 2004-04-23 Ravindra <rkumar@novell.com>
1397 * RectangleConverter.cs: Fixed ConvertTo () method.
1398 * SizeConverter.cs: Fixed ConvertTo () method.
1399 * PointConverter.cs: Fixed ConvertTo () method.
1401 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1402 * ImageAnimator.cs: Implemented CanAnimate() method.
1404 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1405 * Image.cs: added RotateFlip and RemovePropertyItem calls
1407 2004-04-22 Ravindra <rkumar@novell.com>
1409 * RectangleConverter.cs: Implemented. Also changed file format
1411 * Rectangle.cs: Fixed ToString method.
1412 * RectangleF.cs: Fixed ToString method.
1414 2004-04-22 Ravindra <rkumar@novell.com>
1416 * SizeConverter.cs: Implemented some of the functions.
1417 * PointConveter.cs: Implemented.
1418 * gdipFunctions.cs: Corrected one typo.
1419 * Brushes.cs: Added a comment.
1421 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
1423 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1424 returning portions of the peek buffer back. Fixes #57379.
1426 2004-04-21 Peter Bartok <pbartok@novell.com>
1427 * Font.cs: Implemented Font.FromHfont method
1428 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
1429 * gdipFunctions.cs: Added imports for functions required to support
1430 Font.FromHfont method
1432 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1433 * RectangleConverter.cs: stubbed out
1434 * Font.cs : added missing members
1436 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
1437 * Icon.cs: Fixed problem in extracting bitmap from Icon.
1439 2004-04-16 Ravindra <rkumar@novell.com>
1441 * Pen.cs: GC should be allowed to collect any pen including
1443 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
1444 including system brushes.
1445 * Brushes.cs: Coding style.
1446 * Pens.cs: Objects created by Pens are not modifiable on
1447 MS.NET, so we are now. Also, coding style fixes.
1448 * SystemPens.cs: Removed static constructor and changed file
1450 * SystemBrushes.cs: Some cosmetic changes.
1452 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
1453 * Icon.cs: Implemented more missing bits and fixed the problem
1454 of icon not getting saved in proper format
1456 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
1457 * Icon.cs: Implemented more missing bits
1459 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
1460 * Icon.cs: Implemented few more missing bits
1462 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
1463 * Icon.cs: Implemented first version
1465 2004-04-11 Peter Bartok <pbartok@novell.com>
1466 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
1467 the code and using our own private gdiplus function when on Unix and using Win32
1468 functions when running on Windows
1469 * gdipStructs.cs: Added LOGFONTA structure
1470 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
1472 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1474 * Image.cs: Save should use encoder.FormatID, not Clsid
1476 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1477 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1478 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1480 2004-04-06 Duncan Mak <duncan@ximian.com>
1482 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1484 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1485 * Region.cs: fixes GetRegionScans
1486 * gdipFunctions.cs: fixes GetRegionScans
1488 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
1490 * gdipFunctions.cs: Added stream delegate helpers for
1491 stream loading/saving on linux
1493 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1494 loading/saving image data.
1496 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1497 * Region.cs: implemented new methods
1498 * Graphics.cs: implemented new methods
1500 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
1501 * Region.cs: implemented
1503 2004-04-01 Duncan Mak <duncan@ximian.com>
1505 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1507 * gdipFunctions.cs (GdipAddPathCurveI):
1508 (GdipAddPathCurve2, GdipAddPathCurve2I):
1509 (GdipAddPathCurve3, GdipAddPathCurve3I):
1510 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1511 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1514 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1515 * Image.cs: implemented a few GDI+ wrapper calls
1517 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1518 * Bitmap.cs: remove redundant data already present at Image.cs
1519 * Image.cs: use GDI+ functions to get image details
1520 * StringFormat.cs: missing constructor and property
1522 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1523 * FontFamily.cs: added missing members and style clean
1524 * Graphics.cs: fixed signature of DrawArc and DrawPie
1525 * Image.cs: added missing members, fixes
1526 * StringFormat.cs: missing constructor and property
1528 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1529 * Graphics.cs: Added missing DrawImage GDI+ calls
1530 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
1532 2004-03-23 Ravindra <rkumar@novell.com>
1533 * gdipFunctions.cs: Added few more P/Invoke calls for
1534 LinearGradientBrush.
1536 2004-03-22 Ravindra <rkumar@novell.com>
1537 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1538 and did few coding style fixes.
1540 2004-03-18 Ravindra <rkumar@novell.com>
1541 * Brush.cs: Fixed Dispose method.
1542 * SolidBrush.cs: Fixed clone method.
1543 * TextureBrush.cs: Fixed clone method.
1544 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
1546 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1548 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1550 2004-03-10 Ravindra <rkumar@novell.com>
1551 * Pen.cs: Implemented PenType property.
1552 * Brush.cs: Coding style.
1554 2004-03-06 Ravindra <rkumar@novell.com>
1555 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1556 for PathGradientBrush.
1558 2004-03-06 Ravindra <rkumar@novell.com>
1559 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1562 2004-03-04 Duncan Mak <duncan@ximian.com>
1564 * Region.cs: Indentation.
1566 * RectangleF.cs: Changed the internal structure from a PointF,
1567 SizeF to floats in order to match the layout from the C API.
1569 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
1570 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1572 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1573 * gdipFunctions.cs: Added functions for ImageAttributes
1575 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1576 * Icon.cs: Missing function stubs added
1577 * Icon.cs: Missing function stubs added
1578 * IconConverter.cs: Missing function stubs added
1579 * ImageAnimator.cs: Missing function stubs added
1580 * ImageConverter.cs: Missing function stubs added
1581 * ImageFormatConverter.cs: Missing function stubs added
1583 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1584 * Font.cs: Allow multiple styles
1586 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1587 * StringFormat.cs: Clone method
1589 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1590 * font.cs: fixes, Clone, and ToString
1592 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
1593 * gdipFunctions.cs: MeasureString
1594 * Graphics.cs : MeasureString
1596 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1597 * Font.cs: destructor and unit conversion
1598 * Graphics.cs : system dpi support
1600 2004-02-13 Ravindra <rkumar@novell.com>
1601 * Pen.cs: Fixed some bugs.
1602 * TextureBrush.cs: Fixed some bugs.
1604 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
1605 * gdipFunctions.cs: Added ImageCodecInfo functions
1606 * Image.cs: Added few methods
1608 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
1609 * FontFamily.cs: remove hardcoded font names, a few bug fixes
1611 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
1612 * gdipFunctions.cs: Added Image class functions
1613 * Image.cs: Added few methods
1615 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1616 * graphics.cs: fixes parameters for DrawStrings functions
1618 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1620 * SRDescriptionAttribute.cs: Added and implemented
1621 * ToolboxBitmapAttribute.cs: Implemented a few members
1622 * SystemIcons.cs: Stubbed
1623 * StringFormat.cs: Implemented method
1624 * Region.cs: Added Todo, fixed attribute
1625 * Size.cs: Added attribute
1626 * SizeF.cs: Added attribute
1627 * RectangleF.cs: Added attributes
1628 * Rectangle.cs: Added attributes
1629 * PointF.cs: Added attribute
1630 * Point.cs: Added attribute
1632 2004-02-06 Ravindra <rkumar@novell.com>
1634 * Brush.cs: Renamed GetException method to CheckStatus
1635 and moved it to gdipFunctions.cs.
1636 * gdipFunctions.cs: Added CheckStatus method.
1637 * SolidBrush.cs: Using CheckStatus method.
1638 * TextureBrush.cs: Using CheckStatus method.
1639 * gdipEnums.cs: Added a missing value.
1641 2004-02-05 Ravindra <rkumar@novell.com>
1643 * Brush.cs: Added a missing namespace.
1645 2004-02-05 Ravindra <rkumar@novell.com>
1647 * gdipFunctions.cs: Added methods for HatchBrush and
1649 * SolidBrush.cs: Added checks for status.
1650 * Brush.cs: Added support for HatchBrush and TextureBrush
1651 types in internal CreateBrush() method.
1653 2004-02-03 Jordi Mas <jordi@ximian.com>
1654 * Font.cs: Setup font properties
1656 2004-02-03 Ravindra <rkumar@novell.com>
1658 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
1659 method from TextureBrush.cs to Brush.cs.
1660 * Brush.cs: Made GetException (Status) method internal.
1662 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
1664 * gdipFunctions.cs: Added methods for Image class.
1666 2004-01-30 Ravindra <rkumar@novell.com>
1668 * TextureBrush.cs: Added more methods to complete it.
1669 * gdipFunctions.cs: Added methods for TextureBrush class.
1671 2004-01-30 Ravindra <rkumar@novell.com>
1673 * gdipFunctions.cs: Added methods for TextureBrush class.
1675 2004-01-30 Ravindra <rkumar@novell.com>
1677 * Pen.cs: Modified to handle TextureBrush also.
1678 * Bitmap.cs: Added one internal constructor.
1679 * TextureBrush.cs: Implemented.
1681 2004-01-29 Duncan Mak <duncan@ximian.com>
1684 * Graphics.cs: Indentation fixes, removed long dangling lines and
1687 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1690 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1692 * FontFamily.cs: Implemented few methods and a constructor
1694 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1696 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1697 * FontFamily.cs: Implemented missing functionalities.
1699 2004-01-24 Duncan Mak <duncan@ximian.com>
1701 * Graphics.cs (DrawPath): Implemented.
1703 2004-01-23 Ravindra <rkumar@novell.com>
1705 * Point.cs: ToString modified.
1706 * PointF.cs: ToString modified.
1707 * Size.cs: ToString modified.
1708 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1711 2004-01-21 Jordi Mas i Hernàndez
1712 * Bitmap.cs: Several new methods added.
1714 2004-01-21 Duncan Mak <duncan@ximian.com>
1716 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1717 OutAttribute to the array argument. This fixes the PathPoints
1718 property in System.Drawing.Drawing2D.GraphicsPath.
1720 2004-01-20 Ravindra <rkumar@novell.com>
1722 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1723 this property was hanging and getting was throwing a NullRef
1724 Exception. Earlier we were passing Matrix object to and fro
1725 which was causing the problem. Now, we are using IntPtr.
1726 Thanks to Duncan for helping me.
1727 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1728 together. If color is set, a SolidBrush automatically gets
1729 set with the same color, Pen loses the old brush object.
1730 If a SolidBrush is set, Pen.Color gets the value same as that
1731 of brush color losing the old value. Pen shows this behavior
1733 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1734 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1736 2004-01-19 Duncan Mak <duncan@ximian.com>
1738 * gdipFunctions.cs: Import functions for GraphicsPath.
1740 2004-01-14 Ravindra <rkumar@novell.com>
1742 * SolidBrush.cs: Made SolidBrush to initialize its color
1745 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1747 2004-01-11 Duncan Mak <duncan@ximian.com>
1749 * Bitmap.cs (LockBits):
1750 * Graphics.cs (DrawString): Removed reference to GpRectF.
1752 2004-01-09 Duncan Mak <duncan@ximian.com>
1754 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1755 Removed. Didn't know that structs are laid out sequentially by
1756 default. We don't need these anymore.
1758 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1760 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1762 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1764 * Graphics.cs: fix compile error on Windows builds for out
1765 parameter state in call to GdipSaveGraphics
1767 2004-01-10 Ravindra <rkumar@novell.com>
1769 * All Enums: Made serializable.
1771 * Image.cs: Corrected signature of Dispose(bool) method.
1773 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1774 Corrected coding style mistakes of my previous commit.
1776 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1778 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1780 * StringFormat.cs: Inherits MarshalByRefObject.
1782 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1784 2004-01-08 Ravindra <rkumar@novell.com>
1786 * Pen.cs: Added isModifiable (bool) variable. It is required to
1787 make Pens created by SystemPens.cs unmodifiable. All property
1788 setters are modified for this.
1790 * SolidBrush.cs: Added isModifiable variable (bool). It is
1791 required to make Brushes created by SystemBrushes.cs unmodifiable.
1792 All property setters are modified for this.
1794 * SystemBrushes.cs: Modified all the properties as per the .NET
1795 specs, so that Brushes are not created every time. Also, missing
1796 properties are added.
1798 * SystemPens.cs: Modified all the properties as per the .NET
1799 specs, so that Brushes are not created every time. Also, missing
1800 properties are added.
1802 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1804 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1807 2004-01-06 Duncan Mak <duncan@ximian.com>
1809 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1811 2003-12-21 Duncan Mak <duncan@ximian.com>
1813 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1814 up to the GDI+ implementation.
1815 (RotateTransform): Uncommented.
1817 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1820 2003-12-13 Todd Berman <tberman@sevenl.net>
1822 * Font.cs: Implementing a couple things for porting purposes
1823 * SystemBrushes.cs: ^
1824 * StringFormat.cs: ^^
1826 2003-11-28 Duncan Mak <duncan@ximian.com>
1828 * Pen.cs (CompoundArray): Hide this for now.
1830 2003-11-28 Duncan Mak <duncan@ximian.com>
1832 * Brush.cs (CreateBrush): new internal factory method for creating
1833 specific brushes based on the internal (GDI+ C API) BrushType
1835 (Brush (IntPtr)): new internal constructor.
1837 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1839 (Pen (IntPtr)): new internal constructor.
1840 (Pen (Brush, float)): Use GdipCreateBrush2.
1841 (Clone): Implemented using GdipClonePen.
1842 (Alignment, Brush, Color, Width): Use GDI+ implementations
1844 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1845 Implemented these properties.
1846 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1847 (MultiplyTransform, ResetTransform, RotateTransform):
1848 (ScaleTransform, TranslateTransform): Implemented these methods.
1850 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1852 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1854 * gdipFunctions.cs: Imported new Brush and Pen functions.
1856 2003-11-22 Duncan Mak <duncan@ximian.com>
1859 (GdipResetWorldTransform, GdipSetWorldTransform):
1860 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1862 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1863 (transform): Removed this field. Always use the
1864 matrix associated in the GpGraphics ptr.
1865 (DrawBeziers): Implemented.
1866 (DrawLine): Don't need to manually invoke the transform now.
1867 (MultiplyTransform, ResetTransform):
1868 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1869 (Transform): Instead of storing a Matrix in managed code, use
1870 equivalent GDI+ functions.
1872 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1874 * SizeConverter.cs: fixed class signature and implemented some methods.
1876 2003-11-17 Duncan Mak <duncan@ximian.com>
1878 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1880 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1882 2003-11-17 Duncan Mak <duncan@ximian.com>
1884 * Bitmap.cs (LockBits):
1885 * Graphics.cs (DrawString): Use GpRectF.
1887 * gdipFunctions.cs: Updated method signatures.
1889 * Graphics.cs (MultiplyTransform): Implemented using
1890 GdipMultiplyWorldTransform from GDI+.
1892 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1893 GpRect, to be more consistent with the C naming.
1895 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1897 * Graphics.cs: Implement the other DrawString overloads .
1899 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1901 * gdipStructs.cs (GdipRectF): Added utility constructor
1903 2003-11-15 Duncan Mak <duncan@ximian.com>
1905 * gdipFunctions.cs: Imported matrix functions.
1907 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1909 * Bitmap.cs: Added Attributes
1910 * ColorTranslator.cs: Added private constructor
1911 * Font.cs: Added Attributes
1912 * FontFamily.cs: sealed
1913 * Icon.cs: Added Attributes
1914 * IconConverter.cs: Fixed signature
1915 * Image.cs: Added attributes
1917 * ImageConverter.cs:
1918 * ImageFormatConverter.cs:
1925 * TextureBrush.cs: Fixed signature
1926 * Color.cs: Added attributes
1931 * SizeF.cs: Added attributes
1932 * ContentAlignment.cs: Added attribute
1934 2003-11-13 Duncan Mak <duncan@ximian.com>
1936 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1939 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1940 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1941 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1943 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1945 * gdipFunctions.cs copy image in Bitmap constructor
1947 2003-11-06 Duncan Mak <duncan@ximian.com>
1948 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1949 angle parameters for the integer case.
1950 (DrawBezier): Hook it up with GdipDrawBezier.
1951 (DrawEllipse): Fix Width, Height ordering.
1953 2003-11-05 Duncan Mak <duncan@ximian.com>
1955 * Graphics.cs (DrawPie):
1956 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1959 2003-10-28 Duncan Mak <duncan@ximian.com>
1961 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1962 (FillEllipse, FillPolygon): implemented.
1963 (RenderingOrigin): implemented.
1965 * gdipFunctions.cs: Added new GDI+ equivalents.
1967 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1969 * Image.cs small fixes
1971 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1973 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1975 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1977 * SystemBrushes.cs: Some more brushe3s.
1979 * SystemPens.cs: More pens.
1981 * Pen.cs: Implement IDisposable, ICloneable.
1983 * Region.cs: Add some more stubs here.
1985 * StringFormat.cs: Add some more code here.
1987 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1989 * Image.cs: Kill the InternalImageInfo, everything is now done in
1990 terms of Image and BitmapData.
1992 * Rectangle.cs: Make this one also sequential, change from using
1993 Point + Size to use x, y, width, height; So we can use GdiPlus.
1995 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1996 BitmapData class argument, and instead use the [In,Out]
1997 attributes, which will do struct marshalling on the fields. Now
1998 we can use C#'s BitmapData directly to talk to Gdiplus.
2000 * gdipStructs.cs: Every internal structure that has to talk to
2001 Gdi+ is properly prefixed, to minimize the confussion.
2003 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2004 Compute the stride here where we have the BPP information,
2005 allocate a buffer of the proper size, and pass this to
2006 GdipCreateBitmapFromScan0
2008 * Image.cs: Implement Dispose pattern.
2010 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2013 * gdipStructs.cs DrawString function added
2015 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2018 * gdipStructs.cs added
2021 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2030 implementation changed to gdi+
2032 2003-09-08 Duncan Mak <duncan@ximian.com>
2034 * Factories.cs (DefaultImplementationNamespace): Change it from
2035 "XrImpl" to "Cairo".
2037 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2039 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2042 2003-08-08 Duncan Mak <duncan@ximian.com>
2044 * Graphics.cs (DrawBezier): Fixed.
2046 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2047 * Graphics.cs delegate Dispose to implementation
2049 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2051 * FontConverter.cs: stub it out so that system.web compiles.
2053 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2054 * Image.cs InternalImageInfo class improved
2056 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2058 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2059 is set, default to Win32Impl
2061 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2062 * Image.cs implementation added
2064 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2066 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2068 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2070 * StringFormat.cs: Changes to become CLS-compliant
2072 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2074 * Factories.cs: Remove debugging message.
2076 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2077 * Color.cs code generation program modified
2079 2003-06-29 Alexandre Pigolkine
2080 * Graphics.cs image drawing
2082 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2085 supply KnowColor enum value to save Enum.Parse at runtime
2087 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2088 * Graphics.cs coordinate transformations
2089 * Image.cs small fix
2091 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2093 * FontFamily.cs more implementation
2095 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2097 * FontFamily.cs more implementation
2099 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2100 * Graphics.cs few more calls to implementation
2102 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2103 * Bitmap.cs BITMAP declaration removed
2104 * Graphics.cs few more calls to implementation
2105 * Image.cs InternalImageInfo structure, image read/write functions
2108 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2109 * Factories.cs analyse environment variable and machine.config to select implementation
2110 * Image.cs PixelFormat property added
2112 2003-04-30 Nick Drochak <ndrochak@gol.com>
2114 * Factories.cs: Change weird characters that broke build on windows.
2116 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2118 * ColorConverter.cs:
2119 (ConvertFrom): return a system or named color if there's one that fits
2120 teh values parsed with Color.FromArgb.
2122 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2132 delegate function calls to implementation
2134 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2138 * SystemBrushes.cs switch to Linux style line terminators
2140 2003-03-29 Alan Tam <Tam@SiuLung.com>
2141 * ToolboxBitmapAttribute
2142 stubbed more constructors and fixed base class
2144 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2146 added stubs to compile SWF
2149 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2154 small changes to be able to run SWF apps
2156 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2158 * Graphics.cs: stubbed out all the methods.
2160 2003-02-08 Piers Haken <piersh@friskit.com>
2162 * fixed case of pens.cs and font.cs
2164 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2171 2002-11-21 Dennis Hayes (dennish@raytek.com)
2172 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2176 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2178 * ColorTranslator.cs (FromHtml): Implement.
2180 2002-10-14 Dennis Hayes (dennish@raytek.com)
2182 * changed using namespace from Drawing2d to Drawing2D
2184 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2186 * Fixes the enum values in the following enums
2187 * ContentAlignment.cs:
2191 * RotateFlipType.cs:
2192 * StringAligment.cs:
2193 * StringDigitSubstitute.cs:
2194 * StringFormatFlags.cs:
2195 * StringTrimming.cs:
2197 * SolidBrush.cs: Easy implementation
2198 * Brushes.cs: Implementation based on SolidBrush and Color class.
2199 * Brush.cs: Fixes based on the status web).
2200 * CharacterRange.cs: Implemented the missing Lenth property.
2202 2002-9-14 Dennis Hayes (dennish@raytek.com)
2205 * removed personal template that should not have been checked in
2207 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2212 2002-9-14 DennisHayes <dennish@raytek.com>
2220 * ImageFormatConverter.cs
2222 * RectangleConverter.cs
2231 * ToolboxBitmapAttribute.cs
2232 * Added null classes for most/all classes, Many stubs, and some implmentation
2234 2002-9-2 DennisHayes <dennish@raytek.com>
2241 * Added stubs, implmentation
2243 2002-9-2 DennisHayes <dennish@raytek.com>
2245 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2246 but this should at least save someone some typing.
2247 * CharacterRange.cs :Implmented
2248 * Region.cs : stub needed for system.windows.forms
2250 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2252 * ColorTranslator.cs: use Color.Name.
2254 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2256 * Color.cs: implemented SystemColors and NamedColors properties that
2257 are used by ColorConverter, removed public constructor, use
2258 SystemColors, and misc. fixes to make it behave as MS (ToString,
2259 parsing names, FromKnownColor,...).
2261 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2262 trying to get the color from its name.
2264 * SystemColors.cs: new file.
2266 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2268 * Color.cs: changed static properties to use FromArgbNamed. Also
2269 modified the program included in comments that get the values for
2272 (FromArgbNamed): build named colors.
2273 (FromKnownColor): fixed.
2274 (FromName): use a hash to look up colors by name.
2275 (FillColorNames): create the hash of colors.
2276 (Equals): compare values and name.
2277 (ToString): improved.
2279 * ColorTranslator.cs: implemented ToHtml.
2281 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2283 * Color.cs: added TypeConverter attribute.
2285 * ColorConverter.cs: added constructor.
2287 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2289 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2291 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2293 * Bitmap.cs : using System.IO
2294 * ColorTranslator.cs : Stubbed off build breakers.
2295 * Image.cs : Stub off IDisposable and ICloneable.
2297 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2299 * Bitmap.cs: Ximian is the new copyright holder now.
2302 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2304 * Uppercased several files.
2306 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2308 * color.cs: Fixed a typo in GetSaturation ().
2310 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2312 * Bitmap.cs: Added method headers.
2314 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2316 * Bitmap.cs: Added, no implementation's done, yet.
2318 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2320 * Rectangle.cs : Add a doc comment.
2321 * RectangleF.cs : New struct implementation.
2323 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2325 * Rectangle.cs : New struct implementation.
2327 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2329 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2331 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2333 * Point.cs : New. Implementation of System.Drawing.Point struct.