1 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
3 * FontFamily.jvm.cs: DrawMargin, refactoring.
5 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
7 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
8 Differentiate standard and AntiAlias stroking
10 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
12 * Graphics.jvm.cs: added UnitConversion property
13 * FontFamily.jvm.cs: refactoring
14 * Font.jvm.cs: refactoring
16 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
19 - Implemented serialization constructor
20 - Implemented GetObjectData()
22 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
24 * StringFormat.jvm.cs: Refactoring
26 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
28 * Image.cs: Default format for MemoryBMP should be Png
30 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
32 * Bitmap.jvm.cs: fixed InternalSave
33 * Image.jvm.cs: fixed Save
35 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
37 * Image.jvm.cs: fixed redolution properties
39 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
41 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
42 fixed clone, Initialize
44 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
46 * Brush.cs: Don't delete the brush if the display handle is no longer
47 valid, otherwise cairo will try to use the handle and crash and burn
49 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
51 * Graphics.jvm.cs: DrawImage refactoring
53 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
55 * Graphics.jvm.cs: Clipping refactoring
56 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
57 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
58 TranslateClip, VisibleClipBounds
60 2005-10-21 Miguel de Icaza <miguel@novell.com>
62 * Pen.cs: Add support for returning the Brush from Pens created
63 with a color constructor.
65 Plus: code style police, else does not go on its own line.
67 * Graphics.cs: Add various ArgumentNull checks.
69 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
71 * Image.jvm.cs: make Clone abstract
73 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
75 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
77 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
79 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
80 * PlainImage.jvm.cs: fixed Clone
81 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
83 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
85 * Brush.jvm.cs: added InternalClone() method
86 changed transformation methods access level
87 * TextureBrush.jvm.cs: refactoring, fixed clone()
89 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
91 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
92 matrix singularity added
93 * Font.jvm.cs: implemetated ISerializable
94 * Pen.jvm.cs: fixed DashPattern property,
95 fixed GetNativeObject() dash pattern calculation
97 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
99 * SystemColors.cs: Fixes the Win32 light and lightlight colours
101 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
103 * SystemColors.cs: Fixes the Win32 system colors including the color
104 name and the knownColor properties.
106 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
108 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
109 conversion, it's less overhead than StringBuilder. (Part of the
110 bugfix for #74871 and #75534)
112 * gdipFunctions: Changed signature for GdipGetFamilyName to just
113 have an IntPtr for the buffer
115 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
117 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
120 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
122 * SystemColor.cs: Added code used to generate properties, updated with
125 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
127 * SystemColor.cs: Make internal names predictable to allow scripted
128 generation of color table
130 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
132 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
135 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
138 - Changed properties to return colors from fields. This allows
139 updating the colors via reflection, for example from MWF themes.
140 - Added code to retrieve system colors via Win32 GetSysColors if
141 running on Win32, this makes us compatible with Microsoft instead
142 of returning static colors on Win32. Unix platforms still will
143 use the static colors
144 * Color.cs: Added UpdateKnownColor() method to allow updating of
145 the KnownColors array
147 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
149 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
150 when imageAttr is null.
152 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
154 * Brush.jvm.cs: fixed transform methods, createContext
155 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
157 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
159 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
160 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
161 * PlainImage.jvm.cs: added metadata props, fixed ctor
162 * PlainImageCollection.jvm.cs: fixed class access
164 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
166 * Graphics.cs: Fixes exception type at FromImage method
168 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
170 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
172 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
174 * Graphics.jvm.cs: fixed DrawImage
176 2005-09-19 Miguel de Icaza <miguel@novell.com>
178 * Graphics.cs: Removed restriction on the images that can be
179 loaded. Indexed images *can* be loaded
181 2005-09-18 Miguel de Icaza <miguel@novell.com>
183 * Image.cs: introduce a workaround that catches errors on systems
184 that lack GDI+ as this is being triggered too easily when we
185 enumerate attributes on loaded classes.
187 The real bug to fix is #76062.
189 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
191 * Image.cs: Implemented FromHbitmap.
193 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
195 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
196 the JIT won't add demands for UnmanagedCode.
197 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
198 so the JIT won't add demands for UnmanagedCode on Mac OSX.
199 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
200 (+ overloads) and GetHicon methods.
201 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
202 FromHwndInternal and ReleaseHdcInternal methods (which are all public
203 despite their names).
205 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
207 * Graphics.jvm.cs: text transform, headless session
209 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
211 * Bitmap.jvm.cs: native object refactoring
212 * Image.jvm.cs: native object refactoring
213 * Graphics.jvm.cs: fixed access to image native object
214 * TextureBrush.jvm.cs: fixed access to image native object
215 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
217 2005-09-14 Geoff Norton <gnorton@customerdna.com>
219 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
220 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
221 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
223 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
225 * Graphics.jvm.cs: transform, container, thin pen
227 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
229 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
230 * Pen.jvm.cs: fixing transform, pen fitting
232 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
234 * Region.jvm.cs: IsVisible is about intersection
236 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
238 * ImageConverter.cs: Use default TypeDescriptor implementation of
241 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
243 * Graphics.jvm.cs: fixing clipping with rotate transform
245 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
247 * Region.jvm.cs: default region is infinite
249 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
251 * Graphics.jvm.cs: fixing clipping stuff
253 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
255 * Bitmap.jvm.cs: fixed bitamp accessors
256 * Image.jvm.cs: fixed image accessors
258 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
259 * AdvancedStroke.jvm.cs: fix matrix translate
260 * Graphics.jvm.cs: fix matrix concatenation order
262 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
264 * Brush.jvm.cs: added transform methods
266 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
268 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
269 implementing fitting, output transform
270 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
272 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
274 * ColorTranslator.cs: perform case insensitive check
276 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
278 * gdipFunctions.cs: define new functions
279 * Bitmap.cs: fixes image loading and exceptions
280 * Image.cs: fixes image loading and exceptions
282 Thanks Kornél Pál for its help
284 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
286 * Brush.jvm.cs: added brush transform field
288 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
290 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
292 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
294 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
295 Graphics.jvm.cs: adjust stroke before widening
297 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
299 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
302 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
304 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
305 convert string to int before checking number of components.
306 * RectangleConverter.cs: same.
307 * SizeConverter.cs: same.
309 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
311 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
312 convert individual components. Special case string containing hex
313 prefix. Convert components before checking count.
315 2005-08-25 Marek Safar <marek.safar@seznam.cz>
317 * gdipFunctions.cs: GetIconInfo new user32 method.
318 GdipGetDC uses IntPtr.
320 * gdipStructs.cs: Defined IconInfo struct.
322 * Graphics.cs: FromImage throws exception when image has an indexed format.
325 * Icon.cs: Implemented FromHandle, Dispose.
327 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
329 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
331 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
333 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
334 Fixed SmoothingMode property
336 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
338 * Brushes: Do not create the objects every time that they are requested
339 as in Pens we create and cache them only once when need it. This also
340 fixes the Equals method between two objects requested to Brushes
342 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
344 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
345 * Brush.cs Fixes Dispose to avoid non-disposing some objects
346 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
347 * Region.cs: Dipose always frees if the resource was allocated
349 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
351 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
352 from gdiplus have been released
354 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
356 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
357 * Color.cs: Fixed java NativeObject property
358 * Image.jvm.cs: Fixed Save method
360 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
362 * Icon.jvm.cs: match Bitmap internal constructor change
363 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
364 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
366 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
368 * Color.cs: To match MS.NET, throw ArgumentException instead of
369 ArgumentOutOfRangeException when color is not between 0 and 255.
370 * RectangleConverter.cs: Take culture into account when converting
371 to/from string. Use culture's ListSeparator as separator character.
373 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
375 * Color.cs: Fixed line endings. Set eol-style to native.
376 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
377 * Size.cs: Set eol-style to native.
378 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
379 * SizeConverter.cs: Take culture into account when converting to/from
380 string. Set eol-style to native.
381 * Point.cs: Fixed line endings. Set eol-style to native.
382 * PointF.cs: Use current culture in ToString(), set eol-style to native.
383 * PointConverter.cs: Take culture into account when converting to/from
384 string. Set eol-style to native.
385 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
387 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
389 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
391 * Graphics.jvm.cs: Fixed InterpolationMode property
393 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
395 * Graphics.jvm.cs: Fixed DrawImage
397 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
399 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
400 appears to be what MS.NET uses.
402 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
404 * Point.cs: Use invariant culture for converting numbers to string.
408 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
410 * Color.cs: Fixed ToString for uninitialized color.
411 * ColorConverter.cs: Support conversion from whitespace-only string to
412 Color.Empty. Fixed conversion from Color.Empty and known colors to
415 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
417 * Graphics.jvm.cs: Initial properties implementation
419 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
421 * Graphics.jvm.cs: DrawImage refactoring
423 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
425 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
426 Added UpdateInternalTransform
427 Fixed DrawImage, Transform, ConcatenateTransform
429 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
431 * Icon.jvm.cs: Internal constructor from bitmap
432 * Added SystemIcons.jvm.cs with implementation of SystemIcons
434 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
436 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
437 (all methods that use Graphics object)
439 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
441 * Graphics.jvm.cs: Refactoring
443 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
445 * Graphics.jvm.cs: Fixed Clear, Refactoring
447 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
449 * Graphics.jvm.cs: Fixed FillClosedCurve
451 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
453 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
454 rectangles touch each other.
456 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
458 * Graphics.jvm.cs: Fixed DrawCurve.
460 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
462 * StrokeFactory.jvm.cs: use correct stroke
464 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
466 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
469 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
471 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
473 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
475 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
478 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
480 * Graphics.jvm.cs: Refactoring
482 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
484 * Graphics.jvm.cs: Fixed DrawPolygon
486 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
488 * Graphics.jvm.cs: Refactoring
489 * Pen.jvm.cs: setting awt.Stroke as a base
491 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
493 * Graphics.jvm.cs: Refactoring
495 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
497 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
499 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
501 * Rectangle.cs: Intersect fixed
502 * RectandleF.cs: Intersect and Inflate fixed
504 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
506 * Point.cs: Produce same ToString result as dotnet
508 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
510 * Color.cs: GetHashCode is affected by Name, too
512 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
514 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
516 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
518 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
520 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
522 * SolidBrush.jvm.cs: fix a typo
524 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
526 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
527 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
528 Font.jvm.cs: Added TARGET_JVM implementation
530 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
532 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
534 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
536 * BasicShape.jvm.cs: Added TARGET_JVM specific class
538 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
540 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
542 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
544 * ColorTranslator.cs: (GH merge) recognise HTML system colors
546 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
548 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
550 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
552 * Color.cs: TARGET_JVM - NativeObject property
554 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
556 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
558 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
560 * RectangleF.cs: Fixes IsEmpty logic
562 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
564 * Graphics.cs: implements FromHwndInternal
567 2005-06-13 Peter Bartok <pbartok@novell.com>
569 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
570 through an intermediary step, which turns it into a 32bit version.
573 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
575 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
576 removed some unnecessary code
577 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
578 positions beyond the size of stream
580 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
582 * Font.cs: fix platform checks.
584 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
587 - Fixes is empty method IsEmpty logic
588 - Fixes Contains method logic
589 - Fixes IntersectsWith logic
592 - Fixes is empty method IsEmpty logic
593 - Fixes Contains method logic
594 - Fixes IntersectsWith logic
596 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
598 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
599 destructors. Some methods renamed. Removed unnecessary variables.
601 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
603 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
604 and modified the Palette property to call them. This non-
605 persistent behaviour was discovered by trial and error with
606 Microsoft's implementation. In fact, the Palette property
607 does not behave like a property at all! It is the only way an
608 instance of System.Drawing.Imaging.ColorPalette can be created,
609 and it reflects a backing store that is only updated when the
610 property 'set' method is called. Also updated Clone () since
611 the palette is no longer cached at image load time.
612 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
613 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
614 As such a function is not listed in MSDN nor given in
615 Microsoft's implementation, I have made it a private function
616 within the class that uses it.
618 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
620 * Graphics.cs: Revised DrawString methods
622 2005-03-22 Peter Bartok <pbartok@novell.com>
624 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
627 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
629 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
630 * gdipFunctions.cs: Modified conditional compilation syntax
631 * ComIStreamWrapper.cs: Modified conditional compilation syntax
632 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
634 2005-05-18 Marek Safar <marek.safar@seznam.cz>
636 * Bitmap.cs: Add null check into ctor.
638 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
640 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
641 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
642 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
644 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
646 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
648 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
650 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
651 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
652 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
653 * Image.cs: uses new Win32 Stream functions when need it
655 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
657 * Color.cs: Fix GetSaturation() again and remove
660 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
662 * Color.cs: New, correct implementations for GetHue(),
663 GetBrightness() and GetSaturation().
665 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
667 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
668 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
669 * Image.cs: Use PlatformID.Unix under NET_2_0.
671 2005-05-05 Miguel de Icaza <miguel@novell.com>
673 * Bitmap.cs, Icon.cs (constructor): Use
674 GetManifestResourceStream(Type,string) in the constructor that
677 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
679 * PointF.cs: Make serialization compatible with MS.
681 2005-04-10 Geoff Norton <gnorton@customerdna.com>
685 Use CGContextSynchronize instead of CGContextFlush. This saves
686 on average 20000 ticks per drawing operation.
688 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
690 * Color.cs: take into account the name color in == and != operators
691 * Font.cs: Use Equals instead of == to compare the family name
693 - Removes generic fontfamilies cache (done at libgdiplus level)
694 - Fixes Equals method
696 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
698 * Pen.cs: remove locks. They are done at gdiplus level
699 * Brush.cs: remove locks. They are done at gdiplus level
700 * Image.cs: remove locks. They are done at gdiplus level
702 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
704 * Icon.cs: Finished Icon(Type, String) ctor
706 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
708 * gdipFunctions.cs: fixes GdipGetImagePalette signature
709 * Image.cs: Implements Palette property using gdiplus
711 2005-03-17 Peter Bartok <pbartok@novell.com>
714 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
715 method, now includes a get header delegate
716 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
717 the image type even on non-seekable streams
718 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
719 via StreamGetHeaderImpl
720 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
721 the new StreamGetHeader delegate
723 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
725 * Pen.cs: Fixes dispose method to allow to be called multiple times
726 * Graphics.cs: matrix are saved and restored at gdiplus level
728 2005-02-24 Geoff Norton <gnorton@customerdna.com>
730 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
731 so they dont get garbage collected before use.
733 2005-02-11 Peter Bartok <pbartok@novell.com>
735 * gdipFunctions.cs: Fixed prototype to match previous checkin
737 2005-02-11 Peter Bartok <pbartok@novell.com>
739 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
740 it really is a pointer)
742 2005-02-10 Geoff Norton <gnorton@customerdna.com>
744 * Icon.cs: Implement GetObjectData ()
745 * Image.cs: Implement GetObjectData ()
747 2005-02-09 Geoff Norton <gnorton@customerdna.com>
749 * Icon.cs: Implement deserializer
750 * Bitmap.cs: Implement deserializer
752 2005-02-06 Ben Maurer <bmaurer@ximian.com>
754 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
756 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
758 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
760 2005-02-02 Jackson Harper <jackson@ximian.com>
762 * Region.cs: The default region constructor creates and infinite
763 region, not an empty one.
765 2005-01-27 Peter Bartok <pbartok@novell.com>
767 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
768 of HSV numbers. Previous implementation returned wrong numbers and NaN
771 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
773 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
774 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
775 : Implemented support for InstanceDescriptor.
777 2005-01-26 Peter Bartok <pbartok@novell.com>
779 * Icon.cs (ToBitmap): Now sets transparency in according to
782 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
784 * gdipFunctions.cs: Fixes GdipGet* function signatures
785 * FontFamily.cs: Fixes GdipGet* function calls
786 * Font.cs: Fixes ToString method
788 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
790 * Graphics.cs: calls XCloseDisplay on X11 when need it
791 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
793 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
795 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
797 2004-12-16 Peter Bartok <pbartok@novell.com>
799 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
800 equivalent to the gdi+ native object
802 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
803 equivalent to the gdi+ native object
805 2004-12-09 Geoff Norton <gnorton@customerdna.com>
807 * carbonFunctions.cs: New carbon functions/structures
808 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
810 2004-12-08 Geoff Norton <gnorton@customerdna.com>
812 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
813 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
815 2004-12-07 Geoff Norton <gnorton@customerdna.com>
817 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
818 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
820 2004-12-06 Miguel de Icaza <miguel@ximian.com>
822 * FontFamily.cs: This one is static.
824 2004-11-25 Ravindra <rkumar@novell.com>
826 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
827 type from int to Status type.
829 2004-11-25 Marek Safar <marek.safar@seznam.cz>
831 * Image.cs: Add CheckStatus to SaveAdd.
833 2004-11-22 Ravindra <rkumar@novell.com>
835 * Graphics.cs: Fixed null values handling in all overloads of
836 MeasureString method.
838 2004-11-18 Ravindra <rkumar@novell.com>
840 * gdipFunctions.cs: Removed the .so extension from a DllImport
843 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
845 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
848 2004-11-03 Miguel de Icaza <miguel@ximian.com>
850 * TextureBrush.cs (Clone): While cloning, it is not enough to let
851 GDIPlus clone the underlying data, we must alos clone the managed
854 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
855 errors in the future, set the lock on the object before doing any
856 other tests, not after.
858 (Clone): While cloning, it is not enough to let
859 GDIPlus clone the underlying data, we must alos clone the managed
862 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
863 errors in the future.
865 Set the lock in the object before checkign disposed.
867 * SolidBrush.cs (Clone): While cloning, it is not enough to let
868 GDIPlus clone the underlying data, we must alos clone the managed
871 (Dispose): Set the nativeObject to IntPtr.Zero to catch
872 errors in the future.
874 2004-10-28 Ravindra <rkumar@novell.com>
876 * gdipFunctions.cs: Added checks for null stream in the
877 StreamHelper internal class.
878 * Icon.cs: Removed an ugly hack that used temp files in
879 ToBitmap () method. We use MemoryStream instead.
881 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
883 * Font.cs: fixes bug 66533
885 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
887 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
888 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
889 lock operations after conversation with Miguel. Do not really
892 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
894 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
896 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
898 * Bitmap.cs: Fixes MakeTransparent method
900 2004-10-13 Ravindra <rkumar@novell.com>
902 * Graphics.cs: Moved the initialization of 'use_x_drawable'
903 member out of private constructor to class initialization.
904 So that, we get it right even if Graphics is not instantiated.
905 This fixes the problem we face (otherwise) when we make first
906 call to Graphics.FromHwnd () method.
908 2004-10-08 Ravindra <rkumar@novell.com>
910 * Image.cs: Suppress finalization in Dispose () method.
912 2004-10-04 Ravindra <rkumar@novell.com>
914 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
916 2004-09-29 Jackson Harper <jackson@ximian.com>
918 * Graphics.cs: Use FromHdcInternal to set the X display
919 handle. Add a flag to check if we are on unix so we aren't calling
920 Environment.OSVersion.Platform all the time. Mad props to Peter
923 2004-09-17 Marek Safar <marek.safar@seznam.cz>
925 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
926 ToLogFont: Implemented.
928 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
930 GdipCreateFontFromLogfontA: A new extern call.
932 2004-09-13 Ravindra <rkumar@novell.com>
934 * Graphics.cs: MSDN says that using image width and height gives
935 better performance, hence we are using image width and height to
936 avoid autoscaling in DrawImageUnscaled.
938 2004-09-10 Ravindra <rkumar@novell.com>
940 * Graphics.cs: Implemented DrawIcon methods and fixed
941 DrawImageUnscaled method implementation.
943 2004-08-21 Jackson Harper <jackson@ximian.com>
945 * ImageAnimator.cs: Run animator as a background thread so we do
948 2004-08-21 Ravindra <rkumar@novell.com>
950 * gdipFunctions.cs: Modified exception message to include the case
951 of missing required libraries for different formats.
953 2004-08-10 Jackson Harper <jackson@ximian.com>
955 * SystemColors.cs: Make Highlight colour match colour from windows
956 classic color scheme.
958 2004-07-30 Ravindra <rkumar@novell.com>
960 * Font.cs: Fixed Height property implementation and implemented
961 GetHeight method and its overloads.
963 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
965 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
966 P/Invoke function for Image.
967 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
969 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
971 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
972 GdipGetAllPropertyItems P/Invoke function for Image.
973 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
974 * Image.cs: Corrected implementation of PropertyItems property.
976 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
978 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
979 P/Invoke function for Image.
980 * Image.cs: Changed implementation of PropertyIdList property.
982 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
984 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
985 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
987 2004-07-21 Ravindra <rkumar@novell.com>
989 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
990 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
992 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
994 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
995 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
996 * gdipFunctions.cs: new GDI function calls
998 2004-07-16 Ravindra <rkumar@novell.com>
1000 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1002 2004-07-15 Ravindra <rkumar@novell.com>
1004 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1006 2004-07-13 Ravindra <rkumar@novell.com>
1008 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1009 This was redundant. It was kept in previous checkin to avoid
1012 2004-07-13 Ravindra <rkumar@novell.com>
1014 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1016 2004-07-09 Peter Bartok <pbartok@novell.com>
1017 * Graphics.cs: Added support required for new managed SWF library
1018 * gdipFunctions.cs: Added XOpenDisplay definition/import
1020 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1022 * gdipFunctions.cs: fixes bug 61050
1024 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1026 * ImageAnimator.cs: Rewrote complete implementation.
1028 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1030 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1031 If read function was called after seek function call, the
1032 implementation was returning data from bytes already peeked and
1033 not from the new position in stream, which we have seeked.
1035 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1037 * Graphics.cs: added MeasureString wrappers
1039 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1041 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1043 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1045 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1047 2004-06-18 Ravindra <rkumar@novell.com>
1049 * FontConverter.cs: Implemented the missing functions.
1050 * Font.cs: Added some notes.
1052 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1054 * gdipFunctions.cs: Modified Function signature for
1055 GdipSaveImageToDelegate_linux() method for saving tiff images
1057 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1060 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1062 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1063 and Size, required by TIFFCodec. Modifed Function signature for
1064 GdipLoadImageFromDelegate_linux() method.
1065 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1068 2004-06-11 Ravindra <rkumar@novell.com>
1070 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1071 from out int to out IntPtr.
1072 * SolidBrush.cs: Same.
1074 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1076 * Image.cs: API signature fixes, meaning DisposeResources is now
1077 private and marked InitFromStream internal
1079 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1081 * FontFamily.cs: simplifies object destruction and fixes
1083 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1085 * FontFamily.cs: added destructor
1086 * Graphics.cs: added destructor to stop leaking, remove debugging code
1089 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1091 * gdipFunctions.cs: added GdipSaveAddImage
1092 * Image.cs: added SaveAdd methods
1094 2004-06-02 Peter Bartok <pbartok@novell.com>
1095 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1096 (This fixes bug #59479)
1098 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1100 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1101 * Region.cs: Removed extra ComVisible attribute from Clone().
1103 2004-06-01 Ravindra <rkumar@novell.com>
1105 * Pen.cs: Added a note on Dispose method.
1106 * Brush.cs: Fixed Dispose method.
1107 * SolidBrush.cs: Fixed Dispose method.
1109 2004-05-28 Ravindra <rkumar@novell.com>
1111 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1113 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1114 rectangles implementation (This is basically done to avoid lots
1115 of brush and pen setup happening in libgdiplus.)
1117 2004-05-27 Ravindra <rkumar@novell.com>
1119 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1121 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1123 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1126 2004-05-26 Ravindra <rkumar@novell.com>
1128 * Color.cs: Corrected Color.Green property.
1130 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1131 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1133 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1135 * Icon.cs: Fixed issue with size property.
1137 2004-05-18 Ravindra <rkumar@novell.com>
1139 * Pen.cs: Added value checks in DashPattern and CompoundArray
1142 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1144 * Graphics.cs: fixed warning
1145 * ImageAnimator.cs: fixed warning
1146 * FontConverter.cs: fixed public API
1148 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1150 * gdipFunctions.cs: Fixed prototype for
1151 GdipGetEncoderParameterList
1153 * Image.cs: Reworked Save functions to handle EncoderParameters.
1154 Implemented GetEncoderParameterList
1155 Also removed unused setGDIPalette internal method.
1157 2004-05-14 Peter Bartok <pbartok@novell.com>
1158 * StringFormat.cs: Added CharacterRange handling
1159 * Graphics.cs: Implemented MeasureCharacterRanges method
1161 2004-05-14 Peter Bartok <pbartok@novell.com>
1162 * Graphics.cs: Added error check
1164 2004-05-14 Duncan Mak <duncan@ximian.com>
1165 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1166 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1167 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1169 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1170 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1172 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1173 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1175 2004-05-13 Peter Bartok <pbartok@novell.com>
1176 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1179 2004-05-12 Peter Bartok <pbartok@novell.com>
1180 * Image.cs: Implemented GetThumbnailImage
1182 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1183 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1184 FromXDrawable(IntPtr, IntPtr) internal.
1186 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1187 * Color.cs: work for API compatibilty: private date, todos
1188 * Font.cs: work for API compatibilty: private date, todos
1189 * FontFamily.cs: work for API compatibilty: private date, todos
1190 * Graphics.cs: work for API compatibilty: private date, todos
1191 * Icon.cs: work for API compatibilty: private date, todos
1192 * Image.cs: work for API compatibilty: private date, todos
1193 * ImageAnimator.cs: work for API compatibilty: private date, todos
1194 * Point.cs: work for API compatibilty: private date, todos
1195 * PointF.cs: work for API compatibilty: private date, todos
1196 * Rectangle.cs: work for API compatibilty: private date, todos
1197 * RectangleF.cs: work for API compatibilty: private date, todos
1198 * Region.cs: work for API compatibilty: private date, todos
1199 * Size.cs: work for API compatibilty: private date, todos
1200 * SizeF.cs: work for API compatibilty: private date, todos
1201 * SolidBrush.cs: work for API compatibilty: private date, todos
1202 * StringFormat.cs: work for API compatibilty: private date, todos
1203 * SystemPens.cs: work for API compatibilty: private date, todos
1204 * TextureBrush.cs: work for API compatibilty: private date, todos
1205 * gdipStructs.cs: work for API compatibilty: private date, todos
1207 2004-05-12 Ravindra <rkumar@novell.com>
1209 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1210 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1211 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1212 Added missing attributes and some coding style fixes.
1213 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1216 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1218 * ImageAnimator.cs: Implemented first version.
1220 2004-05-11 Ravindra <rkumar@novell.com>
1222 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1225 2004-05-10 Ravindra <rkumar@novell.com>
1227 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1228 for the same. Added few related P/Invokes for Pen also.
1230 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1232 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1234 2004-05-06 Ravindra <rkumar@novell.com>
1236 * RectangleConverter.cs: Implemented GetProperties () method.
1237 * SizeConverter.cs: Implemented GetProperties () method.
1238 * PointConverter.cs: Implemented GetProperties () method.
1239 * FontConverter.cs: Implemented some of the methods.
1241 2004-05-06 Ravindra <rkumar@novell.com>
1243 * Color.cs: Fixed Name property.
1244 * ColorTranslator.cs: Fixed the existing methods and implemented
1245 the missing methods.
1246 * ColorConverter.cs: Fixed the existing methods and implemented
1247 the missing methods. Also, fixed coding style.
1249 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1250 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1252 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1253 * Image.cs: raw_format should be handled by GDI+
1254 * Bitmap.cs: raw_format should be handled by GDI+
1256 2004-05-04 Ravindra <rkumar@novell.com>
1258 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1259 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1260 properties and SetLineCap method. In constructors use IntPtr instead
1262 * SolidBrush.cs: Modified exception message.
1263 * TextureBrush.cs: Fixed Transform property.
1264 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1265 LinearGradientBrush.cs.
1267 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1269 * Image.cs: Implemented FrameDimensionsList property.
1271 2004-04-30 Ravindra <rkumar@novell.com>
1273 * gdipFunctions.cs: Added few more P/Invoke calls for
1274 lineargradient brush and added one case statement in
1277 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1279 * Image.cs: takes into account MemoryBmp format when saving
1281 2004-04-30 Ravindra <rkumar@novell.com>
1283 * StringFormat.cs: Added checks for status.
1285 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1287 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1288 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1290 2004-04-30 Ravindra <rkumar@novell.com>
1292 * Graphics.cs: Added checks for status.
1293 * Image.cs: Added a check for status.
1294 * FontFamily.cs: Added checks for status.
1296 2004-04-29 Peter Bartok <pbartok@novell.com>
1298 * Brushes.cs: Fixed bug #52695. No longer creates a new
1299 brush for every request and behaves Microsoft compatible
1301 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1303 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1304 its ClsID instead of the formatID (as GDI+ expects)
1306 2004-04-29 Ravindra <rkumar@novell.com>
1308 * Font.cs: Added checks for status.
1309 * Bitmap.cs: Added checks for status.
1310 * Pen.cs: Added checks for status.
1312 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1314 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1315 Converted to unix format from dos format.
1317 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1319 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1321 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1323 * gdipStructs.cs: added GdipImageCodecInfo struct
1325 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1327 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1329 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1331 * ImageConverter.cs: Added exception message.
1332 * IconConverter.cs: Added exception message.
1333 * ImageFormatConverter.cs: Implemented first version.
1335 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1337 * ImageConverter.cs: Implemented first version.
1339 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1341 * IconConverter.cs: Implemented first version.
1343 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1345 * Image.cs: Corrected implementation of Property RawFormat.
1346 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1348 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
1350 * Bitmap.cs: Resolved a compile time error.
1351 * Image.cs: Changed the implementation of few methods to progress
1352 with ImageAnimator class.
1353 * gdipFunctions.cs: Added few linux only function calls.
1354 * Icon.cs: Removed unused variable from code.
1356 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
1358 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1360 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
1362 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1363 serialization for Bitmaps. (Bugzilla #52568)
1365 2004-04-23 Ravindra <rkumar@novell.com>
1367 * RectangleConverter.cs: Fixed ConvertTo () method.
1368 * SizeConverter.cs: Fixed ConvertTo () method.
1369 * PointConverter.cs: Fixed ConvertTo () method.
1371 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1372 * ImageAnimator.cs: Implemented CanAnimate() method.
1374 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1375 * Image.cs: added RotateFlip and RemovePropertyItem calls
1377 2004-04-22 Ravindra <rkumar@novell.com>
1379 * RectangleConverter.cs: Implemented. Also changed file format
1381 * Rectangle.cs: Fixed ToString method.
1382 * RectangleF.cs: Fixed ToString method.
1384 2004-04-22 Ravindra <rkumar@novell.com>
1386 * SizeConverter.cs: Implemented some of the functions.
1387 * PointConveter.cs: Implemented.
1388 * gdipFunctions.cs: Corrected one typo.
1389 * Brushes.cs: Added a comment.
1391 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
1393 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1394 returning portions of the peek buffer back. Fixes #57379.
1396 2004-04-21 Peter Bartok <pbartok@novell.com>
1397 * Font.cs: Implemented Font.FromHfont method
1398 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
1399 * gdipFunctions.cs: Added imports for functions required to support
1400 Font.FromHfont method
1402 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1403 * RectangleConverter.cs: stubbed out
1404 * Font.cs : added missing members
1406 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
1407 * Icon.cs: Fixed problem in extracting bitmap from Icon.
1409 2004-04-16 Ravindra <rkumar@novell.com>
1411 * Pen.cs: GC should be allowed to collect any pen including
1413 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
1414 including system brushes.
1415 * Brushes.cs: Coding style.
1416 * Pens.cs: Objects created by Pens are not modifiable on
1417 MS.NET, so we are now. Also, coding style fixes.
1418 * SystemPens.cs: Removed static constructor and changed file
1420 * SystemBrushes.cs: Some cosmetic changes.
1422 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
1423 * Icon.cs: Implemented more missing bits and fixed the problem
1424 of icon not getting saved in proper format
1426 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
1427 * Icon.cs: Implemented more missing bits
1429 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
1430 * Icon.cs: Implemented few more missing bits
1432 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
1433 * Icon.cs: Implemented first version
1435 2004-04-11 Peter Bartok <pbartok@novell.com>
1436 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
1437 the code and using our own private gdiplus function when on Unix and using Win32
1438 functions when running on Windows
1439 * gdipStructs.cs: Added LOGFONTA structure
1440 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
1442 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1444 * Image.cs: Save should use encoder.FormatID, not Clsid
1446 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1447 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1448 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1450 2004-04-06 Duncan Mak <duncan@ximian.com>
1452 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1454 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1455 * Region.cs: fixes GetRegionScans
1456 * gdipFunctions.cs: fixes GetRegionScans
1458 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
1460 * gdipFunctions.cs: Added stream delegate helpers for
1461 stream loading/saving on linux
1463 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1464 loading/saving image data.
1466 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1467 * Region.cs: implemented new methods
1468 * Graphics.cs: implemented new methods
1470 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
1471 * Region.cs: implemented
1473 2004-04-01 Duncan Mak <duncan@ximian.com>
1475 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1477 * gdipFunctions.cs (GdipAddPathCurveI):
1478 (GdipAddPathCurve2, GdipAddPathCurve2I):
1479 (GdipAddPathCurve3, GdipAddPathCurve3I):
1480 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1481 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1484 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1485 * Image.cs: implemented a few GDI+ wrapper calls
1487 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1488 * Bitmap.cs: remove redundant data already present at Image.cs
1489 * Image.cs: use GDI+ functions to get image details
1490 * StringFormat.cs: missing constructor and property
1492 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1493 * FontFamily.cs: added missing members and style clean
1494 * Graphics.cs: fixed signature of DrawArc and DrawPie
1495 * Image.cs: added missing members, fixes
1496 * StringFormat.cs: missing constructor and property
1498 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1499 * Graphics.cs: Added missing DrawImage GDI+ calls
1500 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
1502 2004-03-23 Ravindra <rkumar@novell.com>
1503 * gdipFunctions.cs: Added few more P/Invoke calls for
1504 LinearGradientBrush.
1506 2004-03-22 Ravindra <rkumar@novell.com>
1507 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1508 and did few coding style fixes.
1510 2004-03-18 Ravindra <rkumar@novell.com>
1511 * Brush.cs: Fixed Dispose method.
1512 * SolidBrush.cs: Fixed clone method.
1513 * TextureBrush.cs: Fixed clone method.
1514 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
1516 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1518 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1520 2004-03-10 Ravindra <rkumar@novell.com>
1521 * Pen.cs: Implemented PenType property.
1522 * Brush.cs: Coding style.
1524 2004-03-06 Ravindra <rkumar@novell.com>
1525 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1526 for PathGradientBrush.
1528 2004-03-06 Ravindra <rkumar@novell.com>
1529 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1532 2004-03-04 Duncan Mak <duncan@ximian.com>
1534 * Region.cs: Indentation.
1536 * RectangleF.cs: Changed the internal structure from a PointF,
1537 SizeF to floats in order to match the layout from the C API.
1539 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
1540 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1542 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1543 * gdipFunctions.cs: Added functions for ImageAttributes
1545 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1546 * Icon.cs: Missing function stubs added
1547 * Icon.cs: Missing function stubs added
1548 * IconConverter.cs: Missing function stubs added
1549 * ImageAnimator.cs: Missing function stubs added
1550 * ImageConverter.cs: Missing function stubs added
1551 * ImageFormatConverter.cs: Missing function stubs added
1553 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1554 * Font.cs: Allow multiple styles
1556 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1557 * StringFormat.cs: Clone method
1559 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1560 * font.cs: fixes, Clone, and ToString
1562 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
1563 * gdipFunctions.cs: MeasureString
1564 * Graphics.cs : MeasureString
1566 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1567 * Font.cs: destructor and unit conversion
1568 * Graphics.cs : system dpi support
1570 2004-02-13 Ravindra <rkumar@novell.com>
1571 * Pen.cs: Fixed some bugs.
1572 * TextureBrush.cs: Fixed some bugs.
1574 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
1575 * gdipFunctions.cs: Added ImageCodecInfo functions
1576 * Image.cs: Added few methods
1578 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
1579 * FontFamily.cs: remove hardcoded font names, a few bug fixes
1581 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
1582 * gdipFunctions.cs: Added Image class functions
1583 * Image.cs: Added few methods
1585 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1586 * graphics.cs: fixes parameters for DrawStrings functions
1588 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1590 * SRDescriptionAttribute.cs: Added and implemented
1591 * ToolboxBitmapAttribute.cs: Implemented a few members
1592 * SystemIcons.cs: Stubbed
1593 * StringFormat.cs: Implemented method
1594 * Region.cs: Added Todo, fixed attribute
1595 * Size.cs: Added attribute
1596 * SizeF.cs: Added attribute
1597 * RectangleF.cs: Added attributes
1598 * Rectangle.cs: Added attributes
1599 * PointF.cs: Added attribute
1600 * Point.cs: Added attribute
1602 2004-02-06 Ravindra <rkumar@novell.com>
1604 * Brush.cs: Renamed GetException method to CheckStatus
1605 and moved it to gdipFunctions.cs.
1606 * gdipFunctions.cs: Added CheckStatus method.
1607 * SolidBrush.cs: Using CheckStatus method.
1608 * TextureBrush.cs: Using CheckStatus method.
1609 * gdipEnums.cs: Added a missing value.
1611 2004-02-05 Ravindra <rkumar@novell.com>
1613 * Brush.cs: Added a missing namespace.
1615 2004-02-05 Ravindra <rkumar@novell.com>
1617 * gdipFunctions.cs: Added methods for HatchBrush and
1619 * SolidBrush.cs: Added checks for status.
1620 * Brush.cs: Added support for HatchBrush and TextureBrush
1621 types in internal CreateBrush() method.
1623 2004-02-03 Jordi Mas <jordi@ximian.com>
1624 * Font.cs: Setup font properties
1626 2004-02-03 Ravindra <rkumar@novell.com>
1628 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
1629 method from TextureBrush.cs to Brush.cs.
1630 * Brush.cs: Made GetException (Status) method internal.
1632 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
1634 * gdipFunctions.cs: Added methods for Image class.
1636 2004-01-30 Ravindra <rkumar@novell.com>
1638 * TextureBrush.cs: Added more methods to complete it.
1639 * gdipFunctions.cs: Added methods for TextureBrush class.
1641 2004-01-30 Ravindra <rkumar@novell.com>
1643 * gdipFunctions.cs: Added methods for TextureBrush class.
1645 2004-01-30 Ravindra <rkumar@novell.com>
1647 * Pen.cs: Modified to handle TextureBrush also.
1648 * Bitmap.cs: Added one internal constructor.
1649 * TextureBrush.cs: Implemented.
1651 2004-01-29 Duncan Mak <duncan@ximian.com>
1654 * Graphics.cs: Indentation fixes, removed long dangling lines and
1657 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1660 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1662 * FontFamily.cs: Implemented few methods and a constructor
1664 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1666 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1667 * FontFamily.cs: Implemented missing functionalities.
1669 2004-01-24 Duncan Mak <duncan@ximian.com>
1671 * Graphics.cs (DrawPath): Implemented.
1673 2004-01-23 Ravindra <rkumar@novell.com>
1675 * Point.cs: ToString modified.
1676 * PointF.cs: ToString modified.
1677 * Size.cs: ToString modified.
1678 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1681 2004-01-21 Jordi Mas i Hernàndez
1682 * Bitmap.cs: Several new methods added.
1684 2004-01-21 Duncan Mak <duncan@ximian.com>
1686 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1687 OutAttribute to the array argument. This fixes the PathPoints
1688 property in System.Drawing.Drawing2D.GraphicsPath.
1690 2004-01-20 Ravindra <rkumar@novell.com>
1692 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1693 this property was hanging and getting was throwing a NullRef
1694 Exception. Earlier we were passing Matrix object to and fro
1695 which was causing the problem. Now, we are using IntPtr.
1696 Thanks to Duncan for helping me.
1697 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1698 together. If color is set, a SolidBrush automatically gets
1699 set with the same color, Pen loses the old brush object.
1700 If a SolidBrush is set, Pen.Color gets the value same as that
1701 of brush color losing the old value. Pen shows this behavior
1703 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1704 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1706 2004-01-19 Duncan Mak <duncan@ximian.com>
1708 * gdipFunctions.cs: Import functions for GraphicsPath.
1710 2004-01-14 Ravindra <rkumar@novell.com>
1712 * SolidBrush.cs: Made SolidBrush to initialize its color
1715 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1717 2004-01-11 Duncan Mak <duncan@ximian.com>
1719 * Bitmap.cs (LockBits):
1720 * Graphics.cs (DrawString): Removed reference to GpRectF.
1722 2004-01-09 Duncan Mak <duncan@ximian.com>
1724 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1725 Removed. Didn't know that structs are laid out sequentially by
1726 default. We don't need these anymore.
1728 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1730 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1732 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1734 * Graphics.cs: fix compile error on Windows builds for out
1735 parameter state in call to GdipSaveGraphics
1737 2004-01-10 Ravindra <rkumar@novell.com>
1739 * All Enums: Made serializable.
1741 * Image.cs: Corrected signature of Dispose(bool) method.
1743 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1744 Corrected coding style mistakes of my previous commit.
1746 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1748 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1750 * StringFormat.cs: Inherits MarshalByRefObject.
1752 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1754 2004-01-08 Ravindra <rkumar@novell.com>
1756 * Pen.cs: Added isModifiable (bool) variable. It is required to
1757 make Pens created by SystemPens.cs unmodifiable. All property
1758 setters are modified for this.
1760 * SolidBrush.cs: Added isModifiable variable (bool). It is
1761 required to make Brushes created by SystemBrushes.cs unmodifiable.
1762 All property setters are modified for this.
1764 * SystemBrushes.cs: Modified all the properties as per the .NET
1765 specs, so that Brushes are not created every time. Also, missing
1766 properties are added.
1768 * SystemPens.cs: Modified all the properties as per the .NET
1769 specs, so that Brushes are not created every time. Also, missing
1770 properties are added.
1772 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1774 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1777 2004-01-06 Duncan Mak <duncan@ximian.com>
1779 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1781 2003-12-21 Duncan Mak <duncan@ximian.com>
1783 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1784 up to the GDI+ implementation.
1785 (RotateTransform): Uncommented.
1787 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1790 2003-12-13 Todd Berman <tberman@sevenl.net>
1792 * Font.cs: Implementing a couple things for porting purposes
1793 * SystemBrushes.cs: ^
1794 * StringFormat.cs: ^^
1796 2003-11-28 Duncan Mak <duncan@ximian.com>
1798 * Pen.cs (CompoundArray): Hide this for now.
1800 2003-11-28 Duncan Mak <duncan@ximian.com>
1802 * Brush.cs (CreateBrush): new internal factory method for creating
1803 specific brushes based on the internal (GDI+ C API) BrushType
1805 (Brush (IntPtr)): new internal constructor.
1807 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1809 (Pen (IntPtr)): new internal constructor.
1810 (Pen (Brush, float)): Use GdipCreateBrush2.
1811 (Clone): Implemented using GdipClonePen.
1812 (Alignment, Brush, Color, Width): Use GDI+ implementations
1814 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1815 Implemented these properties.
1816 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1817 (MultiplyTransform, ResetTransform, RotateTransform):
1818 (ScaleTransform, TranslateTransform): Implemented these methods.
1820 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1822 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1824 * gdipFunctions.cs: Imported new Brush and Pen functions.
1826 2003-11-22 Duncan Mak <duncan@ximian.com>
1829 (GdipResetWorldTransform, GdipSetWorldTransform):
1830 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1832 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1833 (transform): Removed this field. Always use the
1834 matrix associated in the GpGraphics ptr.
1835 (DrawBeziers): Implemented.
1836 (DrawLine): Don't need to manually invoke the transform now.
1837 (MultiplyTransform, ResetTransform):
1838 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1839 (Transform): Instead of storing a Matrix in managed code, use
1840 equivalent GDI+ functions.
1842 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1844 * SizeConverter.cs: fixed class signature and implemented some methods.
1846 2003-11-17 Duncan Mak <duncan@ximian.com>
1848 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1850 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1852 2003-11-17 Duncan Mak <duncan@ximian.com>
1854 * Bitmap.cs (LockBits):
1855 * Graphics.cs (DrawString): Use GpRectF.
1857 * gdipFunctions.cs: Updated method signatures.
1859 * Graphics.cs (MultiplyTransform): Implemented using
1860 GdipMultiplyWorldTransform from GDI+.
1862 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1863 GpRect, to be more consistent with the C naming.
1865 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1867 * Graphics.cs: Implement the other DrawString overloads .
1869 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1871 * gdipStructs.cs (GdipRectF): Added utility constructor
1873 2003-11-15 Duncan Mak <duncan@ximian.com>
1875 * gdipFunctions.cs: Imported matrix functions.
1877 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1879 * Bitmap.cs: Added Attributes
1880 * ColorTranslator.cs: Added private constructor
1881 * Font.cs: Added Attributes
1882 * FontFamily.cs: sealed
1883 * Icon.cs: Added Attributes
1884 * IconConverter.cs: Fixed signature
1885 * Image.cs: Added attributes
1887 * ImageConverter.cs:
1888 * ImageFormatConverter.cs:
1895 * TextureBrush.cs: Fixed signature
1896 * Color.cs: Added attributes
1901 * SizeF.cs: Added attributes
1902 * ContentAlignment.cs: Added attribute
1904 2003-11-13 Duncan Mak <duncan@ximian.com>
1906 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1909 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1910 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1911 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1913 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1915 * gdipFunctions.cs copy image in Bitmap constructor
1917 2003-11-06 Duncan Mak <duncan@ximian.com>
1918 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1919 angle parameters for the integer case.
1920 (DrawBezier): Hook it up with GdipDrawBezier.
1921 (DrawEllipse): Fix Width, Height ordering.
1923 2003-11-05 Duncan Mak <duncan@ximian.com>
1925 * Graphics.cs (DrawPie):
1926 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1929 2003-10-28 Duncan Mak <duncan@ximian.com>
1931 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1932 (FillEllipse, FillPolygon): implemented.
1933 (RenderingOrigin): implemented.
1935 * gdipFunctions.cs: Added new GDI+ equivalents.
1937 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1939 * Image.cs small fixes
1941 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1943 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1945 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1947 * SystemBrushes.cs: Some more brushe3s.
1949 * SystemPens.cs: More pens.
1951 * Pen.cs: Implement IDisposable, ICloneable.
1953 * Region.cs: Add some more stubs here.
1955 * StringFormat.cs: Add some more code here.
1957 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1959 * Image.cs: Kill the InternalImageInfo, everything is now done in
1960 terms of Image and BitmapData.
1962 * Rectangle.cs: Make this one also sequential, change from using
1963 Point + Size to use x, y, width, height; So we can use GdiPlus.
1965 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1966 BitmapData class argument, and instead use the [In,Out]
1967 attributes, which will do struct marshalling on the fields. Now
1968 we can use C#'s BitmapData directly to talk to Gdiplus.
1970 * gdipStructs.cs: Every internal structure that has to talk to
1971 Gdi+ is properly prefixed, to minimize the confussion.
1973 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1974 Compute the stride here where we have the BPP information,
1975 allocate a buffer of the proper size, and pass this to
1976 GdipCreateBitmapFromScan0
1978 * Image.cs: Implement Dispose pattern.
1980 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
1983 * gdipStructs.cs DrawString function added
1985 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1988 * gdipStructs.cs added
1991 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2000 implementation changed to gdi+
2002 2003-09-08 Duncan Mak <duncan@ximian.com>
2004 * Factories.cs (DefaultImplementationNamespace): Change it from
2005 "XrImpl" to "Cairo".
2007 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2009 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2012 2003-08-08 Duncan Mak <duncan@ximian.com>
2014 * Graphics.cs (DrawBezier): Fixed.
2016 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2017 * Graphics.cs delegate Dispose to implementation
2019 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2021 * FontConverter.cs: stub it out so that system.web compiles.
2023 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2024 * Image.cs InternalImageInfo class improved
2026 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2028 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2029 is set, default to Win32Impl
2031 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2032 * Image.cs implementation added
2034 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2036 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2038 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2040 * StringFormat.cs: Changes to become CLS-compliant
2042 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2044 * Factories.cs: Remove debugging message.
2046 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2047 * Color.cs code generation program modified
2049 2003-06-29 Alexandre Pigolkine
2050 * Graphics.cs image drawing
2052 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2055 supply KnowColor enum value to save Enum.Parse at runtime
2057 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2058 * Graphics.cs coordinate transformations
2059 * Image.cs small fix
2061 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2063 * FontFamily.cs more implementation
2065 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2067 * FontFamily.cs more implementation
2069 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2070 * Graphics.cs few more calls to implementation
2072 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2073 * Bitmap.cs BITMAP declaration removed
2074 * Graphics.cs few more calls to implementation
2075 * Image.cs InternalImageInfo structure, image read/write functions
2078 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2079 * Factories.cs analyse environment variable and machine.config to select implementation
2080 * Image.cs PixelFormat property added
2082 2003-04-30 Nick Drochak <ndrochak@gol.com>
2084 * Factories.cs: Change weird characters that broke build on windows.
2086 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2088 * ColorConverter.cs:
2089 (ConvertFrom): return a system or named color if there's one that fits
2090 teh values parsed with Color.FromArgb.
2092 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2102 delegate function calls to implementation
2104 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2108 * SystemBrushes.cs switch to Linux style line terminators
2110 2003-03-29 Alan Tam <Tam@SiuLung.com>
2111 * ToolboxBitmapAttribute
2112 stubbed more constructors and fixed base class
2114 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2116 added stubs to compile SWF
2119 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2124 small changes to be able to run SWF apps
2126 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2128 * Graphics.cs: stubbed out all the methods.
2130 2003-02-08 Piers Haken <piersh@friskit.com>
2132 * fixed case of pens.cs and font.cs
2134 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2141 2002-11-21 Dennis Hayes (dennish@raytek.com)
2142 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2146 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2148 * ColorTranslator.cs (FromHtml): Implement.
2150 2002-10-14 Dennis Hayes (dennish@raytek.com)
2152 * changed using namespace from Drawing2d to Drawing2D
2154 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2156 * Fixes the enum values in the following enums
2157 * ContentAlignment.cs:
2161 * RotateFlipType.cs:
2162 * StringAligment.cs:
2163 * StringDigitSubstitute.cs:
2164 * StringFormatFlags.cs:
2165 * StringTrimming.cs:
2167 * SolidBrush.cs: Easy implementation
2168 * Brushes.cs: Implementation based on SolidBrush and Color class.
2169 * Brush.cs: Fixes based on the status web).
2170 * CharacterRange.cs: Implemented the missing Lenth property.
2172 2002-9-14 Dennis Hayes (dennish@raytek.com)
2175 * removed personal template that should not have been checked in
2177 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2179 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2182 2002-9-14 DennisHayes <dennish@raytek.com>
2190 * ImageFormatConverter.cs
2192 * RectangleConverter.cs
2201 * ToolboxBitmapAttribute.cs
2202 * Added null classes for most/all classes, Many stubs, and some implmentation
2204 2002-9-2 DennisHayes <dennish@raytek.com>
2211 * Added stubs, implmentation
2213 2002-9-2 DennisHayes <dennish@raytek.com>
2215 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2216 but this should at least save someone some typing.
2217 * CharacterRange.cs :Implmented
2218 * Region.cs : stub needed for system.windows.forms
2220 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2222 * ColorTranslator.cs: use Color.Name.
2224 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2226 * Color.cs: implemented SystemColors and NamedColors properties that
2227 are used by ColorConverter, removed public constructor, use
2228 SystemColors, and misc. fixes to make it behave as MS (ToString,
2229 parsing names, FromKnownColor,...).
2231 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2232 trying to get the color from its name.
2234 * SystemColors.cs: new file.
2236 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2238 * Color.cs: changed static properties to use FromArgbNamed. Also
2239 modified the program included in comments that get the values for
2242 (FromArgbNamed): build named colors.
2243 (FromKnownColor): fixed.
2244 (FromName): use a hash to look up colors by name.
2245 (FillColorNames): create the hash of colors.
2246 (Equals): compare values and name.
2247 (ToString): improved.
2249 * ColorTranslator.cs: implemented ToHtml.
2251 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2253 * Color.cs: added TypeConverter attribute.
2255 * ColorConverter.cs: added constructor.
2257 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2259 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2261 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2263 * Bitmap.cs : using System.IO
2264 * ColorTranslator.cs : Stubbed off build breakers.
2265 * Image.cs : Stub off IDisposable and ICloneable.
2267 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2269 * Bitmap.cs: Ximian is the new copyright holder now.
2272 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2274 * Uppercased several files.
2276 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2278 * color.cs: Fixed a typo in GetSaturation ().
2280 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2282 * Bitmap.cs: Added method headers.
2284 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2286 * Bitmap.cs: Added, no implementation's done, yet.
2288 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2290 * Rectangle.cs : Add a doc comment.
2291 * RectangleF.cs : New struct implementation.
2293 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2295 * Rectangle.cs : New struct implementation.
2297 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2299 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2301 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2303 * Point.cs : New. Implementation of System.Drawing.Point struct.