1 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
3 * TestColor.cs: Added tests for GetHue, GetBrightness
6 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
8 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
9 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
10 * Image.cs: Use PlatformID.Unix under NET_2_0.
12 2005-05-05 Miguel de Icaza <miguel@novell.com>
14 * Bitmap.cs, Icon.cs (constructor): Use
15 GetManifestResourceStream(Type,string) in the constructor that
18 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
20 * PointF.cs: Make serialization compatible with MS.
22 2005-04-10 Geoff Norton <gnorton@customerdna.com>
26 Use CGContextSynchronize instead of CGContextFlush. This saves
27 on average 20000 ticks per drawing operation.
29 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
31 * Color.cs: take into account the name color in == and != operators
32 * Font.cs: Use Equals instead of == to compare the family name
34 - Removes generic fontfamilies cache (done at libgdiplus level)
37 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
39 * Pen.cs: remove locks. They are done at gdiplus level
40 * Brush.cs: remove locks. They are done at gdiplus level
41 * Image.cs: remove locks. They are done at gdiplus level
43 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
45 * Icon.cs: Finished Icon(Type, String) ctor
47 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
49 * gdipFunctions.cs: fixes GdipGetImagePalette signature
50 * Image.cs: Implements Palette property using gdiplus
52 2005-03-17 Peter Bartok <pbartok@novell.com>
55 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
56 method, now includes a get header delegate
57 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
58 the image type even on non-seekable streams
59 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
60 via StreamGetHeaderImpl
61 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
62 the new StreamGetHeader delegate
64 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
66 * Pen.cs: Fixes dispose method to allow to be called multiple times
67 * Graphics.cs: matrix are saved and restored at gdiplus level
69 2005-02-24 Geoff Norton <gnorton@customerdna.com>
71 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
72 so they dont get garbage collected before use.
74 2005-02-11 Peter Bartok <pbartok@novell.com>
76 * gdipFunctions.cs: Fixed prototype to match previous checkin
78 2005-02-11 Peter Bartok <pbartok@novell.com>
80 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
81 it really is a pointer)
83 2005-02-10 Geoff Norton <gnorton@customerdna.com>
85 * Icon.cs: Implement GetObjectData ()
86 * Image.cs: Implement GetObjectData ()
88 2005-02-09 Geoff Norton <gnorton@customerdna.com>
90 * Icon.cs: Implement deserializer
91 * Bitmap.cs: Implement deserializer
93 2005-02-06 Ben Maurer <bmaurer@ximian.com>
95 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
97 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
99 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
101 2005-02-02 Jackson Harper <jackson@ximian.com>
103 * Region.cs: The default region constructor creates and infinite
104 region, not an empty one.
106 2005-01-27 Peter Bartok <pbartok@novell.com>
108 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
109 of HSV numbers. Previous implementation returned wrong numbers and NaN
112 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
114 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
115 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
116 : Implemented support for InstanceDescriptor.
118 2005-01-26 Peter Bartok <pbartok@novell.com>
120 * Icon.cs (ToBitmap): Now sets transparency in according to
123 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
125 * gdipFunctions.cs: Fixes GdipGet* function signatures
126 * FontFamily.cs: Fixes GdipGet* function calls
127 * Font.cs: Fixes ToString method
129 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
131 * Graphics.cs: calls XCloseDisplay on X11 when need it
132 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
134 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
136 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
138 2004-12-16 Peter Bartok <pbartok@novell.com>
140 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
141 equivalent to the gdi+ native object
143 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
144 equivalent to the gdi+ native object
146 2004-12-09 Geoff Norton <gnorton@customerdna.com>
148 * carbonFunctions.cs: New carbon functions/structures
149 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
151 2004-12-08 Geoff Norton <gnorton@customerdna.com>
153 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
154 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
156 2004-12-07 Geoff Norton <gnorton@customerdna.com>
158 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
159 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
161 2004-12-06 Miguel de Icaza <miguel@ximian.com>
163 * FontFamily.cs: This one is static.
165 2004-11-25 Ravindra <rkumar@novell.com>
167 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
168 type from int to Status type.
170 2004-11-25 Marek Safar <marek.safar@seznam.cz>
172 * Image.cs: Add CheckStatus to SaveAdd.
174 2004-11-22 Ravindra <rkumar@novell.com>
176 * Graphics.cs: Fixed null values handling in all overloads of
177 MeasureString method.
179 2004-11-18 Ravindra <rkumar@novell.com>
181 * gdipFunctions.cs: Removed the .so extension from a DllImport
184 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
186 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
189 2004-11-03 Miguel de Icaza <miguel@ximian.com>
191 * TextureBrush.cs (Clone): While cloning, it is not enough to let
192 GDIPlus clone the underlying data, we must alos clone the managed
195 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
196 errors in the future, set the lock on the object before doing any
197 other tests, not after.
199 (Clone): While cloning, it is not enough to let
200 GDIPlus clone the underlying data, we must alos clone the managed
203 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
204 errors in the future.
206 Set the lock in the object before checkign disposed.
208 * SolidBrush.cs (Clone): While cloning, it is not enough to let
209 GDIPlus clone the underlying data, we must alos clone the managed
212 (Dispose): Set the nativeObject to IntPtr.Zero to catch
213 errors in the future.
215 2004-10-28 Ravindra <rkumar@novell.com>
217 * gdipFunctions.cs: Added checks for null stream in the
218 StreamHelper internal class.
219 * Icon.cs: Removed an ugly hack that used temp files in
220 ToBitmap () method. We use MemoryStream instead.
222 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
224 * Font.cs: fixes bug 66533
226 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
228 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
229 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
230 lock operations after conversation with Miguel. Do not really
233 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
235 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
237 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
239 * Bitmap.cs: Fixes MakeTransparent method
241 2004-10-13 Ravindra <rkumar@novell.com>
243 * Graphics.cs: Moved the initialization of 'use_x_drawable'
244 member out of private constructor to class initialization.
245 So that, we get it right even if Graphics is not instantiated.
246 This fixes the problem we face (otherwise) when we make first
247 call to Graphics.FromHwnd () method.
249 2004-10-08 Ravindra <rkumar@novell.com>
251 * Image.cs: Suppress finalization in Dispose () method.
253 2004-10-04 Ravindra <rkumar@novell.com>
255 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
257 2004-09-29 Jackson Harper <jackson@ximian.com>
259 * Graphics.cs: Use FromHdcInternal to set the X display
260 handle. Add a flag to check if we are on unix so we aren't calling
261 Environment.OSVersion.Platform all the time. Mad props to Peter
264 2004-09-17 Marek Safar <marek.safar@seznam.cz>
266 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
267 ToLogFont: Implemented.
269 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
271 GdipCreateFontFromLogfontA: A new extern call.
273 2004-09-13 Ravindra <rkumar@novell.com>
275 * Graphics.cs: MSDN says that using image width and height gives
276 better performance, hence we are using image width and height to
277 avoid autoscaling in DrawImageUnscaled.
279 2004-09-10 Ravindra <rkumar@novell.com>
281 * Graphics.cs: Implemented DrawIcon methods and fixed
282 DrawImageUnscaled method implementation.
284 2004-08-21 Jackson Harper <jackson@ximian.com>
286 * ImageAnimator.cs: Run animator as a background thread so we do
289 2004-08-21 Ravindra <rkumar@novell.com>
291 * gdipFunctions.cs: Modified exception message to include the case
292 of missing required libraries for different formats.
294 2004-08-10 Jackson Harper <jackson@ximian.com>
296 * SystemColors.cs: Make Highlight colour match colour from windows
297 classic color scheme.
299 2004-07-30 Ravindra <rkumar@novell.com>
301 * Font.cs: Fixed Height property implementation and implemented
302 GetHeight method and its overloads.
304 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
306 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
307 P/Invoke function for Image.
308 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
310 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
312 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
313 GdipGetAllPropertyItems P/Invoke function for Image.
314 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
315 * Image.cs: Corrected implementation of PropertyItems property.
317 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
319 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
320 P/Invoke function for Image.
321 * Image.cs: Changed implementation of PropertyIdList property.
323 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
325 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
326 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
328 2004-07-21 Ravindra <rkumar@novell.com>
330 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
331 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
333 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
335 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
336 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
337 * gdipFunctions.cs: new GDI function calls
339 2004-07-16 Ravindra <rkumar@novell.com>
341 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
343 2004-07-15 Ravindra <rkumar@novell.com>
345 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
347 2004-07-13 Ravindra <rkumar@novell.com>
349 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
350 This was redundant. It was kept in previous checkin to avoid
353 2004-07-13 Ravindra <rkumar@novell.com>
355 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
357 2004-07-09 Peter Bartok <pbartok@novell.com>
358 * Graphics.cs: Added support required for new managed SWF library
359 * gdipFunctions.cs: Added XOpenDisplay definition/import
361 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
363 * gdipFunctions.cs: fixes bug 61050
365 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
367 * ImageAnimator.cs: Rewrote complete implementation.
369 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
371 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
372 If read function was called after seek function call, the
373 implementation was returning data from bytes already peeked and
374 not from the new position in stream, which we have seeked.
376 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
378 * Graphics.cs: added MeasureString wrappers
380 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
382 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
384 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
386 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
388 2004-06-18 Ravindra <rkumar@novell.com>
390 * FontConverter.cs: Implemented the missing functions.
391 * Font.cs: Added some notes.
393 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
395 * gdipFunctions.cs: Modified Function signature for
396 GdipSaveImageToDelegate_linux() method for saving tiff images
398 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
401 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
403 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
404 and Size, required by TIFFCodec. Modifed Function signature for
405 GdipLoadImageFromDelegate_linux() method.
406 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
409 2004-06-11 Ravindra <rkumar@novell.com>
411 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
412 from out int to out IntPtr.
413 * SolidBrush.cs: Same.
415 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
417 * Image.cs: API signature fixes, meaning DisposeResources is now
418 private and marked InitFromStream internal
420 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
422 * FontFamily.cs: simplifies object destruction and fixes
424 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
426 * FontFamily.cs: added destructor
427 * Graphics.cs: added destructor to stop leaking, remove debugging code
430 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
432 * gdipFunctions.cs: added GdipSaveAddImage
433 * Image.cs: added SaveAdd methods
435 2004-06-02 Peter Bartok <pbartok@novell.com>
436 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
437 (This fixes bug #59479)
439 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
441 * Font.cs: Added missing Browsable attribute on SizeInPoints.
442 * Region.cs: Removed extra ComVisible attribute from Clone().
444 2004-06-01 Ravindra <rkumar@novell.com>
446 * Pen.cs: Added a note on Dispose method.
447 * Brush.cs: Fixed Dispose method.
448 * SolidBrush.cs: Fixed Dispose method.
450 2004-05-28 Ravindra <rkumar@novell.com>
452 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
454 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
455 rectangles implementation (This is basically done to avoid lots
456 of brush and pen setup happening in libgdiplus.)
458 2004-05-27 Ravindra <rkumar@novell.com>
460 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
462 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
464 * ImageFormatConverter.cs: Fixed issues discovered from nunit
467 2004-05-26 Ravindra <rkumar@novell.com>
469 * Color.cs: Corrected Color.Green property.
471 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
472 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
474 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
476 * Icon.cs: Fixed issue with size property.
478 2004-05-18 Ravindra <rkumar@novell.com>
480 * Pen.cs: Added value checks in DashPattern and CompoundArray
483 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
485 * Graphics.cs: fixed warning
486 * ImageAnimator.cs: fixed warning
487 * FontConverter.cs: fixed public API
489 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
491 * gdipFunctions.cs: Fixed prototype for
492 GdipGetEncoderParameterList
494 * Image.cs: Reworked Save functions to handle EncoderParameters.
495 Implemented GetEncoderParameterList
496 Also removed unused setGDIPalette internal method.
498 2004-05-14 Peter Bartok <pbartok@novell.com>
499 * StringFormat.cs: Added CharacterRange handling
500 * Graphics.cs: Implemented MeasureCharacterRanges method
502 2004-05-14 Peter Bartok <pbartok@novell.com>
503 * Graphics.cs: Added error check
505 2004-05-14 Duncan Mak <duncan@ximian.com>
506 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
507 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
508 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
510 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
511 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
513 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
514 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
516 2004-05-13 Peter Bartok <pbartok@novell.com>
517 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
520 2004-05-12 Peter Bartok <pbartok@novell.com>
521 * Image.cs: Implemented GetThumbnailImage
523 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
524 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
525 FromXDrawable(IntPtr, IntPtr) internal.
527 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
528 * Color.cs: work for API compatibilty: private date, todos
529 * Font.cs: work for API compatibilty: private date, todos
530 * FontFamily.cs: work for API compatibilty: private date, todos
531 * Graphics.cs: work for API compatibilty: private date, todos
532 * Icon.cs: work for API compatibilty: private date, todos
533 * Image.cs: work for API compatibilty: private date, todos
534 * ImageAnimator.cs: work for API compatibilty: private date, todos
535 * Point.cs: work for API compatibilty: private date, todos
536 * PointF.cs: work for API compatibilty: private date, todos
537 * Rectangle.cs: work for API compatibilty: private date, todos
538 * RectangleF.cs: work for API compatibilty: private date, todos
539 * Region.cs: work for API compatibilty: private date, todos
540 * Size.cs: work for API compatibilty: private date, todos
541 * SizeF.cs: work for API compatibilty: private date, todos
542 * SolidBrush.cs: work for API compatibilty: private date, todos
543 * StringFormat.cs: work for API compatibilty: private date, todos
544 * SystemPens.cs: work for API compatibilty: private date, todos
545 * TextureBrush.cs: work for API compatibilty: private date, todos
546 * gdipStructs.cs: work for API compatibilty: private date, todos
548 2004-05-12 Ravindra <rkumar@novell.com>
550 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
551 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
552 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
553 Added missing attributes and some coding style fixes.
554 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
557 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
559 * ImageAnimator.cs: Implemented first version.
561 2004-05-11 Ravindra <rkumar@novell.com>
563 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
566 2004-05-10 Ravindra <rkumar@novell.com>
568 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
569 for the same. Added few related P/Invokes for Pen also.
571 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
573 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
575 2004-05-06 Ravindra <rkumar@novell.com>
577 * RectangleConverter.cs: Implemented GetProperties () method.
578 * SizeConverter.cs: Implemented GetProperties () method.
579 * PointConverter.cs: Implemented GetProperties () method.
580 * FontConverter.cs: Implemented some of the methods.
582 2004-05-06 Ravindra <rkumar@novell.com>
584 * Color.cs: Fixed Name property.
585 * ColorTranslator.cs: Fixed the existing methods and implemented
587 * ColorConverter.cs: Fixed the existing methods and implemented
588 the missing methods. Also, fixed coding style.
590 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
591 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
593 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
594 * Image.cs: raw_format should be handled by GDI+
595 * Bitmap.cs: raw_format should be handled by GDI+
597 2004-05-04 Ravindra <rkumar@novell.com>
599 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
600 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
601 properties and SetLineCap method. In constructors use IntPtr instead
603 * SolidBrush.cs: Modified exception message.
604 * TextureBrush.cs: Fixed Transform property.
605 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
606 LinearGradientBrush.cs.
608 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
610 * Image.cs: Implemented FrameDimensionsList property.
612 2004-04-30 Ravindra <rkumar@novell.com>
614 * gdipFunctions.cs: Added few more P/Invoke calls for
615 lineargradient brush and added one case statement in
618 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
620 * Image.cs: takes into account MemoryBmp format when saving
622 2004-04-30 Ravindra <rkumar@novell.com>
624 * StringFormat.cs: Added checks for status.
626 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
628 * Image.cs: Removed calls which passes byte[] for Guid parameter.
629 * gdipFunctions.cs: Removed unwanted unix specific function calls.
631 2004-04-30 Ravindra <rkumar@novell.com>
633 * Graphics.cs: Added checks for status.
634 * Image.cs: Added a check for status.
635 * FontFamily.cs: Added checks for status.
637 2004-04-29 Peter Bartok <pbartok@novell.com>
639 * Brushes.cs: Fixed bug #52695. No longer creates a new
640 brush for every request and behaves Microsoft compatible
642 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
644 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
645 its ClsID instead of the formatID (as GDI+ expects)
647 2004-04-29 Ravindra <rkumar@novell.com>
649 * Font.cs: Added checks for status.
650 * Bitmap.cs: Added checks for status.
651 * Pen.cs: Added checks for status.
653 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
655 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
656 Converted to unix format from dos format.
658 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
660 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
662 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
664 * gdipStructs.cs: added GdipImageCodecInfo struct
666 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
668 * ImageFormatConverter.cs: Corrected ConvertFrom method.
670 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
672 * ImageConverter.cs: Added exception message.
673 * IconConverter.cs: Added exception message.
674 * ImageFormatConverter.cs: Implemented first version.
676 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
678 * ImageConverter.cs: Implemented first version.
680 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
682 * IconConverter.cs: Implemented first version.
684 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
686 * Image.cs: Corrected implementation of Property RawFormat.
687 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
689 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
691 * Bitmap.cs: Resolved a compile time error.
692 * Image.cs: Changed the implementation of few methods to progress
693 with ImageAnimator class.
694 * gdipFunctions.cs: Added few linux only function calls.
695 * Icon.cs: Removed unused variable from code.
697 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
699 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
701 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
703 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
704 serialization for Bitmaps. (Bugzilla #52568)
706 2004-04-23 Ravindra <rkumar@novell.com>
708 * RectangleConverter.cs: Fixed ConvertTo () method.
709 * SizeConverter.cs: Fixed ConvertTo () method.
710 * PointConverter.cs: Fixed ConvertTo () method.
712 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
713 * ImageAnimator.cs: Implemented CanAnimate() method.
715 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
716 * Image.cs: added RotateFlip and RemovePropertyItem calls
718 2004-04-22 Ravindra <rkumar@novell.com>
720 * RectangleConverter.cs: Implemented. Also changed file format
722 * Rectangle.cs: Fixed ToString method.
723 * RectangleF.cs: Fixed ToString method.
725 2004-04-22 Ravindra <rkumar@novell.com>
727 * SizeConverter.cs: Implemented some of the functions.
728 * PointConveter.cs: Implemented.
729 * gdipFunctions.cs: Corrected one typo.
730 * Brushes.cs: Added a comment.
732 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
734 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
735 returning portions of the peek buffer back. Fixes #57379.
737 2004-04-21 Peter Bartok <pbartok@novell.com>
738 * Font.cs: Implemented Font.FromHfont method
739 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
740 * gdipFunctions.cs: Added imports for functions required to support
741 Font.FromHfont method
743 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
744 * RectangleConverter.cs: stubbed out
745 * Font.cs : added missing members
747 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
748 * Icon.cs: Fixed problem in extracting bitmap from Icon.
750 2004-04-16 Ravindra <rkumar@novell.com>
752 * Pen.cs: GC should be allowed to collect any pen including
754 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
755 including system brushes.
756 * Brushes.cs: Coding style.
757 * Pens.cs: Objects created by Pens are not modifiable on
758 MS.NET, so we are now. Also, coding style fixes.
759 * SystemPens.cs: Removed static constructor and changed file
761 * SystemBrushes.cs: Some cosmetic changes.
763 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
764 * Icon.cs: Implemented more missing bits and fixed the problem
765 of icon not getting saved in proper format
767 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
768 * Icon.cs: Implemented more missing bits
770 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
771 * Icon.cs: Implemented few more missing bits
773 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
774 * Icon.cs: Implemented first version
776 2004-04-11 Peter Bartok <pbartok@novell.com>
777 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
778 the code and using our own private gdiplus function when on Unix and using Win32
779 functions when running on Windows
780 * gdipStructs.cs: Added LOGFONTA structure
781 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
783 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
785 * Image.cs: Save should use encoder.FormatID, not Clsid
787 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
788 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
789 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
791 2004-04-06 Duncan Mak <duncan@ximian.com>
793 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
795 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
796 * Region.cs: fixes GetRegionScans
797 * gdipFunctions.cs: fixes GetRegionScans
799 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
801 * gdipFunctions.cs: Added stream delegate helpers for
802 stream loading/saving on linux
804 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
805 loading/saving image data.
807 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
808 * Region.cs: implemented new methods
809 * Graphics.cs: implemented new methods
811 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
812 * Region.cs: implemented
814 2004-04-01 Duncan Mak <duncan@ximian.com>
816 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
818 * gdipFunctions.cs (GdipAddPathCurveI):
819 (GdipAddPathCurve2, GdipAddPathCurve2I):
820 (GdipAddPathCurve3, GdipAddPathCurve3I):
821 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
822 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
825 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
826 * Image.cs: implemented a few GDI+ wrapper calls
828 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
829 * Bitmap.cs: remove redundant data already present at Image.cs
830 * Image.cs: use GDI+ functions to get image details
831 * StringFormat.cs: missing constructor and property
833 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
834 * FontFamily.cs: added missing members and style clean
835 * Graphics.cs: fixed signature of DrawArc and DrawPie
836 * Image.cs: added missing members, fixes
837 * StringFormat.cs: missing constructor and property
839 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
840 * Graphics.cs: Added missing DrawImage GDI+ calls
841 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
843 2004-03-23 Ravindra <rkumar@novell.com>
844 * gdipFunctions.cs: Added few more P/Invoke calls for
847 2004-03-22 Ravindra <rkumar@novell.com>
848 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
849 and did few coding style fixes.
851 2004-03-18 Ravindra <rkumar@novell.com>
852 * Brush.cs: Fixed Dispose method.
853 * SolidBrush.cs: Fixed clone method.
854 * TextureBrush.cs: Fixed clone method.
855 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
857 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
859 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
861 2004-03-10 Ravindra <rkumar@novell.com>
862 * Pen.cs: Implemented PenType property.
863 * Brush.cs: Coding style.
865 2004-03-06 Ravindra <rkumar@novell.com>
866 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
867 for PathGradientBrush.
869 2004-03-06 Ravindra <rkumar@novell.com>
870 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
873 2004-03-04 Duncan Mak <duncan@ximian.com>
875 * Region.cs: Indentation.
877 * RectangleF.cs: Changed the internal structure from a PointF,
878 SizeF to floats in order to match the layout from the C API.
880 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
881 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
883 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
884 * gdipFunctions.cs: Added functions for ImageAttributes
886 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
887 * Icon.cs: Missing function stubs added
888 * Icon.cs: Missing function stubs added
889 * IconConverter.cs: Missing function stubs added
890 * ImageAnimator.cs: Missing function stubs added
891 * ImageConverter.cs: Missing function stubs added
892 * ImageFormatConverter.cs: Missing function stubs added
894 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
895 * Font.cs: Allow multiple styles
897 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
898 * StringFormat.cs: Clone method
900 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
901 * font.cs: fixes, Clone, and ToString
903 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
904 * gdipFunctions.cs: MeasureString
905 * Graphics.cs : MeasureString
907 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
908 * Font.cs: destructor and unit conversion
909 * Graphics.cs : system dpi support
911 2004-02-13 Ravindra <rkumar@novell.com>
912 * Pen.cs: Fixed some bugs.
913 * TextureBrush.cs: Fixed some bugs.
915 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
916 * gdipFunctions.cs: Added ImageCodecInfo functions
917 * Image.cs: Added few methods
919 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
920 * FontFamily.cs: remove hardcoded font names, a few bug fixes
922 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
923 * gdipFunctions.cs: Added Image class functions
924 * Image.cs: Added few methods
926 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
927 * graphics.cs: fixes parameters for DrawStrings functions
929 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
931 * SRDescriptionAttribute.cs: Added and implemented
932 * ToolboxBitmapAttribute.cs: Implemented a few members
933 * SystemIcons.cs: Stubbed
934 * StringFormat.cs: Implemented method
935 * Region.cs: Added Todo, fixed attribute
936 * Size.cs: Added attribute
937 * SizeF.cs: Added attribute
938 * RectangleF.cs: Added attributes
939 * Rectangle.cs: Added attributes
940 * PointF.cs: Added attribute
941 * Point.cs: Added attribute
943 2004-02-06 Ravindra <rkumar@novell.com>
945 * Brush.cs: Renamed GetException method to CheckStatus
946 and moved it to gdipFunctions.cs.
947 * gdipFunctions.cs: Added CheckStatus method.
948 * SolidBrush.cs: Using CheckStatus method.
949 * TextureBrush.cs: Using CheckStatus method.
950 * gdipEnums.cs: Added a missing value.
952 2004-02-05 Ravindra <rkumar@novell.com>
954 * Brush.cs: Added a missing namespace.
956 2004-02-05 Ravindra <rkumar@novell.com>
958 * gdipFunctions.cs: Added methods for HatchBrush and
960 * SolidBrush.cs: Added checks for status.
961 * Brush.cs: Added support for HatchBrush and TextureBrush
962 types in internal CreateBrush() method.
964 2004-02-03 Jordi Mas <jordi@ximian.com>
965 * Font.cs: Setup font properties
967 2004-02-03 Ravindra <rkumar@novell.com>
969 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
970 method from TextureBrush.cs to Brush.cs.
971 * Brush.cs: Made GetException (Status) method internal.
973 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
975 * gdipFunctions.cs: Added methods for Image class.
977 2004-01-30 Ravindra <rkumar@novell.com>
979 * TextureBrush.cs: Added more methods to complete it.
980 * gdipFunctions.cs: Added methods for TextureBrush class.
982 2004-01-30 Ravindra <rkumar@novell.com>
984 * gdipFunctions.cs: Added methods for TextureBrush class.
986 2004-01-30 Ravindra <rkumar@novell.com>
988 * Pen.cs: Modified to handle TextureBrush also.
989 * Bitmap.cs: Added one internal constructor.
990 * TextureBrush.cs: Implemented.
992 2004-01-29 Duncan Mak <duncan@ximian.com>
995 * Graphics.cs: Indentation fixes, removed long dangling lines and
998 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
1001 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
1003 * FontFamily.cs: Implemented few methods and a constructor
1005 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
1007 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
1008 * FontFamily.cs: Implemented missing functionalities.
1010 2004-01-24 Duncan Mak <duncan@ximian.com>
1012 * Graphics.cs (DrawPath): Implemented.
1014 2004-01-23 Ravindra <rkumar@novell.com>
1016 * Point.cs: ToString modified.
1017 * PointF.cs: ToString modified.
1018 * Size.cs: ToString modified.
1019 * SizeF.cs: ToString modified. ToPoint and ToSize methods
1022 2004-01-21 Jordi Mas i Hernàndez
1023 * Bitmap.cs: Several new methods added.
1025 2004-01-21 Duncan Mak <duncan@ximian.com>
1027 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
1028 OutAttribute to the array argument. This fixes the PathPoints
1029 property in System.Drawing.Drawing2D.GraphicsPath.
1031 2004-01-20 Ravindra <rkumar@novell.com>
1033 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
1034 this property was hanging and getting was throwing a NullRef
1035 Exception. Earlier we were passing Matrix object to and fro
1036 which was causing the problem. Now, we are using IntPtr.
1037 Thanks to Duncan for helping me.
1038 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
1039 together. If color is set, a SolidBrush automatically gets
1040 set with the same color, Pen loses the old brush object.
1041 If a SolidBrush is set, Pen.Color gets the value same as that
1042 of brush color losing the old value. Pen shows this behavior
1044 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
1045 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
1047 2004-01-19 Duncan Mak <duncan@ximian.com>
1049 * gdipFunctions.cs: Import functions for GraphicsPath.
1051 2004-01-14 Ravindra <rkumar@novell.com>
1053 * SolidBrush.cs: Made SolidBrush to initialize its color
1056 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
1058 2004-01-11 Duncan Mak <duncan@ximian.com>
1060 * Bitmap.cs (LockBits):
1061 * Graphics.cs (DrawString): Removed reference to GpRectF.
1063 2004-01-09 Duncan Mak <duncan@ximian.com>
1065 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
1066 Removed. Didn't know that structs are laid out sequentially by
1067 default. We don't need these anymore.
1069 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
1071 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
1073 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
1075 * Graphics.cs: fix compile error on Windows builds for out
1076 parameter state in call to GdipSaveGraphics
1078 2004-01-10 Ravindra <rkumar@novell.com>
1080 * All Enums: Made serializable.
1082 * Image.cs: Corrected signature of Dispose(bool) method.
1084 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
1085 Corrected coding style mistakes of my previous commit.
1087 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1089 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1091 * StringFormat.cs: Inherits MarshalByRefObject.
1093 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1095 2004-01-08 Ravindra <rkumar@novell.com>
1097 * Pen.cs: Added isModifiable (bool) variable. It is required to
1098 make Pens created by SystemPens.cs unmodifiable. All property
1099 setters are modified for this.
1101 * SolidBrush.cs: Added isModifiable variable (bool). It is
1102 required to make Brushes created by SystemBrushes.cs unmodifiable.
1103 All property setters are modified for this.
1105 * SystemBrushes.cs: Modified all the properties as per the .NET
1106 specs, so that Brushes are not created every time. Also, missing
1107 properties are added.
1109 * SystemPens.cs: Modified all the properties as per the .NET
1110 specs, so that Brushes are not created every time. Also, missing
1111 properties are added.
1113 2003-12-12 Miguel de Icaza <miguel@ximian.com>
1115 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1118 2004-01-06 Duncan Mak <duncan@ximian.com>
1120 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1122 2003-12-21 Duncan Mak <duncan@ximian.com>
1124 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1125 up to the GDI+ implementation.
1126 (RotateTransform): Uncommented.
1128 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1131 2003-12-13 Todd Berman <tberman@sevenl.net>
1133 * Font.cs: Implementing a couple things for porting purposes
1134 * SystemBrushes.cs: ^
1135 * StringFormat.cs: ^^
1137 2003-11-28 Duncan Mak <duncan@ximian.com>
1139 * Pen.cs (CompoundArray): Hide this for now.
1141 2003-11-28 Duncan Mak <duncan@ximian.com>
1143 * Brush.cs (CreateBrush): new internal factory method for creating
1144 specific brushes based on the internal (GDI+ C API) BrushType
1146 (Brush (IntPtr)): new internal constructor.
1148 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1150 (Pen (IntPtr)): new internal constructor.
1151 (Pen (Brush, float)): Use GdipCreateBrush2.
1152 (Clone): Implemented using GdipClonePen.
1153 (Alignment, Brush, Color, Width): Use GDI+ implementations
1155 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1156 Implemented these properties.
1157 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1158 (MultiplyTransform, ResetTransform, RotateTransform):
1159 (ScaleTransform, TranslateTransform): Implemented these methods.
1161 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1163 * gdipEnums.cs (BrushType): Added new GDI+ enum.
1165 * gdipFunctions.cs: Imported new Brush and Pen functions.
1167 2003-11-22 Duncan Mak <duncan@ximian.com>
1170 (GdipResetWorldTransform, GdipSetWorldTransform):
1171 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1173 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1174 (transform): Removed this field. Always use the
1175 matrix associated in the GpGraphics ptr.
1176 (DrawBeziers): Implemented.
1177 (DrawLine): Don't need to manually invoke the transform now.
1178 (MultiplyTransform, ResetTransform):
1179 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1180 (Transform): Instead of storing a Matrix in managed code, use
1181 equivalent GDI+ functions.
1183 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185 * SizeConverter.cs: fixed class signature and implemented some methods.
1187 2003-11-17 Duncan Mak <duncan@ximian.com>
1189 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1191 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1193 2003-11-17 Duncan Mak <duncan@ximian.com>
1195 * Bitmap.cs (LockBits):
1196 * Graphics.cs (DrawString): Use GpRectF.
1198 * gdipFunctions.cs: Updated method signatures.
1200 * Graphics.cs (MultiplyTransform): Implemented using
1201 GdipMultiplyWorldTransform from GDI+.
1203 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1204 GpRect, to be more consistent with the C naming.
1206 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1208 * Graphics.cs: Implement the other DrawString overloads .
1210 2003-11-16 Miguel de Icaza <miguel@ximian.com>
1212 * gdipStructs.cs (GdipRectF): Added utility constructor
1214 2003-11-15 Duncan Mak <duncan@ximian.com>
1216 * gdipFunctions.cs: Imported matrix functions.
1218 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1220 * Bitmap.cs: Added Attributes
1221 * ColorTranslator.cs: Added private constructor
1222 * Font.cs: Added Attributes
1223 * FontFamily.cs: sealed
1224 * Icon.cs: Added Attributes
1225 * IconConverter.cs: Fixed signature
1226 * Image.cs: Added attributes
1228 * ImageConverter.cs:
1229 * ImageFormatConverter.cs:
1236 * TextureBrush.cs: Fixed signature
1237 * Color.cs: Added attributes
1242 * SizeF.cs: Added attributes
1243 * ContentAlignment.cs: Added attribute
1245 2003-11-13 Duncan Mak <duncan@ximian.com>
1247 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1250 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1251 (GdipSetPenLineJoin, GdipGetPenLineJoin):
1252 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1254 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
1256 * gdipFunctions.cs copy image in Bitmap constructor
1258 2003-11-06 Duncan Mak <duncan@ximian.com>
1259 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1260 angle parameters for the integer case.
1261 (DrawBezier): Hook it up with GdipDrawBezier.
1262 (DrawEllipse): Fix Width, Height ordering.
1264 2003-11-05 Duncan Mak <duncan@ximian.com>
1266 * Graphics.cs (DrawPie):
1267 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1270 2003-10-28 Duncan Mak <duncan@ximian.com>
1272 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1273 (FillEllipse, FillPolygon): implemented.
1274 (RenderingOrigin): implemented.
1276 * gdipFunctions.cs: Added new GDI+ equivalents.
1278 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
1280 * Image.cs small fixes
1282 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1284 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1286 2003-10-24 Miguel de Icaza <miguel@ximian.com>
1288 * SystemBrushes.cs: Some more brushe3s.
1290 * SystemPens.cs: More pens.
1292 * Pen.cs: Implement IDisposable, ICloneable.
1294 * Region.cs: Add some more stubs here.
1296 * StringFormat.cs: Add some more code here.
1298 2003-10-23 Miguel de Icaza <miguel@ximian.com>
1300 * Image.cs: Kill the InternalImageInfo, everything is now done in
1301 terms of Image and BitmapData.
1303 * Rectangle.cs: Make this one also sequential, change from using
1304 Point + Size to use x, y, width, height; So we can use GdiPlus.
1306 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1307 BitmapData class argument, and instead use the [In,Out]
1308 attributes, which will do struct marshalling on the fields. Now
1309 we can use C#'s BitmapData directly to talk to Gdiplus.
1311 * gdipStructs.cs: Every internal structure that has to talk to
1312 Gdi+ is properly prefixed, to minimize the confussion.
1314 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1315 Compute the stride here where we have the BPP information,
1316 allocate a buffer of the proper size, and pass this to
1317 GdipCreateBitmapFromScan0
1319 * Image.cs: Implement Dispose pattern.
1321 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
1324 * gdipStructs.cs DrawString function added
1326 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1329 * gdipStructs.cs added
1332 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
1341 implementation changed to gdi+
1343 2003-09-08 Duncan Mak <duncan@ximian.com>
1345 * Factories.cs (DefaultImplementationNamespace): Change it from
1346 "XrImpl" to "Cairo".
1348 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1350 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1353 2003-08-08 Duncan Mak <duncan@ximian.com>
1355 * Graphics.cs (DrawBezier): Fixed.
1357 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
1358 * Graphics.cs delegate Dispose to implementation
1360 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1362 * FontConverter.cs: stub it out so that system.web compiles.
1364 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1365 * Image.cs InternalImageInfo class improved
1367 2003-07-23 Miguel de Icaza <miguel@ximian.com>
1369 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1370 is set, default to Win32Impl
1372 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1373 * Image.cs implementation added
1375 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1377 * Icon.cs: Stubed out (fix for System.Drawing.Design)
1379 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1381 * StringFormat.cs: Changes to become CLS-compliant
1383 2003-07-14 Miguel de Icaza <miguel@ximian.com>
1385 * Factories.cs: Remove debugging message.
1387 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1388 * Color.cs code generation program modified
1390 2003-06-29 Alexandre Pigolkine
1391 * Graphics.cs image drawing
1393 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1396 supply KnowColor enum value to save Enum.Parse at runtime
1398 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1399 * Graphics.cs coordinate transformations
1400 * Image.cs small fix
1402 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1404 * FontFamily.cs more implementation
1406 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1408 * FontFamily.cs more implementation
1410 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1411 * Graphics.cs few more calls to implementation
1413 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1414 * Bitmap.cs BITMAP declaration removed
1415 * Graphics.cs few more calls to implementation
1416 * Image.cs InternalImageInfo structure, image read/write functions
1419 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
1420 * Factories.cs analyse environment variable and machine.config to select implementation
1421 * Image.cs PixelFormat property added
1423 2003-04-30 Nick Drochak <ndrochak@gol.com>
1425 * Factories.cs: Change weird characters that broke build on windows.
1427 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1429 * ColorConverter.cs:
1430 (ConvertFrom): return a system or named color if there's one that fits
1431 teh values parsed with Color.FromArgb.
1433 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1443 delegate function calls to implementation
1445 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
1449 * SystemBrushes.cs switch to Linux style line terminators
1451 2003-03-29 Alan Tam <Tam@SiuLung.com>
1452 * ToolboxBitmapAttribute
1453 stubbed more constructors and fixed base class
1455 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1457 added stubs to compile SWF
1460 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
1465 small changes to be able to run SWF apps
1467 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * Graphics.cs: stubbed out all the methods.
1471 2003-02-08 Piers Haken <piersh@friskit.com>
1473 * fixed case of pens.cs and font.cs
1475 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1482 2002-11-21 Dennis Hayes (dennish@raytek.com)
1483 * checkin for Matt Stump (mstump@swfo.arizona.edu)
1487 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
1489 * ColorTranslator.cs (FromHtml): Implement.
1491 2002-10-14 Dennis Hayes (dennish@raytek.com)
1493 * changed using namespace from Drawing2d to Drawing2D
1495 2002-9-15 Asier Llano <asierllano@infonegocio.com>
1497 * Fixes the enum values in the following enums
1498 * ContentAlignment.cs:
1502 * RotateFlipType.cs:
1503 * StringAligment.cs:
1504 * StringDigitSubstitute.cs:
1505 * StringFormatFlags.cs:
1506 * StringTrimming.cs:
1508 * SolidBrush.cs: Easy implementation
1509 * Brushes.cs: Implementation based on SolidBrush and Color class.
1510 * Brush.cs: Fixes based on the status web).
1511 * CharacterRange.cs: Implemented the missing Lenth property.
1513 2002-9-14 Dennis Hayes (dennish@raytek.com)
1516 * removed personal template that should not have been checked in
1518 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1520 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
1523 2002-9-14 DennisHayes <dennish@raytek.com>
1531 * ImageFormatConverter.cs
1533 * RectangleConverter.cs
1542 * ToolboxBitmapAttribute.cs
1543 * Added null classes for most/all classes, Many stubs, and some implmentation
1545 2002-9-2 DennisHayes <dennish@raytek.com>
1552 * Added stubs, implmentation
1554 2002-9-2 DennisHayes <dennish@raytek.com>
1556 * Brushes.cs : stubbed, added colors. Not sure how to implement,
1557 but this should at least save someone some typing.
1558 * CharacterRange.cs :Implmented
1559 * Region.cs : stub needed for system.windows.forms
1561 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1563 * ColorTranslator.cs: use Color.Name.
1565 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1567 * Color.cs: implemented SystemColors and NamedColors properties that
1568 are used by ColorConverter, removed public constructor, use
1569 SystemColors, and misc. fixes to make it behave as MS (ToString,
1570 parsing names, FromKnownColor,...).
1572 * ColorConverter.cs: use NamedColors and SystemColors from Color when
1573 trying to get the color from its name.
1575 * SystemColors.cs: new file.
1577 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1579 * Color.cs: changed static properties to use FromArgbNamed. Also
1580 modified the program included in comments that get the values for
1583 (FromArgbNamed): build named colors.
1584 (FromKnownColor): fixed.
1585 (FromName): use a hash to look up colors by name.
1586 (FillColorNames): create the hash of colors.
1587 (Equals): compare values and name.
1588 (ToString): improved.
1590 * ColorTranslator.cs: implemented ToHtml.
1592 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1594 * Color.cs: added TypeConverter attribute.
1596 * ColorConverter.cs: added constructor.
1598 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600 * ColorConverter.cs: implemented minimal set of features needed by xsp.
1602 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
1604 * Bitmap.cs : using System.IO
1605 * ColorTranslator.cs : Stubbed off build breakers.
1606 * Image.cs : Stub off IDisposable and ICloneable.
1608 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
1610 * Bitmap.cs: Ximian is the new copyright holder now.
1613 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
1615 * Uppercased several files.
1617 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
1619 * color.cs: Fixed a typo in GetSaturation ().
1621 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
1623 * Bitmap.cs: Added method headers.
1625 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
1627 * Bitmap.cs: Added, no implementation's done, yet.
1629 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
1631 * Rectangle.cs : Add a doc comment.
1632 * RectangleF.cs : New struct implementation.
1634 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
1636 * Rectangle.cs : New struct implementation.
1638 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
1640 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
1642 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
1644 * Point.cs : New. Implementation of System.Drawing.Point struct.