1 2005-02-11 Peter Bartok <pbartok@novell.com>
3 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
4 it really is a pointer)
6 2005-02-10 Geoff Norton <gnorton@customerdna.com>
8 * Icon.cs: Implement GetObjectData ()
9 * Image.cs: Implement GetObjectData ()
11 2005-02-09 Geoff Norton <gnorton@customerdna.com>
13 * Icon.cs: Implement deserializer
14 * Bitmap.cs: Implement deserializer
16 2005-02-06 Ben Maurer <bmaurer@ximian.com>
18 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
20 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
22 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
24 2005-02-02 Jackson Harper <jackson@ximian.com>
26 * Region.cs: The default region constructor creates and infinite
27 region, not an empty one.
29 2005-01-27 Peter Bartok <pbartok@novell.com>
31 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
32 of HSV numbers. Previous implementation returned wrong numbers and NaN
35 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
37 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
38 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
39 : Implemented support for InstanceDescriptor.
41 2005-01-26 Peter Bartok <pbartok@novell.com>
43 * Icon.cs (ToBitmap): Now sets transparency in according to
46 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
48 * gdipFunctions.cs: Fixes GdipGet* function signatures
49 * FontFamily.cs: Fixes GdipGet* function calls
50 * Font.cs: Fixes ToString method
52 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
54 * Graphics.cs: calls XCloseDisplay on X11 when need it
55 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
57 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
59 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
61 2004-12-16 Peter Bartok <pbartok@novell.com>
63 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
64 equivalent to the gdi+ native object
66 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
67 equivalent to the gdi+ native object
69 2004-12-09 Geoff Norton <gnorton@customerdna.com>
71 * carbonFunctions.cs: New carbon functions/structures
72 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
74 2004-12-08 Geoff Norton <gnorton@customerdna.com>
76 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
77 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
79 2004-12-07 Geoff Norton <gnorton@customerdna.com>
81 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
82 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
84 2004-12-06 Miguel de Icaza <miguel@ximian.com>
86 * FontFamily.cs: This one is static.
88 2004-11-25 Ravindra <rkumar@novell.com>
90 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
91 type from int to Status type.
93 2004-11-25 Marek Safar <marek.safar@seznam.cz>
95 * Image.cs: Add CheckStatus to SaveAdd.
97 2004-11-22 Ravindra <rkumar@novell.com>
99 * Graphics.cs: Fixed null values handling in all overloads of
100 MeasureString method.
102 2004-11-18 Ravindra <rkumar@novell.com>
104 * gdipFunctions.cs: Removed the .so extension from a DllImport
107 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
109 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
112 2004-11-03 Miguel de Icaza <miguel@ximian.com>
114 * TextureBrush.cs (Clone): While cloning, it is not enough to let
115 GDIPlus clone the underlying data, we must alos clone the managed
118 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
119 errors in the future, set the lock on the object before doing any
120 other tests, not after.
122 (Clone): While cloning, it is not enough to let
123 GDIPlus clone the underlying data, we must alos clone the managed
126 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
127 errors in the future.
129 Set the lock in the object before checkign disposed.
131 * SolidBrush.cs (Clone): While cloning, it is not enough to let
132 GDIPlus clone the underlying data, we must alos clone the managed
135 (Dispose): Set the nativeObject to IntPtr.Zero to catch
136 errors in the future.
138 2004-10-28 Ravindra <rkumar@novell.com>
140 * gdipFunctions.cs: Added checks for null stream in the
141 StreamHelper internal class.
142 * Icon.cs: Removed an ugly hack that used temp files in
143 ToBitmap () method. We use MemoryStream instead.
145 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
147 * Font.cs: fixes bug 66533
149 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
151 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
152 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
153 lock operations after conversation with Miguel. Do not really
156 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
158 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
160 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
162 * Bitmap.cs: Fixes MakeTransparent method
164 2004-10-13 Ravindra <rkumar@novell.com>
166 * Graphics.cs: Moved the initialization of 'use_x_drawable'
167 member out of private constructor to class initialization.
168 So that, we get it right even if Graphics is not instantiated.
169 This fixes the problem we face (otherwise) when we make first
170 call to Graphics.FromHwnd () method.
172 2004-10-08 Ravindra <rkumar@novell.com>
174 * Image.cs: Suppress finalization in Dispose () method.
176 2004-10-04 Ravindra <rkumar@novell.com>
178 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
180 2004-09-29 Jackson Harper <jackson@ximian.com>
182 * Graphics.cs: Use FromHdcInternal to set the X display
183 handle. Add a flag to check if we are on unix so we aren't calling
184 Environment.OSVersion.Platform all the time. Mad props to Peter
187 2004-09-17 Marek Safar <marek.safar@seznam.cz>
189 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
190 ToLogFont: Implemented.
192 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
194 GdipCreateFontFromLogfontA: A new extern call.
196 2004-09-13 Ravindra <rkumar@novell.com>
198 * Graphics.cs: MSDN says that using image width and height gives
199 better performance, hence we are using image width and height to
200 avoid autoscaling in DrawImageUnscaled.
202 2004-09-10 Ravindra <rkumar@novell.com>
204 * Graphics.cs: Implemented DrawIcon methods and fixed
205 DrawImageUnscaled method implementation.
207 2004-08-21 Jackson Harper <jackson@ximian.com>
209 * ImageAnimator.cs: Run animator as a background thread so we do
212 2004-08-21 Ravindra <rkumar@novell.com>
214 * gdipFunctions.cs: Modified exception message to include the case
215 of missing required libraries for different formats.
217 2004-08-10 Jackson Harper <jackson@ximian.com>
219 * SystemColors.cs: Make Highlight colour match colour from windows
220 classic color scheme.
222 2004-07-30 Ravindra <rkumar@novell.com>
224 * Font.cs: Fixed Height property implementation and implemented
225 GetHeight method and its overloads.
227 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
229 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
230 P/Invoke function for Image.
231 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
233 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
235 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
236 GdipGetAllPropertyItems P/Invoke function for Image.
237 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
238 * Image.cs: Corrected implementation of PropertyItems property.
240 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
242 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
243 P/Invoke function for Image.
244 * Image.cs: Changed implementation of PropertyIdList property.
246 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
248 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
249 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
251 2004-07-21 Ravindra <rkumar@novell.com>
253 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
254 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
256 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
258 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
259 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
260 * gdipFunctions.cs: new GDI function calls
262 2004-07-16 Ravindra <rkumar@novell.com>
264 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
266 2004-07-15 Ravindra <rkumar@novell.com>
268 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
270 2004-07-13 Ravindra <rkumar@novell.com>
272 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
273 This was redundant. It was kept in previous checkin to avoid
276 2004-07-13 Ravindra <rkumar@novell.com>
278 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
280 2004-07-09 Peter Bartok <pbartok@novell.com>
281 * Graphics.cs: Added support required for new managed SWF library
282 * gdipFunctions.cs: Added XOpenDisplay definition/import
284 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
286 * gdipFunctions.cs: fixes bug 61050
288 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
290 * ImageAnimator.cs: Rewrote complete implementation.
292 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
294 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
295 If read function was called after seek function call, the
296 implementation was returning data from bytes already peeked and
297 not from the new position in stream, which we have seeked.
299 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
301 * Graphics.cs: added MeasureString wrappers
303 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
305 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
307 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
309 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
311 2004-06-18 Ravindra <rkumar@novell.com>
313 * FontConverter.cs: Implemented the missing functions.
314 * Font.cs: Added some notes.
316 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
318 * gdipFunctions.cs: Modified Function signature for
319 GdipSaveImageToDelegate_linux() method for saving tiff images
321 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
324 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
326 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
327 and Size, required by TIFFCodec. Modifed Function signature for
328 GdipLoadImageFromDelegate_linux() method.
329 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
332 2004-06-11 Ravindra <rkumar@novell.com>
334 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
335 from out int to out IntPtr.
336 * SolidBrush.cs: Same.
338 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
340 * Image.cs: API signature fixes, meaning DisposeResources is now
341 private and marked InitFromStream internal
343 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
345 * FontFamily.cs: simplifies object destruction and fixes
347 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
349 * FontFamily.cs: added destructor
350 * Graphics.cs: added destructor to stop leaking, remove debugging code
353 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
355 * gdipFunctions.cs: added GdipSaveAddImage
356 * Image.cs: added SaveAdd methods
358 2004-06-02 Peter Bartok <pbartok@novell.com>
359 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
360 (This fixes bug #59479)
362 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
364 * Font.cs: Added missing Browsable attribute on SizeInPoints.
365 * Region.cs: Removed extra ComVisible attribute from Clone().
367 2004-06-01 Ravindra <rkumar@novell.com>
369 * Pen.cs: Added a note on Dispose method.
370 * Brush.cs: Fixed Dispose method.
371 * SolidBrush.cs: Fixed Dispose method.
373 2004-05-28 Ravindra <rkumar@novell.com>
375 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
377 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
378 rectangles implementation (This is basically done to avoid lots
379 of brush and pen setup happening in libgdiplus.)
381 2004-05-27 Ravindra <rkumar@novell.com>
383 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
385 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
387 * ImageFormatConverter.cs: Fixed issues discovered from nunit
390 2004-05-26 Ravindra <rkumar@novell.com>
392 * Color.cs: Corrected Color.Green property.
394 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
395 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
397 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
399 * Icon.cs: Fixed issue with size property.
401 2004-05-18 Ravindra <rkumar@novell.com>
403 * Pen.cs: Added value checks in DashPattern and CompoundArray
406 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
408 * Graphics.cs: fixed warning
409 * ImageAnimator.cs: fixed warning
410 * FontConverter.cs: fixed public API
412 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
414 * gdipFunctions.cs: Fixed prototype for
415 GdipGetEncoderParameterList
417 * Image.cs: Reworked Save functions to handle EncoderParameters.
418 Implemented GetEncoderParameterList
419 Also removed unused setGDIPalette internal method.
421 2004-05-14 Peter Bartok <pbartok@novell.com>
422 * StringFormat.cs: Added CharacterRange handling
423 * Graphics.cs: Implemented MeasureCharacterRanges method
425 2004-05-14 Peter Bartok <pbartok@novell.com>
426 * Graphics.cs: Added error check
428 2004-05-14 Duncan Mak <duncan@ximian.com>
429 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
430 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
431 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
433 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
434 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
436 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
437 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
439 2004-05-13 Peter Bartok <pbartok@novell.com>
440 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
443 2004-05-12 Peter Bartok <pbartok@novell.com>
444 * Image.cs: Implemented GetThumbnailImage
446 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
447 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
448 FromXDrawable(IntPtr, IntPtr) internal.
450 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
451 * Color.cs: work for API compatibilty: private date, todos
452 * Font.cs: work for API compatibilty: private date, todos
453 * FontFamily.cs: work for API compatibilty: private date, todos
454 * Graphics.cs: work for API compatibilty: private date, todos
455 * Icon.cs: work for API compatibilty: private date, todos
456 * Image.cs: work for API compatibilty: private date, todos
457 * ImageAnimator.cs: work for API compatibilty: private date, todos
458 * Point.cs: work for API compatibilty: private date, todos
459 * PointF.cs: work for API compatibilty: private date, todos
460 * Rectangle.cs: work for API compatibilty: private date, todos
461 * RectangleF.cs: work for API compatibilty: private date, todos
462 * Region.cs: work for API compatibilty: private date, todos
463 * Size.cs: work for API compatibilty: private date, todos
464 * SizeF.cs: work for API compatibilty: private date, todos
465 * SolidBrush.cs: work for API compatibilty: private date, todos
466 * StringFormat.cs: work for API compatibilty: private date, todos
467 * SystemPens.cs: work for API compatibilty: private date, todos
468 * TextureBrush.cs: work for API compatibilty: private date, todos
469 * gdipStructs.cs: work for API compatibilty: private date, todos
471 2004-05-12 Ravindra <rkumar@novell.com>
473 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
474 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
475 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
476 Added missing attributes and some coding style fixes.
477 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
480 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
482 * ImageAnimator.cs: Implemented first version.
484 2004-05-11 Ravindra <rkumar@novell.com>
486 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
489 2004-05-10 Ravindra <rkumar@novell.com>
491 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
492 for the same. Added few related P/Invokes for Pen also.
494 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
496 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
498 2004-05-06 Ravindra <rkumar@novell.com>
500 * RectangleConverter.cs: Implemented GetProperties () method.
501 * SizeConverter.cs: Implemented GetProperties () method.
502 * PointConverter.cs: Implemented GetProperties () method.
503 * FontConverter.cs: Implemented some of the methods.
505 2004-05-06 Ravindra <rkumar@novell.com>
507 * Color.cs: Fixed Name property.
508 * ColorTranslator.cs: Fixed the existing methods and implemented
510 * ColorConverter.cs: Fixed the existing methods and implemented
511 the missing methods. Also, fixed coding style.
513 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
514 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
516 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
517 * Image.cs: raw_format should be handled by GDI+
518 * Bitmap.cs: raw_format should be handled by GDI+
520 2004-05-04 Ravindra <rkumar@novell.com>
522 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
523 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
524 properties and SetLineCap method. In constructors use IntPtr instead
526 * SolidBrush.cs: Modified exception message.
527 * TextureBrush.cs: Fixed Transform property.
528 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
529 LinearGradientBrush.cs.
531 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
533 * Image.cs: Implemented FrameDimensionsList property.
535 2004-04-30 Ravindra <rkumar@novell.com>
537 * gdipFunctions.cs: Added few more P/Invoke calls for
538 lineargradient brush and added one case statement in
541 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
543 * Image.cs: takes into account MemoryBmp format when saving
545 2004-04-30 Ravindra <rkumar@novell.com>
547 * StringFormat.cs: Added checks for status.
549 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
551 * Image.cs: Removed calls which passes byte[] for Guid parameter.
552 * gdipFunctions.cs: Removed unwanted unix specific function calls.
554 2004-04-30 Ravindra <rkumar@novell.com>
556 * Graphics.cs: Added checks for status.
557 * Image.cs: Added a check for status.
558 * FontFamily.cs: Added checks for status.
560 2004-04-29 Peter Bartok <pbartok@novell.com>
562 * Brushes.cs: Fixed bug #52695. No longer creates a new
563 brush for every request and behaves Microsoft compatible
565 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
567 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
568 its ClsID instead of the formatID (as GDI+ expects)
570 2004-04-29 Ravindra <rkumar@novell.com>
572 * Font.cs: Added checks for status.
573 * Bitmap.cs: Added checks for status.
574 * Pen.cs: Added checks for status.
576 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
578 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
579 Converted to unix format from dos format.
581 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
583 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
585 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
587 * gdipStructs.cs: added GdipImageCodecInfo struct
589 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
591 * ImageFormatConverter.cs: Corrected ConvertFrom method.
593 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
595 * ImageConverter.cs: Added exception message.
596 * IconConverter.cs: Added exception message.
597 * ImageFormatConverter.cs: Implemented first version.
599 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
601 * ImageConverter.cs: Implemented first version.
603 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
605 * IconConverter.cs: Implemented first version.
607 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
609 * Image.cs: Corrected implementation of Property RawFormat.
610 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
612 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
614 * Bitmap.cs: Resolved a compile time error.
615 * Image.cs: Changed the implementation of few methods to progress
616 with ImageAnimator class.
617 * gdipFunctions.cs: Added few linux only function calls.
618 * Icon.cs: Removed unused variable from code.
620 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
622 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
624 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
626 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
627 serialization for Bitmaps. (Bugzilla #52568)
629 2004-04-23 Ravindra <rkumar@novell.com>
631 * RectangleConverter.cs: Fixed ConvertTo () method.
632 * SizeConverter.cs: Fixed ConvertTo () method.
633 * PointConverter.cs: Fixed ConvertTo () method.
635 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
636 * ImageAnimator.cs: Implemented CanAnimate() method.
638 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
639 * Image.cs: added RotateFlip and RemovePropertyItem calls
641 2004-04-22 Ravindra <rkumar@novell.com>
643 * RectangleConverter.cs: Implemented. Also changed file format
645 * Rectangle.cs: Fixed ToString method.
646 * RectangleF.cs: Fixed ToString method.
648 2004-04-22 Ravindra <rkumar@novell.com>
650 * SizeConverter.cs: Implemented some of the functions.
651 * PointConveter.cs: Implemented.
652 * gdipFunctions.cs: Corrected one typo.
653 * Brushes.cs: Added a comment.
655 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
657 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
658 returning portions of the peek buffer back. Fixes #57379.
660 2004-04-21 Peter Bartok <pbartok@novell.com>
661 * Font.cs: Implemented Font.FromHfont method
662 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
663 * gdipFunctions.cs: Added imports for functions required to support
664 Font.FromHfont method
666 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
667 * RectangleConverter.cs: stubbed out
668 * Font.cs : added missing members
670 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
671 * Icon.cs: Fixed problem in extracting bitmap from Icon.
673 2004-04-16 Ravindra <rkumar@novell.com>
675 * Pen.cs: GC should be allowed to collect any pen including
677 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
678 including system brushes.
679 * Brushes.cs: Coding style.
680 * Pens.cs: Objects created by Pens are not modifiable on
681 MS.NET, so we are now. Also, coding style fixes.
682 * SystemPens.cs: Removed static constructor and changed file
684 * SystemBrushes.cs: Some cosmetic changes.
686 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
687 * Icon.cs: Implemented more missing bits and fixed the problem
688 of icon not getting saved in proper format
690 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
691 * Icon.cs: Implemented more missing bits
693 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
694 * Icon.cs: Implemented few more missing bits
696 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
697 * Icon.cs: Implemented first version
699 2004-04-11 Peter Bartok <pbartok@novell.com>
700 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
701 the code and using our own private gdiplus function when on Unix and using Win32
702 functions when running on Windows
703 * gdipStructs.cs: Added LOGFONTA structure
704 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
706 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
708 * Image.cs: Save should use encoder.FormatID, not Clsid
710 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
711 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
712 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
714 2004-04-06 Duncan Mak <duncan@ximian.com>
716 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
718 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
719 * Region.cs: fixes GetRegionScans
720 * gdipFunctions.cs: fixes GetRegionScans
722 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
724 * gdipFunctions.cs: Added stream delegate helpers for
725 stream loading/saving on linux
727 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
728 loading/saving image data.
730 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
731 * Region.cs: implemented new methods
732 * Graphics.cs: implemented new methods
734 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
735 * Region.cs: implemented
737 2004-04-01 Duncan Mak <duncan@ximian.com>
739 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
741 * gdipFunctions.cs (GdipAddPathCurveI):
742 (GdipAddPathCurve2, GdipAddPathCurve2I):
743 (GdipAddPathCurve3, GdipAddPathCurve3I):
744 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
745 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
748 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
749 * Image.cs: implemented a few GDI+ wrapper calls
751 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
752 * Bitmap.cs: remove redundant data already present at Image.cs
753 * Image.cs: use GDI+ functions to get image details
754 * StringFormat.cs: missing constructor and property
756 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
757 * FontFamily.cs: added missing members and style clean
758 * Graphics.cs: fixed signature of DrawArc and DrawPie
759 * Image.cs: added missing members, fixes
760 * StringFormat.cs: missing constructor and property
762 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
763 * Graphics.cs: Added missing DrawImage GDI+ calls
764 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
766 2004-03-23 Ravindra <rkumar@novell.com>
767 * gdipFunctions.cs: Added few more P/Invoke calls for
770 2004-03-22 Ravindra <rkumar@novell.com>
771 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
772 and did few coding style fixes.
774 2004-03-18 Ravindra <rkumar@novell.com>
775 * Brush.cs: Fixed Dispose method.
776 * SolidBrush.cs: Fixed clone method.
777 * TextureBrush.cs: Fixed clone method.
778 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
780 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
782 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
784 2004-03-10 Ravindra <rkumar@novell.com>
785 * Pen.cs: Implemented PenType property.
786 * Brush.cs: Coding style.
788 2004-03-06 Ravindra <rkumar@novell.com>
789 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
790 for PathGradientBrush.
792 2004-03-06 Ravindra <rkumar@novell.com>
793 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
796 2004-03-04 Duncan Mak <duncan@ximian.com>
798 * Region.cs: Indentation.
800 * RectangleF.cs: Changed the internal structure from a PointF,
801 SizeF to floats in order to match the layout from the C API.
803 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
804 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
806 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
807 * gdipFunctions.cs: Added functions for ImageAttributes
809 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
810 * Icon.cs: Missing function stubs added
811 * Icon.cs: Missing function stubs added
812 * IconConverter.cs: Missing function stubs added
813 * ImageAnimator.cs: Missing function stubs added
814 * ImageConverter.cs: Missing function stubs added
815 * ImageFormatConverter.cs: Missing function stubs added
817 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
818 * Font.cs: Allow multiple styles
820 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
821 * StringFormat.cs: Clone method
823 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
824 * font.cs: fixes, Clone, and ToString
826 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
827 * gdipFunctions.cs: MeasureString
828 * Graphics.cs : MeasureString
830 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
831 * Font.cs: destructor and unit conversion
832 * Graphics.cs : system dpi support
834 2004-02-13 Ravindra <rkumar@novell.com>
835 * Pen.cs: Fixed some bugs.
836 * TextureBrush.cs: Fixed some bugs.
838 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
839 * gdipFunctions.cs: Added ImageCodecInfo functions
840 * Image.cs: Added few methods
842 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
843 * FontFamily.cs: remove hardcoded font names, a few bug fixes
845 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
846 * gdipFunctions.cs: Added Image class functions
847 * Image.cs: Added few methods
849 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
850 * graphics.cs: fixes parameters for DrawStrings functions
852 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
854 * SRDescriptionAttribute.cs: Added and implemented
855 * ToolboxBitmapAttribute.cs: Implemented a few members
856 * SystemIcons.cs: Stubbed
857 * StringFormat.cs: Implemented method
858 * Region.cs: Added Todo, fixed attribute
859 * Size.cs: Added attribute
860 * SizeF.cs: Added attribute
861 * RectangleF.cs: Added attributes
862 * Rectangle.cs: Added attributes
863 * PointF.cs: Added attribute
864 * Point.cs: Added attribute
866 2004-02-06 Ravindra <rkumar@novell.com>
868 * Brush.cs: Renamed GetException method to CheckStatus
869 and moved it to gdipFunctions.cs.
870 * gdipFunctions.cs: Added CheckStatus method.
871 * SolidBrush.cs: Using CheckStatus method.
872 * TextureBrush.cs: Using CheckStatus method.
873 * gdipEnums.cs: Added a missing value.
875 2004-02-05 Ravindra <rkumar@novell.com>
877 * Brush.cs: Added a missing namespace.
879 2004-02-05 Ravindra <rkumar@novell.com>
881 * gdipFunctions.cs: Added methods for HatchBrush and
883 * SolidBrush.cs: Added checks for status.
884 * Brush.cs: Added support for HatchBrush and TextureBrush
885 types in internal CreateBrush() method.
887 2004-02-03 Jordi Mas <jordi@ximian.com>
888 * Font.cs: Setup font properties
890 2004-02-03 Ravindra <rkumar@novell.com>
892 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
893 method from TextureBrush.cs to Brush.cs.
894 * Brush.cs: Made GetException (Status) method internal.
896 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
898 * gdipFunctions.cs: Added methods for Image class.
900 2004-01-30 Ravindra <rkumar@novell.com>
902 * TextureBrush.cs: Added more methods to complete it.
903 * gdipFunctions.cs: Added methods for TextureBrush class.
905 2004-01-30 Ravindra <rkumar@novell.com>
907 * gdipFunctions.cs: Added methods for TextureBrush class.
909 2004-01-30 Ravindra <rkumar@novell.com>
911 * Pen.cs: Modified to handle TextureBrush also.
912 * Bitmap.cs: Added one internal constructor.
913 * TextureBrush.cs: Implemented.
915 2004-01-29 Duncan Mak <duncan@ximian.com>
918 * Graphics.cs: Indentation fixes, removed long dangling lines and
921 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
924 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
926 * FontFamily.cs: Implemented few methods and a constructor
928 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
930 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
931 * FontFamily.cs: Implemented missing functionalities.
933 2004-01-24 Duncan Mak <duncan@ximian.com>
935 * Graphics.cs (DrawPath): Implemented.
937 2004-01-23 Ravindra <rkumar@novell.com>
939 * Point.cs: ToString modified.
940 * PointF.cs: ToString modified.
941 * Size.cs: ToString modified.
942 * SizeF.cs: ToString modified. ToPoint and ToSize methods
945 2004-01-21 Jordi Mas i Hernà ndez
946 * Bitmap.cs: Several new methods added.
948 2004-01-21 Duncan Mak <duncan@ximian.com>
950 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
951 OutAttribute to the array argument. This fixes the PathPoints
952 property in System.Drawing.Drawing2D.GraphicsPath.
954 2004-01-20 Ravindra <rkumar@novell.com>
956 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
957 this property was hanging and getting was throwing a NullRef
958 Exception. Earlier we were passing Matrix object to and fro
959 which was causing the problem. Now, we are using IntPtr.
960 Thanks to Duncan for helping me.
961 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
962 together. If color is set, a SolidBrush automatically gets
963 set with the same color, Pen loses the old brush object.
964 If a SolidBrush is set, Pen.Color gets the value same as that
965 of brush color losing the old value. Pen shows this behavior
967 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
968 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
970 2004-01-19 Duncan Mak <duncan@ximian.com>
972 * gdipFunctions.cs: Import functions for GraphicsPath.
974 2004-01-14 Ravindra <rkumar@novell.com>
976 * SolidBrush.cs: Made SolidBrush to initialize its color
979 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
981 2004-01-11 Duncan Mak <duncan@ximian.com>
983 * Bitmap.cs (LockBits):
984 * Graphics.cs (DrawString): Removed reference to GpRectF.
986 2004-01-09 Duncan Mak <duncan@ximian.com>
988 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
989 Removed. Didn't know that structs are laid out sequentially by
990 default. We don't need these anymore.
992 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
994 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
996 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
998 * Graphics.cs: fix compile error on Windows builds for out
999 parameter state in call to GdipSaveGraphics
1001 2004-01-10 Ravindra <rkumar@novell.com>
1003 * All Enums: Made serializable.
1005 * Image.cs: Corrected signature of Dispose(bool) method.
1007 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1008 Corrected coding style mistakes of my previous commit.
1010 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1012 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1014 * StringFormat.cs: Inherits MarshalByRefObject.
1016 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1018 2004-01-08 Ravindra <rkumar@novell.com>
1020 * Pen.cs: Added isModifiable (bool) variable. It is required to
1021 make Pens created by SystemPens.cs unmodifiable. All property
1022 setters are modified for this.
1024 * SolidBrush.cs: Added isModifiable variable (bool). It is
1025 required to make Brushes created by SystemBrushes.cs unmodifiable.
1026 All property setters are modified for this.
1028 * SystemBrushes.cs: Modified all the properties as per the .NET
1029 specs, so that Brushes are not created every time. Also, missing
1030 properties are added.
1032 * SystemPens.cs: Modified all the properties as per the .NET
1033 specs, so that Brushes are not created every time. Also, missing
1034 properties are added.
1036 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1038 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1041 2004-01-06 Duncan Mak <duncan@ximian.com>
1043 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1045 2003-12-21 Duncan Mak <duncan@ximian.com>
1047 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1048 up to the GDI+ implementation.
1049 (RotateTransform): Uncommented.
1051 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1054 2003-12-13 Todd Berman <tberman@sevenl.net>
1056 * Font.cs: Implementing a couple things for porting purposes
1057 * SystemBrushes.cs: ^
1058 * StringFormat.cs: ^^
1060 2003-11-28 Duncan Mak <duncan@ximian.com>
1062 * Pen.cs (CompoundArray): Hide this for now.
1064 2003-11-28 Duncan Mak <duncan@ximian.com>
1066 * Brush.cs (CreateBrush): new internal factory method for creating
1067 specific brushes based on the internal (GDI+ C API) BrushType
1069 (Brush (IntPtr)): new internal constructor.
1071 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1073 (Pen (IntPtr)): new internal constructor.
1074 (Pen (Brush, float)): Use GdipCreateBrush2.
1075 (Clone): Implemented using GdipClonePen.
1076 (Alignment, Brush, Color, Width): Use GDI+ implementations
1078 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1079 Implemented these properties.
1080 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1081 (MultiplyTransform, ResetTransform, RotateTransform):
1082 (ScaleTransform, TranslateTransform): Implemented these methods.
1084 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1086 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1088 * gdipFunctions.cs: Imported new Brush and Pen functions.
1090 2003-11-22 Duncan Mak <duncan@ximian.com>
1093 (GdipResetWorldTransform, GdipSetWorldTransform):
1094 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1096 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1097 (transform): Removed this field. Always use the
1098 matrix associated in the GpGraphics ptr.
1099 (DrawBeziers): Implemented.
1100 (DrawLine): Don't need to manually invoke the transform now.
1101 (MultiplyTransform, ResetTransform):
1102 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1103 (Transform): Instead of storing a Matrix in managed code, use
1104 equivalent GDI+ functions.
1106 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1108 * SizeConverter.cs: fixed class signature and implemented some methods.
1110 2003-11-17 Duncan Mak <duncan@ximian.com>
1112 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1114 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1116 2003-11-17 Duncan Mak <duncan@ximian.com>
1118 * Bitmap.cs (LockBits):
1119 * Graphics.cs (DrawString): Use GpRectF.
1121 * gdipFunctions.cs: Updated method signatures.
1123 * Graphics.cs (MultiplyTransform): Implemented using
1124 GdipMultiplyWorldTransform from GDI+.
1126 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1127 GpRect, to be more consistent with the C naming.
1129 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1131 * Graphics.cs: Implement the other DrawString overloads .
1133 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1135 * gdipStructs.cs (GdipRectF): Added utility constructor
1137 2003-11-15 Duncan Mak <duncan@ximian.com>
1139 * gdipFunctions.cs: Imported matrix functions.
1141 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1143 * Bitmap.cs: Added Attributes
1144 * ColorTranslator.cs: Added private constructor
1145 * Font.cs: Added Attributes
1146 * FontFamily.cs: sealed
1147 * Icon.cs: Added Attributes
1148 * IconConverter.cs: Fixed signature
1149 * Image.cs: Added attributes
1151 * ImageConverter.cs:
1152 * ImageFormatConverter.cs:
1159 * TextureBrush.cs: Fixed signature
1160 * Color.cs: Added attributes
1165 * SizeF.cs: Added attributes
1166 * ContentAlignment.cs: Added attribute
1168 2003-11-13 Duncan Mak <duncan@ximian.com>
1170 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1173 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1174 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1175 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1177 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1179 * gdipFunctions.cs copy image in Bitmap constructor
1181 2003-11-06 Duncan Mak <duncan@ximian.com>
1182 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1183 angle parameters for the integer case.
1184 (DrawBezier): Hook it up with GdipDrawBezier.
1185 (DrawEllipse): Fix Width, Height ordering.
1187 2003-11-05 Duncan Mak <duncan@ximian.com>
1189 * Graphics.cs (DrawPie):
1190 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1193 2003-10-28 Duncan Mak <duncan@ximian.com>
1195 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1196 (FillEllipse, FillPolygon): implemented.
1197 (RenderingOrigin): implemented.
1199 * gdipFunctions.cs: Added new GDI+ equivalents.
1201 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1203 * Image.cs small fixes
1205 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1207 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1209 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1211 * SystemBrushes.cs: Some more brushe3s.
1213 * SystemPens.cs: More pens.
1215 * Pen.cs: Implement IDisposable, ICloneable.
1217 * Region.cs: Add some more stubs here.
1219 * StringFormat.cs: Add some more code here.
1221 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1223 * Image.cs: Kill the InternalImageInfo, everything is now done in
1224 terms of Image and BitmapData.
1226 * Rectangle.cs: Make this one also sequential, change from using
1227 Point + Size to use x, y, width, height; So we can use GdiPlus.
1229 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1230 BitmapData class argument, and instead use the [In,Out]
1231 attributes, which will do struct marshalling on the fields. Now
1232 we can use C#'s BitmapData directly to talk to Gdiplus.
1234 * gdipStructs.cs: Every internal structure that has to talk to
1235 Gdi+ is properly prefixed, to minimize the confussion.
1237 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1238 Compute the stride here where we have the BPP information,
1239 allocate a buffer of the proper size, and pass this to
1240 GdipCreateBitmapFromScan0
1242 * Image.cs: Implement Dispose pattern.
1244 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
1247 * gdipStructs.cs DrawString function added
1249 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1252 * gdipStructs.cs added
1255 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1264 implementation changed to gdi+
1266 2003-09-08 Duncan Mak <duncan@ximian.com>
1268 * Factories.cs (DefaultImplementationNamespace): Change it from
1269 "XrImpl" to "Cairo".
1271 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1276 2003-08-08 Duncan Mak <duncan@ximian.com>
1278 * Graphics.cs (DrawBezier): Fixed.
1280 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
1281 * Graphics.cs delegate Dispose to implementation
1283 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285 * FontConverter.cs: stub it out so that system.web compiles.
1287 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1288 * Image.cs InternalImageInfo class improved
1290 2003-07-23 Miguel de Icaza <miguel@ximian.com>
1292 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1293 is set, default to Win32Impl
1295 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1296 * Image.cs implementation added
1298 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1300 * Icon.cs: Stubed out (fix for System.Drawing.Design)
1302 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1304 * StringFormat.cs: Changes to become CLS-compliant
1306 2003-07-14 Miguel de Icaza <miguel@ximian.com>
1308 * Factories.cs: Remove debugging message.
1310 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1311 * Color.cs code generation program modified
1313 2003-06-29 Alexandre Pigolkine
1314 * Graphics.cs image drawing
1316 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1319 supply KnowColor enum value to save Enum.Parse at runtime
1321 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1322 * Graphics.cs coordinate transformations
1323 * Image.cs small fix
1325 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1327 * FontFamily.cs more implementation
1329 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1331 * FontFamily.cs more implementation
1333 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1334 * Graphics.cs few more calls to implementation
1336 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1337 * Bitmap.cs BITMAP declaration removed
1338 * Graphics.cs few more calls to implementation
1339 * Image.cs InternalImageInfo structure, image read/write functions
1342 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
1343 * Factories.cs analyse environment variable and machine.config to select implementation
1344 * Image.cs PixelFormat property added
1346 2003-04-30 Nick Drochak <ndrochak@gol.com>
1348 * Factories.cs: Change weird characters that broke build on windows.
1350 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1352 * ColorConverter.cs:
1353 (ConvertFrom): return a system or named color if there's one that fits
1354 teh values parsed with Color.FromArgb.
1356 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1366 delegate function calls to implementation
1368 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1372 * SystemBrushes.cs switch to Linux style line terminators
1374 2003-03-29 Alan Tam <Tam@SiuLung.com>
1375 * ToolboxBitmapAttribute
1376 stubbed more constructors and fixed base class
1378 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1380 added stubs to compile SWF
1383 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
1388 small changes to be able to run SWF apps
1390 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1392 * Graphics.cs: stubbed out all the methods.
1394 2003-02-08 Piers Haken <piersh@friskit.com>
1396 * fixed case of pens.cs and font.cs
1398 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1405 2002-11-21 Dennis Hayes (dennish@raytek.com)
1406 * checkin for Matt Stump (mstump@swfo.arizona.edu)
1410 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
1412 * ColorTranslator.cs (FromHtml): Implement.
1414 2002-10-14 Dennis Hayes (dennish@raytek.com)
1416 * changed using namespace from Drawing2d to Drawing2D
1418 2002-9-15 Asier Llano <asierllano@infonegocio.com>
1420 * Fixes the enum values in the following enums
1421 * ContentAlignment.cs:
1425 * RotateFlipType.cs:
1426 * StringAligment.cs:
1427 * StringDigitSubstitute.cs:
1428 * StringFormatFlags.cs:
1429 * StringTrimming.cs:
1431 * SolidBrush.cs: Easy implementation
1432 * Brushes.cs: Implementation based on SolidBrush and Color class.
1433 * Brush.cs: Fixes based on the status web).
1434 * CharacterRange.cs: Implemented the missing Lenth property.
1436 2002-9-14 Dennis Hayes (dennish@raytek.com)
1439 * removed personal template that should not have been checked in
1441 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1443 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
1446 2002-9-14 DennisHayes <dennish@raytek.com>
1454 * ImageFormatConverter.cs
1456 * RectangleConverter.cs
1465 * ToolboxBitmapAttribute.cs
1466 * Added null classes for most/all classes, Many stubs, and some implmentation
1468 2002-9-2 DennisHayes <dennish@raytek.com>
1475 * Added stubs, implmentation
1477 2002-9-2 DennisHayes <dennish@raytek.com>
1479 * Brushes.cs : stubbed, added colors. Not sure how to implement,
1480 but this should at least save someone some typing.
1481 * CharacterRange.cs :Implmented
1482 * Region.cs : stub needed for system.windows.forms
1484 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1486 * ColorTranslator.cs: use Color.Name.
1488 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1490 * Color.cs: implemented SystemColors and NamedColors properties that
1491 are used by ColorConverter, removed public constructor, use
1492 SystemColors, and misc. fixes to make it behave as MS (ToString,
1493 parsing names, FromKnownColor,...).
1495 * ColorConverter.cs: use NamedColors and SystemColors from Color when
1496 trying to get the color from its name.
1498 * SystemColors.cs: new file.
1500 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502 * Color.cs: changed static properties to use FromArgbNamed. Also
1503 modified the program included in comments that get the values for
1506 (FromArgbNamed): build named colors.
1507 (FromKnownColor): fixed.
1508 (FromName): use a hash to look up colors by name.
1509 (FillColorNames): create the hash of colors.
1510 (Equals): compare values and name.
1511 (ToString): improved.
1513 * ColorTranslator.cs: implemented ToHtml.
1515 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1517 * Color.cs: added TypeConverter attribute.
1519 * ColorConverter.cs: added constructor.
1521 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1523 * ColorConverter.cs: implemented minimal set of features needed by xsp.
1525 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
1527 * Bitmap.cs : using System.IO
1528 * ColorTranslator.cs : Stubbed off build breakers.
1529 * Image.cs : Stub off IDisposable and ICloneable.
1531 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
1533 * Bitmap.cs: Ximian is the new copyright holder now.
1536 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
1538 * Uppercased several files.
1540 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
1542 * color.cs: Fixed a typo in GetSaturation ().
1544 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
1546 * Bitmap.cs: Added method headers.
1548 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
1550 * Bitmap.cs: Added, no implementation's done, yet.
1552 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
1554 * Rectangle.cs : Add a doc comment.
1555 * RectangleF.cs : New struct implementation.
1557 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
1559 * Rectangle.cs : New struct implementation.
1561 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
1563 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
1565 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
1567 * Point.cs : New. Implementation of System.Drawing.Point struct.