1 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3 * Graphics.cs (Flush): Make sure nativeObject is not null
5 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
7 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
9 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
11 * Bitmap.jvm.cs: Fix MakeTransparent.
13 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
15 * Graphics.cs: Add new deephs support to CopyFromScreen
17 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
19 * BufferedGraphicsManager.cs: Fixes signature
21 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
24 - Implemented FromLogFont
25 - Implemented ToLogFont
28 - Added GdipGetLogFontW method
29 - Specified charset for GdipGetLogFontA method
30 * gdipStructs.cs: Added LOGFONTW structure
32 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
34 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
36 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
39 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
41 * gdipFunctions.cs: DllExports need it to implement
42 new Graphics.CopyFromScreen .Net 2.0 methods
\r
43 * IDeviceContext.cs: New .Net 2.0 interface
\r
44 * Color.cs: Fixes for new .Net 2.0 KnowColors
\r
45 * PointF.cs: New .Net 2.0 Add/Subtract methods
\r
46 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
\r
47 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
\r
48 * SizeF.cs: New .Net 2.0 Add/Subtract methods
\r
49 * FontConverter.cs: New .Net 2.0 fixes
\r
50 * SystemColors.cs: New standard SystemColors for .Net 2.0
\r
51 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
\r
52 * CharacterRange.cs: : New .Net 2.0 methods
\r
53 * Size.cs: New .Net 2.0 Add/Subtract methods
\r
54 * SystemPens.cs: New standard SystemPens for .Net 2.0
\r
55 * Bitmap.cs: New .Net 2.0 methods
\r
56 * Region.cs: New .Net 2.0 methods
\r
57 * Brush.cs: New .Net 2.0 constructor
\r
58 * Icon.cs: New .Net 2.0 Constructors and methods
\r
59 * Point.cs: New .Net 2.0 Add/Subtract methods
\r
60 * BufferedGraphicsManager.cs: New .Net 2.0 class
\r
61 * Graphics.cs: New methods for .Net 2.0 and fixes
\r
62 * BufferedGraphics.cs: New .Net 2.0 class
\r
63 * Font.cs: New .Net 2.0 properties
\r
64 * Image.cs: New .Net 2.0 tag property
\r
65 * KnownColor.cs: New .Net 2.0 know colors
\r
66 * CopyPixelOperation.cs: New .Net 2.0 enum
\r
67 * SystemFonts.cs: New .Net 2.0 class
\r
68 * BufferedGraphicsContext.cs: New .Net 2.0 class
70 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
72 * SystemIcons.jvm.cs: refactoring.
74 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
76 * Icon.cs: TARGET_JVM changes.
78 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
80 * Image.jvm.cs: fixed Save, flush output stream
82 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
84 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
86 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
88 * ColorConverter.cs: fixed ConvertFrom, to be able
89 to convert from three digit notation color (#abc)
91 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
93 * Bitmap.jvm.cs: open a correct stream.
95 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
97 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
99 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
101 * FontFamily.jvm.cs: fix for custom font collection
103 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
105 * FontFamily.jvm.cs: fixed GetName
107 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
109 * Bitmap.jvm.cs: fixed InternalSave() error handling
110 * Image.jvm.cs: fixed Save() error handling
112 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
114 * FontFamily.jvm.cs: Refactoring.
116 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
118 * Font.jvm.cs: Refactoring.
120 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
122 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
123 MeasureString support
125 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
127 * FontFamily.jvm.cs: correctly initialize fontcollection
129 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
131 * FontFamily.jvm.cs: DrawMargin, refactoring.
133 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
135 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
136 Differentiate standard and AntiAlias stroking
138 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
140 * Graphics.jvm.cs: added UnitConversion property
141 * FontFamily.jvm.cs: refactoring
142 * Font.jvm.cs: refactoring
144 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
147 - Implemented serialization constructor
148 - Implemented GetObjectData()
150 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
152 * StringFormat.jvm.cs: Refactoring
154 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
156 * Image.cs: Default format for MemoryBMP should be Png
158 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
160 * Bitmap.jvm.cs: fixed InternalSave
161 * Image.jvm.cs: fixed Save
163 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
165 * Image.jvm.cs: fixed redolution properties
167 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
169 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
170 fixed clone, Initialize
172 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
174 * Brush.cs: Don't delete the brush if the display handle is no longer
175 valid, otherwise cairo will try to use the handle and crash and burn
177 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
179 * Graphics.jvm.cs: DrawImage refactoring
181 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
183 * Graphics.jvm.cs: Clipping refactoring
184 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
185 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
186 TranslateClip, VisibleClipBounds
188 2005-10-21 Miguel de Icaza <miguel@novell.com>
190 * Pen.cs: Add support for returning the Brush from Pens created
191 with a color constructor.
193 Plus: code style police, else does not go on its own line.
195 * Graphics.cs: Add various ArgumentNull checks.
197 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
199 * Image.jvm.cs: make Clone abstract
201 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
203 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
205 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
207 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
208 * PlainImage.jvm.cs: fixed Clone
209 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
211 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
213 * Brush.jvm.cs: added InternalClone() method
214 changed transformation methods access level
215 * TextureBrush.jvm.cs: refactoring, fixed clone()
217 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
219 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
220 matrix singularity added
221 * Font.jvm.cs: implemetated ISerializable
222 * Pen.jvm.cs: fixed DashPattern property,
223 fixed GetNativeObject() dash pattern calculation
225 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
227 * SystemColors.cs: Fixes the Win32 light and lightlight colours
229 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
231 * SystemColors.cs: Fixes the Win32 system colors including the color
232 name and the knownColor properties.
234 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
236 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
237 conversion, it's less overhead than StringBuilder. (Part of the
238 bugfix for #74871 and #75534)
240 * gdipFunctions: Changed signature for GdipGetFamilyName to just
241 have an IntPtr for the buffer
243 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
245 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
248 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
250 * SystemColor.cs: Added code used to generate properties, updated with
253 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
255 * SystemColor.cs: Make internal names predictable to allow scripted
256 generation of color table
258 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
260 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
263 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
266 - Changed properties to return colors from fields. This allows
267 updating the colors via reflection, for example from MWF themes.
268 - Added code to retrieve system colors via Win32 GetSysColors if
269 running on Win32, this makes us compatible with Microsoft instead
270 of returning static colors on Win32. Unix platforms still will
271 use the static colors
272 * Color.cs: Added UpdateKnownColor() method to allow updating of
273 the KnownColors array
275 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
277 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
278 when imageAttr is null.
280 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
282 * Brush.jvm.cs: fixed transform methods, createContext
283 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
285 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
287 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
288 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
289 * PlainImage.jvm.cs: added metadata props, fixed ctor
290 * PlainImageCollection.jvm.cs: fixed class access
292 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
294 * Graphics.cs: Fixes exception type at FromImage method
296 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
298 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
300 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
302 * Graphics.jvm.cs: fixed DrawImage
304 2005-09-19 Miguel de Icaza <miguel@novell.com>
306 * Graphics.cs: Removed restriction on the images that can be
307 loaded. Indexed images *can* be loaded
309 2005-09-18 Miguel de Icaza <miguel@novell.com>
311 * Image.cs: introduce a workaround that catches errors on systems
312 that lack GDI+ as this is being triggered too easily when we
313 enumerate attributes on loaded classes.
315 The real bug to fix is #76062.
317 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
319 * Image.cs: Implemented FromHbitmap.
321 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
323 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
324 the JIT won't add demands for UnmanagedCode.
325 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
326 so the JIT won't add demands for UnmanagedCode on Mac OSX.
327 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
328 (+ overloads) and GetHicon methods.
329 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
330 FromHwndInternal and ReleaseHdcInternal methods (which are all public
331 despite their names).
333 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
335 * Graphics.jvm.cs: text transform, headless session
337 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
339 * Bitmap.jvm.cs: native object refactoring
340 * Image.jvm.cs: native object refactoring
341 * Graphics.jvm.cs: fixed access to image native object
342 * TextureBrush.jvm.cs: fixed access to image native object
343 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
345 2005-09-14 Geoff Norton <gnorton@customerdna.com>
347 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
348 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
349 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
351 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
353 * Graphics.jvm.cs: transform, container, thin pen
355 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
357 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
358 * Pen.jvm.cs: fixing transform, pen fitting
360 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
362 * Region.jvm.cs: IsVisible is about intersection
364 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
366 * ImageConverter.cs: Use default TypeDescriptor implementation of
369 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
371 * Graphics.jvm.cs: fixing clipping with rotate transform
373 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
375 * Region.jvm.cs: default region is infinite
377 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
379 * Graphics.jvm.cs: fixing clipping stuff
381 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
383 * Bitmap.jvm.cs: fixed bitamp accessors
384 * Image.jvm.cs: fixed image accessors
386 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
387 * AdvancedStroke.jvm.cs: fix matrix translate
388 * Graphics.jvm.cs: fix matrix concatenation order
390 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
392 * Brush.jvm.cs: added transform methods
394 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
396 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
397 implementing fitting, output transform
398 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
400 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
402 * ColorTranslator.cs: perform case insensitive check
404 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
406 * gdipFunctions.cs: define new functions
407 * Bitmap.cs: fixes image loading and exceptions
408 * Image.cs: fixes image loading and exceptions
410 Thanks Kornél Pál for its help
412 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
414 * Brush.jvm.cs: added brush transform field
416 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
418 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
420 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
422 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
423 Graphics.jvm.cs: adjust stroke before widening
425 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
427 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
430 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
432 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
433 convert string to int before checking number of components.
434 * RectangleConverter.cs: same.
435 * SizeConverter.cs: same.
437 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
439 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
440 convert individual components. Special case string containing hex
441 prefix. Convert components before checking count.
443 2005-08-25 Marek Safar <marek.safar@seznam.cz>
445 * gdipFunctions.cs: GetIconInfo new user32 method.
446 GdipGetDC uses IntPtr.
448 * gdipStructs.cs: Defined IconInfo struct.
450 * Graphics.cs: FromImage throws exception when image has an indexed format.
453 * Icon.cs: Implemented FromHandle, Dispose.
455 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
457 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
459 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
461 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
462 Fixed SmoothingMode property
464 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
466 * Brushes: Do not create the objects every time that they are requested
467 as in Pens we create and cache them only once when need it. This also
468 fixes the Equals method between two objects requested to Brushes
470 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
472 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
473 * Brush.cs Fixes Dispose to avoid non-disposing some objects
474 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
475 * Region.cs: Dipose always frees if the resource was allocated
477 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
479 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
480 from gdiplus have been released
482 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
484 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
485 * Color.cs: Fixed java NativeObject property
486 * Image.jvm.cs: Fixed Save method
488 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
490 * Icon.jvm.cs: match Bitmap internal constructor change
491 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
492 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
494 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
496 * Color.cs: To match MS.NET, throw ArgumentException instead of
497 ArgumentOutOfRangeException when color is not between 0 and 255.
498 * RectangleConverter.cs: Take culture into account when converting
499 to/from string. Use culture's ListSeparator as separator character.
501 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
503 * Color.cs: Fixed line endings. Set eol-style to native.
504 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
505 * Size.cs: Set eol-style to native.
506 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
507 * SizeConverter.cs: Take culture into account when converting to/from
508 string. Set eol-style to native.
509 * Point.cs: Fixed line endings. Set eol-style to native.
510 * PointF.cs: Use current culture in ToString(), set eol-style to native.
511 * PointConverter.cs: Take culture into account when converting to/from
512 string. Set eol-style to native.
513 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
515 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
517 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
519 * Graphics.jvm.cs: Fixed InterpolationMode property
521 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
523 * Graphics.jvm.cs: Fixed DrawImage
525 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
527 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
528 appears to be what MS.NET uses.
530 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
532 * Point.cs: Use invariant culture for converting numbers to string.
536 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
538 * Color.cs: Fixed ToString for uninitialized color.
539 * ColorConverter.cs: Support conversion from whitespace-only string to
540 Color.Empty. Fixed conversion from Color.Empty and known colors to
543 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
545 * Graphics.jvm.cs: Initial properties implementation
547 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
549 * Graphics.jvm.cs: DrawImage refactoring
551 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
553 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
554 Added UpdateInternalTransform
555 Fixed DrawImage, Transform, ConcatenateTransform
557 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
559 * Icon.jvm.cs: Internal constructor from bitmap
560 * Added SystemIcons.jvm.cs with implementation of SystemIcons
562 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
564 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
565 (all methods that use Graphics object)
567 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
569 * Graphics.jvm.cs: Refactoring
571 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
573 * Graphics.jvm.cs: Fixed Clear, Refactoring
575 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
577 * Graphics.jvm.cs: Fixed FillClosedCurve
579 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
581 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
582 rectangles touch each other.
584 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
586 * Graphics.jvm.cs: Fixed DrawCurve.
588 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
590 * StrokeFactory.jvm.cs: use correct stroke
592 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
594 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
597 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
599 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
601 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
603 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
606 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
608 * Graphics.jvm.cs: Refactoring
610 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
612 * Graphics.jvm.cs: Fixed DrawPolygon
614 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
616 * Graphics.jvm.cs: Refactoring
617 * Pen.jvm.cs: setting awt.Stroke as a base
619 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
621 * Graphics.jvm.cs: Refactoring
623 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
625 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
627 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
629 * Rectangle.cs: Intersect fixed
630 * RectandleF.cs: Intersect and Inflate fixed
632 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
634 * Point.cs: Produce same ToString result as dotnet
636 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
638 * Color.cs: GetHashCode is affected by Name, too
640 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
642 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
644 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
646 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
648 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
650 * SolidBrush.jvm.cs: fix a typo
652 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
654 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
655 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
656 Font.jvm.cs: Added TARGET_JVM implementation
658 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
660 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
662 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
664 * BasicShape.jvm.cs: Added TARGET_JVM specific class
666 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
668 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
670 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
672 * ColorTranslator.cs: (GH merge) recognise HTML system colors
674 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
676 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
678 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
680 * Color.cs: TARGET_JVM - NativeObject property
682 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
684 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
686 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
688 * RectangleF.cs: Fixes IsEmpty logic
690 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
692 * Graphics.cs: implements FromHwndInternal
695 2005-06-13 Peter Bartok <pbartok@novell.com>
697 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
698 through an intermediary step, which turns it into a 32bit version.
701 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
703 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
704 removed some unnecessary code
705 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
706 positions beyond the size of stream
708 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
710 * Font.cs: fix platform checks.
712 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
715 - Fixes is empty method IsEmpty logic
716 - Fixes Contains method logic
717 - Fixes IntersectsWith logic
720 - Fixes is empty method IsEmpty logic
721 - Fixes Contains method logic
722 - Fixes IntersectsWith logic
724 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
726 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
727 destructors. Some methods renamed. Removed unnecessary variables.
729 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
731 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
732 and modified the Palette property to call them. This non-
733 persistent behaviour was discovered by trial and error with
734 Microsoft's implementation. In fact, the Palette property
735 does not behave like a property at all! It is the only way an
736 instance of System.Drawing.Imaging.ColorPalette can be created,
737 and it reflects a backing store that is only updated when the
738 property 'set' method is called. Also updated Clone () since
739 the palette is no longer cached at image load time.
740 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
741 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
742 As such a function is not listed in MSDN nor given in
743 Microsoft's implementation, I have made it a private function
744 within the class that uses it.
746 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
748 * Graphics.cs: Revised DrawString methods
750 2005-03-22 Peter Bartok <pbartok@novell.com>
752 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
755 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
757 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
758 * gdipFunctions.cs: Modified conditional compilation syntax
759 * ComIStreamWrapper.cs: Modified conditional compilation syntax
760 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
762 2005-05-18 Marek Safar <marek.safar@seznam.cz>
764 * Bitmap.cs: Add null check into ctor.
766 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
768 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
769 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
770 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
772 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
774 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
776 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
778 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
779 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
780 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
781 * Image.cs: uses new Win32 Stream functions when need it
783 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
785 * Color.cs: Fix GetSaturation() again and remove
788 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
790 * Color.cs: New, correct implementations for GetHue(),
791 GetBrightness() and GetSaturation().
793 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
795 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
796 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
797 * Image.cs: Use PlatformID.Unix under NET_2_0.
799 2005-05-05 Miguel de Icaza <miguel@novell.com>
801 * Bitmap.cs, Icon.cs (constructor): Use
802 GetManifestResourceStream(Type,string) in the constructor that
805 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
807 * PointF.cs: Make serialization compatible with MS.
809 2005-04-10 Geoff Norton <gnorton@customerdna.com>
813 Use CGContextSynchronize instead of CGContextFlush. This saves
814 on average 20000 ticks per drawing operation.
816 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
818 * Color.cs: take into account the name color in == and != operators
819 * Font.cs: Use Equals instead of == to compare the family name
821 - Removes generic fontfamilies cache (done at libgdiplus level)
822 - Fixes Equals method
824 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
826 * Pen.cs: remove locks. They are done at gdiplus level
827 * Brush.cs: remove locks. They are done at gdiplus level
828 * Image.cs: remove locks. They are done at gdiplus level
830 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
832 * Icon.cs: Finished Icon(Type, String) ctor
834 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
836 * gdipFunctions.cs: fixes GdipGetImagePalette signature
837 * Image.cs: Implements Palette property using gdiplus
839 2005-03-17 Peter Bartok <pbartok@novell.com>
842 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
843 method, now includes a get header delegate
844 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
845 the image type even on non-seekable streams
846 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
847 via StreamGetHeaderImpl
848 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
849 the new StreamGetHeader delegate
851 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
853 * Pen.cs: Fixes dispose method to allow to be called multiple times
854 * Graphics.cs: matrix are saved and restored at gdiplus level
856 2005-02-24 Geoff Norton <gnorton@customerdna.com>
858 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
859 so they dont get garbage collected before use.
861 2005-02-11 Peter Bartok <pbartok@novell.com>
863 * gdipFunctions.cs: Fixed prototype to match previous checkin
865 2005-02-11 Peter Bartok <pbartok@novell.com>
867 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
868 it really is a pointer)
870 2005-02-10 Geoff Norton <gnorton@customerdna.com>
872 * Icon.cs: Implement GetObjectData ()
873 * Image.cs: Implement GetObjectData ()
875 2005-02-09 Geoff Norton <gnorton@customerdna.com>
877 * Icon.cs: Implement deserializer
878 * Bitmap.cs: Implement deserializer
880 2005-02-06 Ben Maurer <bmaurer@ximian.com>
882 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
884 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
886 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
888 2005-02-02 Jackson Harper <jackson@ximian.com>
890 * Region.cs: The default region constructor creates and infinite
891 region, not an empty one.
893 2005-01-27 Peter Bartok <pbartok@novell.com>
895 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
896 of HSV numbers. Previous implementation returned wrong numbers and NaN
899 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
901 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
902 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
903 : Implemented support for InstanceDescriptor.
905 2005-01-26 Peter Bartok <pbartok@novell.com>
907 * Icon.cs (ToBitmap): Now sets transparency in according to
910 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
912 * gdipFunctions.cs: Fixes GdipGet* function signatures
913 * FontFamily.cs: Fixes GdipGet* function calls
914 * Font.cs: Fixes ToString method
916 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
918 * Graphics.cs: calls XCloseDisplay on X11 when need it
919 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
921 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
923 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
925 2004-12-16 Peter Bartok <pbartok@novell.com>
927 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
928 equivalent to the gdi+ native object
930 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
931 equivalent to the gdi+ native object
933 2004-12-09 Geoff Norton <gnorton@customerdna.com>
935 * carbonFunctions.cs: New carbon functions/structures
936 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
938 2004-12-08 Geoff Norton <gnorton@customerdna.com>
940 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
941 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
943 2004-12-07 Geoff Norton <gnorton@customerdna.com>
945 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
946 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
948 2004-12-06 Miguel de Icaza <miguel@ximian.com>
950 * FontFamily.cs: This one is static.
952 2004-11-25 Ravindra <rkumar@novell.com>
954 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
955 type from int to Status type.
957 2004-11-25 Marek Safar <marek.safar@seznam.cz>
959 * Image.cs: Add CheckStatus to SaveAdd.
961 2004-11-22 Ravindra <rkumar@novell.com>
963 * Graphics.cs: Fixed null values handling in all overloads of
964 MeasureString method.
966 2004-11-18 Ravindra <rkumar@novell.com>
968 * gdipFunctions.cs: Removed the .so extension from a DllImport
971 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
973 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
976 2004-11-03 Miguel de Icaza <miguel@ximian.com>
978 * TextureBrush.cs (Clone): While cloning, it is not enough to let
979 GDIPlus clone the underlying data, we must alos clone the managed
982 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
983 errors in the future, set the lock on the object before doing any
984 other tests, not after.
986 (Clone): While cloning, it is not enough to let
987 GDIPlus clone the underlying data, we must alos clone the managed
990 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
991 errors in the future.
993 Set the lock in the object before checkign disposed.
995 * SolidBrush.cs (Clone): While cloning, it is not enough to let
996 GDIPlus clone the underlying data, we must alos clone the managed
999 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1000 errors in the future.
1002 2004-10-28 Ravindra <rkumar@novell.com>
1004 * gdipFunctions.cs: Added checks for null stream in the
1005 StreamHelper internal class.
1006 * Icon.cs: Removed an ugly hack that used temp files in
1007 ToBitmap () method. We use MemoryStream instead.
1009 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1011 * Font.cs: fixes bug 66533
1013 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1015 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1016 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1017 lock operations after conversation with Miguel. Do not really
1020 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1022 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1024 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1026 * Bitmap.cs: Fixes MakeTransparent method
1028 2004-10-13 Ravindra <rkumar@novell.com>
1030 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1031 member out of private constructor to class initialization.
1032 So that, we get it right even if Graphics is not instantiated.
1033 This fixes the problem we face (otherwise) when we make first
1034 call to Graphics.FromHwnd () method.
1036 2004-10-08 Ravindra <rkumar@novell.com>
1038 * Image.cs: Suppress finalization in Dispose () method.
1040 2004-10-04 Ravindra <rkumar@novell.com>
1042 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1044 2004-09-29 Jackson Harper <jackson@ximian.com>
1046 * Graphics.cs: Use FromHdcInternal to set the X display
1047 handle. Add a flag to check if we are on unix so we aren't calling
1048 Environment.OSVersion.Platform all the time. Mad props to Peter
1051 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1053 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1054 ToLogFont: Implemented.
1056 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1058 GdipCreateFontFromLogfontA: A new extern call.
1060 2004-09-13 Ravindra <rkumar@novell.com>
1062 * Graphics.cs: MSDN says that using image width and height gives
1063 better performance, hence we are using image width and height to
1064 avoid autoscaling in DrawImageUnscaled.
1066 2004-09-10 Ravindra <rkumar@novell.com>
1068 * Graphics.cs: Implemented DrawIcon methods and fixed
1069 DrawImageUnscaled method implementation.
1071 2004-08-21 Jackson Harper <jackson@ximian.com>
1073 * ImageAnimator.cs: Run animator as a background thread so we do
1076 2004-08-21 Ravindra <rkumar@novell.com>
1078 * gdipFunctions.cs: Modified exception message to include the case
1079 of missing required libraries for different formats.
1081 2004-08-10 Jackson Harper <jackson@ximian.com>
1083 * SystemColors.cs: Make Highlight colour match colour from windows
1084 classic color scheme.
1086 2004-07-30 Ravindra <rkumar@novell.com>
1088 * Font.cs: Fixed Height property implementation and implemented
1089 GetHeight method and its overloads.
1091 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1093 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1094 P/Invoke function for Image.
1095 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1097 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1099 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1100 GdipGetAllPropertyItems P/Invoke function for Image.
1101 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1102 * Image.cs: Corrected implementation of PropertyItems property.
1104 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1106 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1107 P/Invoke function for Image.
1108 * Image.cs: Changed implementation of PropertyIdList property.
1110 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1112 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1113 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1115 2004-07-21 Ravindra <rkumar@novell.com>
1117 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1118 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1120 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1122 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1123 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1124 * gdipFunctions.cs: new GDI function calls
1126 2004-07-16 Ravindra <rkumar@novell.com>
1128 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1130 2004-07-15 Ravindra <rkumar@novell.com>
1132 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1134 2004-07-13 Ravindra <rkumar@novell.com>
1136 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1137 This was redundant. It was kept in previous checkin to avoid
1140 2004-07-13 Ravindra <rkumar@novell.com>
1142 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1144 2004-07-09 Peter Bartok <pbartok@novell.com>
1145 * Graphics.cs: Added support required for new managed SWF library
1146 * gdipFunctions.cs: Added XOpenDisplay definition/import
1148 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1150 * gdipFunctions.cs: fixes bug 61050
1152 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1154 * ImageAnimator.cs: Rewrote complete implementation.
1156 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1158 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1159 If read function was called after seek function call, the
1160 implementation was returning data from bytes already peeked and
1161 not from the new position in stream, which we have seeked.
1163 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1165 * Graphics.cs: added MeasureString wrappers
1167 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1169 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1171 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1173 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1175 2004-06-18 Ravindra <rkumar@novell.com>
1177 * FontConverter.cs: Implemented the missing functions.
1178 * Font.cs: Added some notes.
1180 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1182 * gdipFunctions.cs: Modified Function signature for
1183 GdipSaveImageToDelegate_linux() method for saving tiff images
1185 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1188 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1190 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1191 and Size, required by TIFFCodec. Modifed Function signature for
1192 GdipLoadImageFromDelegate_linux() method.
1193 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1196 2004-06-11 Ravindra <rkumar@novell.com>
1198 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1199 from out int to out IntPtr.
1200 * SolidBrush.cs: Same.
1202 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1204 * Image.cs: API signature fixes, meaning DisposeResources is now
1205 private and marked InitFromStream internal
1207 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1209 * FontFamily.cs: simplifies object destruction and fixes
1211 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1213 * FontFamily.cs: added destructor
1214 * Graphics.cs: added destructor to stop leaking, remove debugging code
1217 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1219 * gdipFunctions.cs: added GdipSaveAddImage
1220 * Image.cs: added SaveAdd methods
1222 2004-06-02 Peter Bartok <pbartok@novell.com>
1223 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1224 (This fixes bug #59479)
1226 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1228 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1229 * Region.cs: Removed extra ComVisible attribute from Clone().
1231 2004-06-01 Ravindra <rkumar@novell.com>
1233 * Pen.cs: Added a note on Dispose method.
1234 * Brush.cs: Fixed Dispose method.
1235 * SolidBrush.cs: Fixed Dispose method.
1237 2004-05-28 Ravindra <rkumar@novell.com>
1239 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1241 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1242 rectangles implementation (This is basically done to avoid lots
1243 of brush and pen setup happening in libgdiplus.)
1245 2004-05-27 Ravindra <rkumar@novell.com>
1247 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1249 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1251 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1254 2004-05-26 Ravindra <rkumar@novell.com>
1256 * Color.cs: Corrected Color.Green property.
1258 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1259 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1261 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1263 * Icon.cs: Fixed issue with size property.
1265 2004-05-18 Ravindra <rkumar@novell.com>
1267 * Pen.cs: Added value checks in DashPattern and CompoundArray
1270 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1272 * Graphics.cs: fixed warning
1273 * ImageAnimator.cs: fixed warning
1274 * FontConverter.cs: fixed public API
1276 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1278 * gdipFunctions.cs: Fixed prototype for
1279 GdipGetEncoderParameterList
1281 * Image.cs: Reworked Save functions to handle EncoderParameters.
1282 Implemented GetEncoderParameterList
1283 Also removed unused setGDIPalette internal method.
1285 2004-05-14 Peter Bartok <pbartok@novell.com>
1286 * StringFormat.cs: Added CharacterRange handling
1287 * Graphics.cs: Implemented MeasureCharacterRanges method
1289 2004-05-14 Peter Bartok <pbartok@novell.com>
1290 * Graphics.cs: Added error check
1292 2004-05-14 Duncan Mak <duncan@ximian.com>
1293 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1294 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1295 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1297 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1298 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1300 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1301 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1303 2004-05-13 Peter Bartok <pbartok@novell.com>
1304 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1307 2004-05-12 Peter Bartok <pbartok@novell.com>
1308 * Image.cs: Implemented GetThumbnailImage
1310 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1311 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1312 FromXDrawable(IntPtr, IntPtr) internal.
1314 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1315 * Color.cs: work for API compatibilty: private date, todos
1316 * Font.cs: work for API compatibilty: private date, todos
1317 * FontFamily.cs: work for API compatibilty: private date, todos
1318 * Graphics.cs: work for API compatibilty: private date, todos
1319 * Icon.cs: work for API compatibilty: private date, todos
1320 * Image.cs: work for API compatibilty: private date, todos
1321 * ImageAnimator.cs: work for API compatibilty: private date, todos
1322 * Point.cs: work for API compatibilty: private date, todos
1323 * PointF.cs: work for API compatibilty: private date, todos
1324 * Rectangle.cs: work for API compatibilty: private date, todos
1325 * RectangleF.cs: work for API compatibilty: private date, todos
1326 * Region.cs: work for API compatibilty: private date, todos
1327 * Size.cs: work for API compatibilty: private date, todos
1328 * SizeF.cs: work for API compatibilty: private date, todos
1329 * SolidBrush.cs: work for API compatibilty: private date, todos
1330 * StringFormat.cs: work for API compatibilty: private date, todos
1331 * SystemPens.cs: work for API compatibilty: private date, todos
1332 * TextureBrush.cs: work for API compatibilty: private date, todos
1333 * gdipStructs.cs: work for API compatibilty: private date, todos
1335 2004-05-12 Ravindra <rkumar@novell.com>
1337 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1338 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1339 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1340 Added missing attributes and some coding style fixes.
1341 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1344 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1346 * ImageAnimator.cs: Implemented first version.
1348 2004-05-11 Ravindra <rkumar@novell.com>
1350 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1353 2004-05-10 Ravindra <rkumar@novell.com>
1355 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1356 for the same. Added few related P/Invokes for Pen also.
1358 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1360 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1362 2004-05-06 Ravindra <rkumar@novell.com>
1364 * RectangleConverter.cs: Implemented GetProperties () method.
1365 * SizeConverter.cs: Implemented GetProperties () method.
1366 * PointConverter.cs: Implemented GetProperties () method.
1367 * FontConverter.cs: Implemented some of the methods.
1369 2004-05-06 Ravindra <rkumar@novell.com>
1371 * Color.cs: Fixed Name property.
1372 * ColorTranslator.cs: Fixed the existing methods and implemented
1373 the missing methods.
1374 * ColorConverter.cs: Fixed the existing methods and implemented
1375 the missing methods. Also, fixed coding style.
1377 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1378 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1380 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1381 * Image.cs: raw_format should be handled by GDI+
1382 * Bitmap.cs: raw_format should be handled by GDI+
1384 2004-05-04 Ravindra <rkumar@novell.com>
1386 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1387 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1388 properties and SetLineCap method. In constructors use IntPtr instead
1390 * SolidBrush.cs: Modified exception message.
1391 * TextureBrush.cs: Fixed Transform property.
1392 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1393 LinearGradientBrush.cs.
1395 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1397 * Image.cs: Implemented FrameDimensionsList property.
1399 2004-04-30 Ravindra <rkumar@novell.com>
1401 * gdipFunctions.cs: Added few more P/Invoke calls for
1402 lineargradient brush and added one case statement in
1405 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1407 * Image.cs: takes into account MemoryBmp format when saving
1409 2004-04-30 Ravindra <rkumar@novell.com>
1411 * StringFormat.cs: Added checks for status.
1413 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1415 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1416 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1418 2004-04-30 Ravindra <rkumar@novell.com>
1420 * Graphics.cs: Added checks for status.
1421 * Image.cs: Added a check for status.
1422 * FontFamily.cs: Added checks for status.
1424 2004-04-29 Peter Bartok <pbartok@novell.com>
1426 * Brushes.cs: Fixed bug #52695. No longer creates a new
1427 brush for every request and behaves Microsoft compatible
1429 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1431 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1432 its ClsID instead of the formatID (as GDI+ expects)
1434 2004-04-29 Ravindra <rkumar@novell.com>
1436 * Font.cs: Added checks for status.
1437 * Bitmap.cs: Added checks for status.
1438 * Pen.cs: Added checks for status.
1440 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1442 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1443 Converted to unix format from dos format.
1445 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1447 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1449 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1451 * gdipStructs.cs: added GdipImageCodecInfo struct
1453 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1455 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1457 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1459 * ImageConverter.cs: Added exception message.
1460 * IconConverter.cs: Added exception message.
1461 * ImageFormatConverter.cs: Implemented first version.
1463 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1465 * ImageConverter.cs: Implemented first version.
1467 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1469 * IconConverter.cs: Implemented first version.
1471 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1473 * Image.cs: Corrected implementation of Property RawFormat.
1474 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1476 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
1478 * Bitmap.cs: Resolved a compile time error.
1479 * Image.cs: Changed the implementation of few methods to progress
1480 with ImageAnimator class.
1481 * gdipFunctions.cs: Added few linux only function calls.
1482 * Icon.cs: Removed unused variable from code.
1484 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
1486 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1488 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
1490 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1491 serialization for Bitmaps. (Bugzilla #52568)
1493 2004-04-23 Ravindra <rkumar@novell.com>
1495 * RectangleConverter.cs: Fixed ConvertTo () method.
1496 * SizeConverter.cs: Fixed ConvertTo () method.
1497 * PointConverter.cs: Fixed ConvertTo () method.
1499 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1500 * ImageAnimator.cs: Implemented CanAnimate() method.
1502 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1503 * Image.cs: added RotateFlip and RemovePropertyItem calls
1505 2004-04-22 Ravindra <rkumar@novell.com>
1507 * RectangleConverter.cs: Implemented. Also changed file format
1509 * Rectangle.cs: Fixed ToString method.
1510 * RectangleF.cs: Fixed ToString method.
1512 2004-04-22 Ravindra <rkumar@novell.com>
1514 * SizeConverter.cs: Implemented some of the functions.
1515 * PointConveter.cs: Implemented.
1516 * gdipFunctions.cs: Corrected one typo.
1517 * Brushes.cs: Added a comment.
1519 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
1521 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
1522 returning portions of the peek buffer back. Fixes #57379.
1524 2004-04-21 Peter Bartok <pbartok@novell.com>
1525 * Font.cs: Implemented Font.FromHfont method
1526 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
1527 * gdipFunctions.cs: Added imports for functions required to support
1528 Font.FromHfont method
1530 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
1531 * RectangleConverter.cs: stubbed out
1532 * Font.cs : added missing members
1534 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
1535 * Icon.cs: Fixed problem in extracting bitmap from Icon.
1537 2004-04-16 Ravindra <rkumar@novell.com>
1539 * Pen.cs: GC should be allowed to collect any pen including
1541 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
1542 including system brushes.
1543 * Brushes.cs: Coding style.
1544 * Pens.cs: Objects created by Pens are not modifiable on
1545 MS.NET, so we are now. Also, coding style fixes.
1546 * SystemPens.cs: Removed static constructor and changed file
1548 * SystemBrushes.cs: Some cosmetic changes.
1550 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
1551 * Icon.cs: Implemented more missing bits and fixed the problem
1552 of icon not getting saved in proper format
1554 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
1555 * Icon.cs: Implemented more missing bits
1557 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
1558 * Icon.cs: Implemented few more missing bits
1560 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
1561 * Icon.cs: Implemented first version
1563 2004-04-11 Peter Bartok <pbartok@novell.com>
1564 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
1565 the code and using our own private gdiplus function when on Unix and using Win32
1566 functions when running on Windows
1567 * gdipStructs.cs: Added LOGFONTA structure
1568 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
1570 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1572 * Image.cs: Save should use encoder.FormatID, not Clsid
1574 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1575 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1576 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
1578 2004-04-06 Duncan Mak <duncan@ximian.com>
1580 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
1582 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
1583 * Region.cs: fixes GetRegionScans
1584 * gdipFunctions.cs: fixes GetRegionScans
1586 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
1588 * gdipFunctions.cs: Added stream delegate helpers for
1589 stream loading/saving on linux
1591 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
1592 loading/saving image data.
1594 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
1595 * Region.cs: implemented new methods
1596 * Graphics.cs: implemented new methods
1598 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
1599 * Region.cs: implemented
1601 2004-04-01 Duncan Mak <duncan@ximian.com>
1603 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
1605 * gdipFunctions.cs (GdipAddPathCurveI):
1606 (GdipAddPathCurve2, GdipAddPathCurve2I):
1607 (GdipAddPathCurve3, GdipAddPathCurve3I):
1608 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
1609 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
1612 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1613 * Image.cs: implemented a few GDI+ wrapper calls
1615 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1616 * Bitmap.cs: remove redundant data already present at Image.cs
1617 * Image.cs: use GDI+ functions to get image details
1618 * StringFormat.cs: missing constructor and property
1620 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1621 * FontFamily.cs: added missing members and style clean
1622 * Graphics.cs: fixed signature of DrawArc and DrawPie
1623 * Image.cs: added missing members, fixes
1624 * StringFormat.cs: missing constructor and property
1626 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
1627 * Graphics.cs: Added missing DrawImage GDI+ calls
1628 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
1630 2004-03-23 Ravindra <rkumar@novell.com>
1631 * gdipFunctions.cs: Added few more P/Invoke calls for
1632 LinearGradientBrush.
1634 2004-03-22 Ravindra <rkumar@novell.com>
1635 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
1636 and did few coding style fixes.
1638 2004-03-18 Ravindra <rkumar@novell.com>
1639 * Brush.cs: Fixed Dispose method.
1640 * SolidBrush.cs: Fixed clone method.
1641 * TextureBrush.cs: Fixed clone method.
1642 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
1644 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1646 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
1648 2004-03-10 Ravindra <rkumar@novell.com>
1649 * Pen.cs: Implemented PenType property.
1650 * Brush.cs: Coding style.
1652 2004-03-06 Ravindra <rkumar@novell.com>
1653 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
1654 for PathGradientBrush.
1656 2004-03-06 Ravindra <rkumar@novell.com>
1657 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
1660 2004-03-04 Duncan Mak <duncan@ximian.com>
1662 * Region.cs: Indentation.
1664 * RectangleF.cs: Changed the internal structure from a PointF,
1665 SizeF to floats in order to match the layout from the C API.
1667 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
1668 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
1670 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1671 * gdipFunctions.cs: Added functions for ImageAttributes
1673 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
1674 * Icon.cs: Missing function stubs added
1675 * Icon.cs: Missing function stubs added
1676 * IconConverter.cs: Missing function stubs added
1677 * ImageAnimator.cs: Missing function stubs added
1678 * ImageConverter.cs: Missing function stubs added
1679 * ImageFormatConverter.cs: Missing function stubs added
1681 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
1682 * Font.cs: Allow multiple styles
1684 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
1685 * StringFormat.cs: Clone method
1687 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
1688 * font.cs: fixes, Clone, and ToString
1690 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
1691 * gdipFunctions.cs: MeasureString
1692 * Graphics.cs : MeasureString
1694 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
1695 * Font.cs: destructor and unit conversion
1696 * Graphics.cs : system dpi support
1698 2004-02-13 Ravindra <rkumar@novell.com>
1699 * Pen.cs: Fixed some bugs.
1700 * TextureBrush.cs: Fixed some bugs.
1702 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
1703 * gdipFunctions.cs: Added ImageCodecInfo functions
1704 * Image.cs: Added few methods
1706 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
1707 * FontFamily.cs: remove hardcoded font names, a few bug fixes
1709 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
1710 * gdipFunctions.cs: Added Image class functions
1711 * Image.cs: Added few methods
1713 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
1714 * graphics.cs: fixes parameters for DrawStrings functions
1716 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1718 * SRDescriptionAttribute.cs: Added and implemented
1719 * ToolboxBitmapAttribute.cs: Implemented a few members
1720 * SystemIcons.cs: Stubbed
1721 * StringFormat.cs: Implemented method
1722 * Region.cs: Added Todo, fixed attribute
1723 * Size.cs: Added attribute
1724 * SizeF.cs: Added attribute
1725 * RectangleF.cs: Added attributes
1726 * Rectangle.cs: Added attributes
1727 * PointF.cs: Added attribute
1728 * Point.cs: Added attribute
1730 2004-02-06 Ravindra <rkumar@novell.com>
1732 * Brush.cs: Renamed GetException method to CheckStatus
1733 and moved it to gdipFunctions.cs.
1734 * gdipFunctions.cs: Added CheckStatus method.
1735 * SolidBrush.cs: Using CheckStatus method.
1736 * TextureBrush.cs: Using CheckStatus method.
1737 * gdipEnums.cs: Added a missing value.
1739 2004-02-05 Ravindra <rkumar@novell.com>
1741 * Brush.cs: Added a missing namespace.
1743 2004-02-05 Ravindra <rkumar@novell.com>
1745 * gdipFunctions.cs: Added methods for HatchBrush and
1747 * SolidBrush.cs: Added checks for status.
1748 * Brush.cs: Added support for HatchBrush and TextureBrush
1749 types in internal CreateBrush() method.
1751 2004-02-03 Jordi Mas <jordi@ximian.com>
1752 * Font.cs: Setup font properties
1754 2004-02-03 Ravindra <rkumar@novell.com>
1756 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
1757 method from TextureBrush.cs to Brush.cs.
1758 * Brush.cs: Made GetException (Status) method internal.
1760 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
1762 * gdipFunctions.cs: Added methods for Image class.
1764 2004-01-30 Ravindra <rkumar@novell.com>
1766 * TextureBrush.cs: Added more methods to complete it.
1767 * gdipFunctions.cs: Added methods for TextureBrush class.
1769 2004-01-30 Ravindra <rkumar@novell.com>
1771 * gdipFunctions.cs: Added methods for TextureBrush class.
1773 2004-01-30 Ravindra <rkumar@novell.com>
1775 * Pen.cs: Modified to handle TextureBrush also.
1776 * Bitmap.cs: Added one internal constructor.
1777 * TextureBrush.cs: Implemented.
1779 2004-01-29 Duncan Mak <duncan@ximian.com>
1782 * Graphics.cs: Indentation fixes, removed long dangling lines and
1785 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1788 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1790 * FontFamily.cs: Implemented few methods and a constructor
1792 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1794 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1795 * FontFamily.cs: Implemented missing functionalities.
1797 2004-01-24 Duncan Mak <duncan@ximian.com>
1799 * Graphics.cs (DrawPath): Implemented.
1801 2004-01-23 Ravindra <rkumar@novell.com>
1803 * Point.cs: ToString modified.
1804 * PointF.cs: ToString modified.
1805 * Size.cs: ToString modified.
1806 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1809 2004-01-21 Jordi Mas i Hernà ndez
1810 * Bitmap.cs: Several new methods added.
1812 2004-01-21 Duncan Mak <duncan@ximian.com>
1814 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1815 OutAttribute to the array argument. This fixes the PathPoints
1816 property in System.Drawing.Drawing2D.GraphicsPath.
1818 2004-01-20 Ravindra <rkumar@novell.com>
1820 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1821 this property was hanging and getting was throwing a NullRef
1822 Exception. Earlier we were passing Matrix object to and fro
1823 which was causing the problem. Now, we are using IntPtr.
1824 Thanks to Duncan for helping me.
1825 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1826 together. If color is set, a SolidBrush automatically gets
1827 set with the same color, Pen loses the old brush object.
1828 If a SolidBrush is set, Pen.Color gets the value same as that
1829 of brush color losing the old value. Pen shows this behavior
1831 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1832 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1834 2004-01-19 Duncan Mak <duncan@ximian.com>
1836 * gdipFunctions.cs: Import functions for GraphicsPath.
1838 2004-01-14 Ravindra <rkumar@novell.com>
1840 * SolidBrush.cs: Made SolidBrush to initialize its color
1843 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1845 2004-01-11 Duncan Mak <duncan@ximian.com>
1847 * Bitmap.cs (LockBits):
1848 * Graphics.cs (DrawString): Removed reference to GpRectF.
1850 2004-01-09 Duncan Mak <duncan@ximian.com>
1852 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1853 Removed. Didn't know that structs are laid out sequentially by
1854 default. We don't need these anymore.
1856 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1858 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1860 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1862 * Graphics.cs: fix compile error on Windows builds for out
1863 parameter state in call to GdipSaveGraphics
1865 2004-01-10 Ravindra <rkumar@novell.com>
1867 * All Enums: Made serializable.
1869 * Image.cs: Corrected signature of Dispose(bool) method.
1871 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1872 Corrected coding style mistakes of my previous commit.
1874 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1876 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1878 * StringFormat.cs: Inherits MarshalByRefObject.
1880 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1882 2004-01-08 Ravindra <rkumar@novell.com>
1884 * Pen.cs: Added isModifiable (bool) variable. It is required to
1885 make Pens created by SystemPens.cs unmodifiable. All property
1886 setters are modified for this.
1888 * SolidBrush.cs: Added isModifiable variable (bool). It is
1889 required to make Brushes created by SystemBrushes.cs unmodifiable.
1890 All property setters are modified for this.
1892 * SystemBrushes.cs: Modified all the properties as per the .NET
1893 specs, so that Brushes are not created every time. Also, missing
1894 properties are added.
1896 * SystemPens.cs: Modified all the properties as per the .NET
1897 specs, so that Brushes are not created every time. Also, missing
1898 properties are added.
1900 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1902 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1905 2004-01-06 Duncan Mak <duncan@ximian.com>
1907 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1909 2003-12-21 Duncan Mak <duncan@ximian.com>
1911 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1912 up to the GDI+ implementation.
1913 (RotateTransform): Uncommented.
1915 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1918 2003-12-13 Todd Berman <tberman@sevenl.net>
1920 * Font.cs: Implementing a couple things for porting purposes
1921 * SystemBrushes.cs: ^
1922 * StringFormat.cs: ^^
1924 2003-11-28 Duncan Mak <duncan@ximian.com>
1926 * Pen.cs (CompoundArray): Hide this for now.
1928 2003-11-28 Duncan Mak <duncan@ximian.com>
1930 * Brush.cs (CreateBrush): new internal factory method for creating
1931 specific brushes based on the internal (GDI+ C API) BrushType
1933 (Brush (IntPtr)): new internal constructor.
1935 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1937 (Pen (IntPtr)): new internal constructor.
1938 (Pen (Brush, float)): Use GdipCreateBrush2.
1939 (Clone): Implemented using GdipClonePen.
1940 (Alignment, Brush, Color, Width): Use GDI+ implementations
1942 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1943 Implemented these properties.
1944 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1945 (MultiplyTransform, ResetTransform, RotateTransform):
1946 (ScaleTransform, TranslateTransform): Implemented these methods.
1948 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1950 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1952 * gdipFunctions.cs: Imported new Brush and Pen functions.
1954 2003-11-22 Duncan Mak <duncan@ximian.com>
1957 (GdipResetWorldTransform, GdipSetWorldTransform):
1958 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1960 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1961 (transform): Removed this field. Always use the
1962 matrix associated in the GpGraphics ptr.
1963 (DrawBeziers): Implemented.
1964 (DrawLine): Don't need to manually invoke the transform now.
1965 (MultiplyTransform, ResetTransform):
1966 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1967 (Transform): Instead of storing a Matrix in managed code, use
1968 equivalent GDI+ functions.
1970 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1972 * SizeConverter.cs: fixed class signature and implemented some methods.
1974 2003-11-17 Duncan Mak <duncan@ximian.com>
1976 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1978 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1980 2003-11-17 Duncan Mak <duncan@ximian.com>
1982 * Bitmap.cs (LockBits):
1983 * Graphics.cs (DrawString): Use GpRectF.
1985 * gdipFunctions.cs: Updated method signatures.
1987 * Graphics.cs (MultiplyTransform): Implemented using
1988 GdipMultiplyWorldTransform from GDI+.
1990 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1991 GpRect, to be more consistent with the C naming.
1993 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1995 * Graphics.cs: Implement the other DrawString overloads .
1997 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1999 * gdipStructs.cs (GdipRectF): Added utility constructor
2001 2003-11-15 Duncan Mak <duncan@ximian.com>
2003 * gdipFunctions.cs: Imported matrix functions.
2005 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2007 * Bitmap.cs: Added Attributes
2008 * ColorTranslator.cs: Added private constructor
2009 * Font.cs: Added Attributes
2010 * FontFamily.cs: sealed
2011 * Icon.cs: Added Attributes
2012 * IconConverter.cs: Fixed signature
2013 * Image.cs: Added attributes
2015 * ImageConverter.cs:
2016 * ImageFormatConverter.cs:
2023 * TextureBrush.cs: Fixed signature
2024 * Color.cs: Added attributes
2029 * SizeF.cs: Added attributes
2030 * ContentAlignment.cs: Added attribute
2032 2003-11-13 Duncan Mak <duncan@ximian.com>
2034 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2037 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2038 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2039 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2041 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2043 * gdipFunctions.cs copy image in Bitmap constructor
2045 2003-11-06 Duncan Mak <duncan@ximian.com>
2046 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2047 angle parameters for the integer case.
2048 (DrawBezier): Hook it up with GdipDrawBezier.
2049 (DrawEllipse): Fix Width, Height ordering.
2051 2003-11-05 Duncan Mak <duncan@ximian.com>
2053 * Graphics.cs (DrawPie):
2054 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2057 2003-10-28 Duncan Mak <duncan@ximian.com>
2059 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2060 (FillEllipse, FillPolygon): implemented.
2061 (RenderingOrigin): implemented.
2063 * gdipFunctions.cs: Added new GDI+ equivalents.
2065 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2067 * Image.cs small fixes
2069 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2071 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2073 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2075 * SystemBrushes.cs: Some more brushe3s.
2077 * SystemPens.cs: More pens.
2079 * Pen.cs: Implement IDisposable, ICloneable.
2081 * Region.cs: Add some more stubs here.
2083 * StringFormat.cs: Add some more code here.
2085 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2087 * Image.cs: Kill the InternalImageInfo, everything is now done in
2088 terms of Image and BitmapData.
2090 * Rectangle.cs: Make this one also sequential, change from using
2091 Point + Size to use x, y, width, height; So we can use GdiPlus.
2093 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2094 BitmapData class argument, and instead use the [In,Out]
2095 attributes, which will do struct marshalling on the fields. Now
2096 we can use C#'s BitmapData directly to talk to Gdiplus.
2098 * gdipStructs.cs: Every internal structure that has to talk to
2099 Gdi+ is properly prefixed, to minimize the confussion.
2101 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2102 Compute the stride here where we have the BPP information,
2103 allocate a buffer of the proper size, and pass this to
2104 GdipCreateBitmapFromScan0
2106 * Image.cs: Implement Dispose pattern.
2108 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2111 * gdipStructs.cs DrawString function added
2113 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2116 * gdipStructs.cs added
2119 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2128 implementation changed to gdi+
2130 2003-09-08 Duncan Mak <duncan@ximian.com>
2132 * Factories.cs (DefaultImplementationNamespace): Change it from
2133 "XrImpl" to "Cairo".
2135 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2137 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2140 2003-08-08 Duncan Mak <duncan@ximian.com>
2142 * Graphics.cs (DrawBezier): Fixed.
2144 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2145 * Graphics.cs delegate Dispose to implementation
2147 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2149 * FontConverter.cs: stub it out so that system.web compiles.
2151 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2152 * Image.cs InternalImageInfo class improved
2154 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2156 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2157 is set, default to Win32Impl
2159 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2160 * Image.cs implementation added
2162 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2164 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2166 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2168 * StringFormat.cs: Changes to become CLS-compliant
2170 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2172 * Factories.cs: Remove debugging message.
2174 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2175 * Color.cs code generation program modified
2177 2003-06-29 Alexandre Pigolkine
2178 * Graphics.cs image drawing
2180 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2183 supply KnowColor enum value to save Enum.Parse at runtime
2185 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2186 * Graphics.cs coordinate transformations
2187 * Image.cs small fix
2189 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2191 * FontFamily.cs more implementation
2193 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2195 * FontFamily.cs more implementation
2197 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2198 * Graphics.cs few more calls to implementation
2200 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2201 * Bitmap.cs BITMAP declaration removed
2202 * Graphics.cs few more calls to implementation
2203 * Image.cs InternalImageInfo structure, image read/write functions
2206 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2207 * Factories.cs analyse environment variable and machine.config to select implementation
2208 * Image.cs PixelFormat property added
2210 2003-04-30 Nick Drochak <ndrochak@gol.com>
2212 * Factories.cs: Change weird characters that broke build on windows.
2214 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2216 * ColorConverter.cs:
2217 (ConvertFrom): return a system or named color if there's one that fits
2218 teh values parsed with Color.FromArgb.
2220 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2230 delegate function calls to implementation
2232 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2236 * SystemBrushes.cs switch to Linux style line terminators
2238 2003-03-29 Alan Tam <Tam@SiuLung.com>
2239 * ToolboxBitmapAttribute
2240 stubbed more constructors and fixed base class
2242 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2244 added stubs to compile SWF
2247 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2252 small changes to be able to run SWF apps
2254 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2256 * Graphics.cs: stubbed out all the methods.
2258 2003-02-08 Piers Haken <piersh@friskit.com>
2260 * fixed case of pens.cs and font.cs
2262 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2269 2002-11-21 Dennis Hayes (dennish@raytek.com)
2270 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2274 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2276 * ColorTranslator.cs (FromHtml): Implement.
2278 2002-10-14 Dennis Hayes (dennish@raytek.com)
2280 * changed using namespace from Drawing2d to Drawing2D
2282 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2284 * Fixes the enum values in the following enums
2285 * ContentAlignment.cs:
2289 * RotateFlipType.cs:
2290 * StringAligment.cs:
2291 * StringDigitSubstitute.cs:
2292 * StringFormatFlags.cs:
2293 * StringTrimming.cs:
2295 * SolidBrush.cs: Easy implementation
2296 * Brushes.cs: Implementation based on SolidBrush and Color class.
2297 * Brush.cs: Fixes based on the status web).
2298 * CharacterRange.cs: Implemented the missing Lenth property.
2300 2002-9-14 Dennis Hayes (dennish@raytek.com)
2303 * removed personal template that should not have been checked in
2305 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2307 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2310 2002-9-14 DennisHayes <dennish@raytek.com>
2318 * ImageFormatConverter.cs
2320 * RectangleConverter.cs
2329 * ToolboxBitmapAttribute.cs
2330 * Added null classes for most/all classes, Many stubs, and some implmentation
2332 2002-9-2 DennisHayes <dennish@raytek.com>
2339 * Added stubs, implmentation
2341 2002-9-2 DennisHayes <dennish@raytek.com>
2343 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2344 but this should at least save someone some typing.
2345 * CharacterRange.cs :Implmented
2346 * Region.cs : stub needed for system.windows.forms
2348 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2350 * ColorTranslator.cs: use Color.Name.
2352 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2354 * Color.cs: implemented SystemColors and NamedColors properties that
2355 are used by ColorConverter, removed public constructor, use
2356 SystemColors, and misc. fixes to make it behave as MS (ToString,
2357 parsing names, FromKnownColor,...).
2359 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2360 trying to get the color from its name.
2362 * SystemColors.cs: new file.
2364 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2366 * Color.cs: changed static properties to use FromArgbNamed. Also
2367 modified the program included in comments that get the values for
2370 (FromArgbNamed): build named colors.
2371 (FromKnownColor): fixed.
2372 (FromName): use a hash to look up colors by name.
2373 (FillColorNames): create the hash of colors.
2374 (Equals): compare values and name.
2375 (ToString): improved.
2377 * ColorTranslator.cs: implemented ToHtml.
2379 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2381 * Color.cs: added TypeConverter attribute.
2383 * ColorConverter.cs: added constructor.
2385 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2389 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2391 * Bitmap.cs : using System.IO
2392 * ColorTranslator.cs : Stubbed off build breakers.
2393 * Image.cs : Stub off IDisposable and ICloneable.
2395 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2397 * Bitmap.cs: Ximian is the new copyright holder now.
2400 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2402 * Uppercased several files.
2404 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2406 * color.cs: Fixed a typo in GetSaturation ().
2408 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2410 * Bitmap.cs: Added method headers.
2412 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2414 * Bitmap.cs: Added, no implementation's done, yet.
2416 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2418 * Rectangle.cs : Add a doc comment.
2419 * RectangleF.cs : New struct implementation.
2421 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2423 * Rectangle.cs : New struct implementation.
2425 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2427 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2429 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2431 * Point.cs : New. Implementation of System.Drawing.Point struct.