2004-09-13 Ravindra * Graphics.cs: MSDN says that using image width and height gives better performance, hence we are using image width and height to avoid autoscaling in DrawImageUnscaled. DrawImageUnscaled method. 2004-09-10 Ravindra * Font.cs: Fixed Height property and GetHeight method. * Graphics.cs: Fixed DrawImageUnscaled method. 2004-07-02 Jordi Mas i Hernandez * gdipFunctions.cs: fixes bug 61050 2004-06-24 Sanjay Gupta * ImageAnimator.cs: Rewrote complete implementation. 2004-06-24 Sanjay Gupta * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class. If read function was called after seek function call, the implementation was returning data from bytes already peeked and not from the new position in stream, which we have seeked. 2004-06-22 Jordi Mas i Hernandez * Graphics.cs: added MeasureString wrappers 2004-06-22 Jordi Mas i Hernandez * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux 2004-06-20 Jordi Mas i Hernandez * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers 2004-06-18 Ravindra * FontConverter.cs: Implemented the missing functions. * Font.cs: Added some notes. 2004-06-16 Sanjay Gupta * gdipFunctions.cs: Modified Function signature for GdipSaveImageToDelegate_linux() method for saving tiff images to streams. * image.cs: Modified function call GdipSaveImageToDelegate_linux() with new signature. 2004-06-15 Sanjay Gupta * gdipFunctions.cs: Added delegate and StreamHelper functions, Close and Size, required by TIFFCodec. Modifed Function signature for GdipLoadImageFromDelegate_linux() method. * image.cs: Modified function call GdipLoadImageFromDelegate_linux() with new signature. 2004-06-11 Ravindra * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument from out int to out IntPtr. * SolidBrush.cs: Same. 2004-06-10 Gert Driesen * Image.cs: API signature fixes, meaning DisposeResources is now private and marked InitFromStream internal 2004-05-12 Jordi Mas i Hernandez * FontFamily.cs: simplifies object destruction and fixes 2004-05-12 Jordi Mas i Hernandez * FontFamily.cs: added destructor * Graphics.cs: added destructor to stop leaking, remove debugging code 2004-05-12 Jordi Mas i Hernandez * gdipFunctions.cs: added GdipSaveAddImage * Image.cs: added SaveAdd methods 2004-06-02 Peter Bartok * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC (This fixes bug #59479) 2004-06-01 Gert Driesen * Font.cs: Added missing Browsable attribute on SizeInPoints. * Region.cs: Removed extra ComVisible attribute from Clone(). 2004-06-01 Ravindra * Pen.cs: Added a note on Dispose method. * Brush.cs: Fixed Dispose method. * SolidBrush.cs: Fixed Dispose method. 2004-05-28 Ravindra * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill rectangles. * Graphics.cs: Implemented Dispose method and changed Draw/Fill rectangles implementation (This is basically done to avoid lots of brush and pen setup happening in libgdiplus.) 2004-05-27 Ravindra * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS. 2004-05-26 Sanjay Gupta * ImageFormatConverter.cs: Fixed issues discovered from nunit test cases. 2004-05-26 Ravindra * Color.cs: Corrected Color.Green property. 2004-05-24 Jordi Mas i Hernandez * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed 2004-05-20 Sanjay Gupta * Icon.cs: Fixed issue with size property. 2004-05-18 Ravindra * Pen.cs: Added value checks in DashPattern and CompoundArray properties. 2004-05-16 Gert Driesen * Graphics.cs: fixed warning * ImageAnimator.cs: fixed warning * FontConverter.cs: fixed public API 2004-05-14 Vladimir Vukicevic * gdipFunctions.cs: Fixed prototype for GdipGetEncoderParameterList * Image.cs: Reworked Save functions to handle EncoderParameters. Implemented GetEncoderParameterList Also removed unused setGDIPalette internal method. 2004-05-14 Peter Bartok * StringFormat.cs: Added CharacterRange handling * Graphics.cs: Implemented MeasureCharacterRanges method 2004-05-14 Peter Bartok * Graphics.cs: Added error check 2004-05-14 Duncan Mak * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI): (GdipFlattenPath, GdipWarpPath, GdipWidenPath): (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported. 2004-05-14 Sanjay Gupta * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method. 2004-05-13 Sanjay Gupta * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method. 2004-05-13 Peter Bartok * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not resize the image. 2004-05-12 Peter Bartok * Image.cs: Implemented GetThumbnailImage 2004-05-13 Sanjay Gupta * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and FromXDrawable(IntPtr, IntPtr) internal. 2004-05-12 Jordi Mas i Hernandez * Color.cs: work for API compatibilty: private date, todos * Font.cs: work for API compatibilty: private date, todos * FontFamily.cs: work for API compatibilty: private date, todos * Graphics.cs: work for API compatibilty: private date, todos * Icon.cs: work for API compatibilty: private date, todos * Image.cs: work for API compatibilty: private date, todos * ImageAnimator.cs: work for API compatibilty: private date, todos * Point.cs: work for API compatibilty: private date, todos * PointF.cs: work for API compatibilty: private date, todos * Rectangle.cs: work for API compatibilty: private date, todos * RectangleF.cs: work for API compatibilty: private date, todos * Region.cs: work for API compatibilty: private date, todos * Size.cs: work for API compatibilty: private date, todos * SizeF.cs: work for API compatibilty: private date, todos * SolidBrush.cs: work for API compatibilty: private date, todos * StringFormat.cs: work for API compatibilty: private date, todos * SystemPens.cs: work for API compatibilty: private date, todos * TextureBrush.cs: work for API compatibilty: private date, todos * gdipStructs.cs: work for API compatibilty: private date, todos 2004-05-12 Ravindra * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs: Added missing attributes and some coding style fixes. * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and some fixes. 2004-05-11 Sanjay Gupta * ImageAnimator.cs: Implemented first version. 2004-05-11 Ravindra * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes for the same. 2004-05-10 Ravindra * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes for the same. Added few related P/Invokes for Pen also. 2004-05-06 Sanjay Gupta * ImageAnimator.cs: Corrected implementation of CanAnimate() method. 2004-05-06 Ravindra * RectangleConverter.cs: Implemented GetProperties () method. * SizeConverter.cs: Implemented GetProperties () method. * PointConverter.cs: Implemented GetProperties () method. * FontConverter.cs: Implemented some of the methods. 2004-05-06 Ravindra * Color.cs: Fixed Name property. * ColorTranslator.cs: Fixed the existing methods and implemented the missing methods. * ColorConverter.cs: Fixed the existing methods and implemented the missing methods. Also, fixed coding style. 2004-05-05 Jordi Mas i Hernandez * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32. 2004-05-05 Jordi Mas i Hernandez * Image.cs: raw_format should be handled by GDI+ * Bitmap.cs: raw_format should be handled by GDI+ 2004-05-04 Ravindra * Pen.cs: Modified exception message. Fixed Transform, DashPattern, and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap properties and SetLineCap method. In constructors use IntPtr instead of int. * SolidBrush.cs: Modified exception message. * TextureBrush.cs: Fixed Transform property. * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and LinearGradientBrush.cs. 2004-04-30 Sanjay Gupta * Image.cs: Implemented FrameDimensionsList property. 2004-04-30 Ravindra * gdipFunctions.cs: Added few more P/Invoke calls for lineargradient brush and added one case statement in CheckStatus method. 2004-04-30 Jordi Mas i Hernandez * Image.cs: takes into account MemoryBmp format when saving 2004-04-30 Ravindra * StringFormat.cs: Added checks for status. 2004-04-30 Sanjay Gupta * Image.cs: Removed calls which passes byte[] for Guid parameter. * gdipFunctions.cs: Removed unwanted unix specific function calls. 2004-04-30 Ravindra * Graphics.cs: Added checks for status. * Image.cs: Added a check for status. * FontFamily.cs: Added checks for status. 2004-04-29 Peter Bartok * Brushes.cs: Fixed bug #52695. No longer creates a new brush for every request and behaves Microsoft compatible 2004-04-29 Jordi Mas i Hernandez * Image.cs: fixes Save method. It now retrieves the proper encoder and uses its ClsID instead of the formatID (as GDI+ expects) 2004-04-29 Ravindra * Font.cs: Added checks for status. * Bitmap.cs: Added checks for status. * Pen.cs: Added checks for status. 2004-04-28 Sanjay Gupta * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs: Converted to unix format from dos format. 2004-04-28 Sanjay Gupta * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods. 2004-04-28 Jordi Mas i Hernandez * gdipStructs.cs: added GdipImageCodecInfo struct 2004-04-28 Sanjay Gupta * ImageFormatConverter.cs: Corrected ConvertFrom method. 2004-04-27 Sanjay Gupta * ImageConverter.cs: Added exception message. * IconConverter.cs: Added exception message. * ImageFormatConverter.cs: Implemented first version. 2004-04-27 Sanjay Gupta * ImageConverter.cs: Implemented first version. 2004-04-27 Sanjay Gupta * IconConverter.cs: Implemented first version. 2004-04-26 Sanjay Gupta * Image.cs: Corrected implementation of Property RawFormat. * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat. 2004-04-25 Sanjay Gupta * Bitmap.cs: Resolved a compile time error. * Image.cs: Changed the implementation of few methods to progress with ImageAnimator class. * gdipFunctions.cs: Added few linux only function calls. * Icon.cs: Removed unused variable from code. 2004-04-25 Vladimir Vukicevic * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux. 2004-04-23 Vladimir Vukicevic * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for serialization for Bitmaps. (Bugzilla #52568) 2004-04-23 Ravindra * RectangleConverter.cs: Fixed ConvertTo () method. * SizeConverter.cs: Fixed ConvertTo () method. * PointConverter.cs: Fixed ConvertTo () method. 2004-04-23 Sanjay Gupta * ImageAnimator.cs: Implemented CanAnimate() method. 2004-04-22 Jordi Mas i Hernandez * Image.cs: added RotateFlip and RemovePropertyItem calls 2004-04-22 Ravindra * RectangleConverter.cs: Implemented. Also changed file format dos2unix. * Rectangle.cs: Fixed ToString method. * RectangleF.cs: Fixed ToString method. 2004-04-22 Ravindra * SizeConverter.cs: Implemented some of the functions. * PointConveter.cs: Implemented. * gdipFunctions.cs: Corrected one typo. * Brushes.cs: Added a comment. 2004-04-22 Vladimir Vukicevic * gdipFunctions.cs: Fix StreamGetBytesImpl to handle returning portions of the peek buffer back. Fixes #57379. 2004-04-21 Peter Bartok * Font.cs: Implemented Font.FromHfont method * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member * gdipFunctions.cs: Added imports for functions required to support Font.FromHfont method 2004-04-21 Jordi Mas i Hernandez * RectangleConverter.cs: stubbed out * Font.cs : added missing members 2004-04-19 Sanjay Gupta * Icon.cs: Fixed problem in extracting bitmap from Icon. 2004-04-16 Ravindra * Pen.cs: GC should be allowed to collect any pen including system pens. * SolidBrush.cs: GC should be allowed to collect any SolidBrush including system brushes. * Brushes.cs: Coding style. * Pens.cs: Objects created by Pens are not modifiable on MS.NET, so we are now. Also, coding style fixes. * SystemPens.cs: Removed static constructor and changed file format dos2unix. * SystemBrushes.cs: Some cosmetic changes. 2004-04-15 Sanjay Gupta * Icon.cs: Implemented more missing bits and fixed the problem of icon not getting saved in proper format 2004-04-14 Sanjay Gupta * Icon.cs: Implemented more missing bits 2004-04-13 Sanjay Gupta * Icon.cs: Implemented few more missing bits 2004-04-12 Sanjay Gupta * Icon.cs: Implemented first version 2004-04-11 Peter Bartok * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting the code and using our own private gdiplus function when on Unix and using Win32 functions when running on Windows * gdipStructs.cs: Added LOGFONTA structure * gdipFunctions.cs: Added various DllImports required for Font.ToHfont 2004-04-10 Vladimir Vukicevic * Image.cs: Save should use encoder.FormatID, not Clsid 2004-04-06 Jordi Mas i Hernandez * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature 2004-04-06 Duncan Mak * gdipFunctions.cs (GdipCreatePath2): Fixed signature. 2004-04-06 Jordi Mas i Hernandez * Region.cs: fixes GetRegionScans * gdipFunctions.cs: fixes GetRegionScans 2004-04-06 Vladimir Vukicevic * gdipFunctions.cs: Added stream delegate helpers for stream loading/saving on linux * Image.cs, Bitmap.cs: Converted to call into GDIPlus for loading/saving image data. 2004-04-05 Jordi Mas i Hernandez * Region.cs: implemented new methods * Graphics.cs: implemented new methods 2004-04-02 Jordi Mas i Hernandez * Region.cs: implemented 2004-04-01 Duncan Mak * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers. * gdipFunctions.cs (GdipAddPathCurveI): (GdipAddPathCurve2, GdipAddPathCurve2I): (GdipAddPathCurve3, GdipAddPathCurve3I): (GdipAddPathClosedCurve, GdipAddPathClosedCurveI): (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new wrappers from GDI+. 2004-03-30 Jordi Mas i Hernandez * Image.cs: implemented a few GDI+ wrapper calls 2004-03-30 Jordi Mas i Hernandez * Bitmap.cs: remove redundant data already present at Image.cs * Image.cs: use GDI+ functions to get image details * StringFormat.cs: missing constructor and property 2004-03-24 Jordi Mas i Hernandez * FontFamily.cs: added missing members and style clean * Graphics.cs: fixed signature of DrawArc and DrawPie * Image.cs: added missing members, fixes * StringFormat.cs: missing constructor and property 2004-03-24 Jordi Mas i Hernandez * Graphics.cs: Added missing DrawImage GDI+ calls * gdipFunctions.cs: Added missing DrawImage GDI+ calls 2004-03-23 Ravindra * gdipFunctions.cs: Added few more P/Invoke calls for LinearGradientBrush. 2004-03-22 Ravindra * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush and did few coding style fixes. 2004-03-18 Ravindra * Brush.cs: Fixed Dispose method. * SolidBrush.cs: Fixed clone method. * TextureBrush.cs: Fixed clone method. * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush. 2004-03-13 Gonzalo Paniagua Javier * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong. 2004-03-10 Ravindra * Pen.cs: Implemented PenType property. * Brush.cs: Coding style. 2004-03-06 Ravindra * gdipFunctions.cs: Added few more GDI+ P/Invoke calls for PathGradientBrush. 2004-03-06 Ravindra * gdipFunctions.cs: Added GDI+ P/Invoke calls for PathGradientBrush. 2004-03-04 Duncan Mak * Region.cs: Indentation. * RectangleF.cs: Changed the internal structure from a PointF, SizeF to floats in order to match the layout from the C API. 2004-03-04 Jordi Mas i Hernandez * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style 2004-03-03 Sanjay Gupta * gdipFunctions.cs: Added functions for ImageAttributes 2004-03-03 Sanjay Gupta * Icon.cs: Missing function stubs added * Icon.cs: Missing function stubs added * IconConverter.cs: Missing function stubs added * ImageAnimator.cs: Missing function stubs added * ImageConverter.cs: Missing function stubs added * ImageFormatConverter.cs: Missing function stubs added 2004-03-02 Jordi Mas i Hernandez * Font.cs: Allow multiple styles 2004-02-25 Jordi Mas i Hernandez * StringFormat.cs: Clone method 2004-02-24 Jordi Mas i Hernandez * font.cs: fixes, Clone, and ToString 2004-02-21 Jordi Mas i Hernandez * gdipFunctions.cs: MeasureString * Graphics.cs : MeasureString 2004-02-17 Jordi Mas i Hernandez * Font.cs: destructor and unit conversion * Graphics.cs : system dpi support 2004-02-13 Ravindra * Pen.cs: Fixed some bugs. * TextureBrush.cs: Fixed some bugs. 2004-02-13 Sanjay Gupta * gdipFunctions.cs: Added ImageCodecInfo functions * Image.cs: Added few methods 2004-02-13 Jordi Mas i Hernandez * FontFamily.cs: remove hardcoded font names, a few bug fixes 2004-02-12 Sanjay Gupta * gdipFunctions.cs: Added Image class functions * Image.cs: Added few methods 2004-02-10 Jordi Mas i Hernandez * graphics.cs: fixes parameters for DrawStrings functions 2004-02-07 Andreas Nahr * SRDescriptionAttribute.cs: Added and implemented * ToolboxBitmapAttribute.cs: Implemented a few members * SystemIcons.cs: Stubbed * StringFormat.cs: Implemented method * Region.cs: Added Todo, fixed attribute * Size.cs: Added attribute * SizeF.cs: Added attribute * RectangleF.cs: Added attributes * Rectangle.cs: Added attributes * PointF.cs: Added attribute * Point.cs: Added attribute 2004-02-06 Ravindra * Brush.cs: Renamed GetException method to CheckStatus and moved it to gdipFunctions.cs. * gdipFunctions.cs: Added CheckStatus method. * SolidBrush.cs: Using CheckStatus method. * TextureBrush.cs: Using CheckStatus method. * gdipEnums.cs: Added a missing value. 2004-02-05 Ravindra * Brush.cs: Added a missing namespace. 2004-02-05 Ravindra * gdipFunctions.cs: Added methods for HatchBrush and SolidBrush. * SolidBrush.cs: Added checks for status. * Brush.cs: Added support for HatchBrush and TextureBrush types in internal CreateBrush() method. 2004-02-03 Jordi Mas * Font.cs: Setup font properties 2004-02-03 Ravindra * TextureBrush.cs and Brush.cs: Moved GetException (Status) method from TextureBrush.cs to Brush.cs. * Brush.cs: Made GetException (Status) method internal. 2004-02-03 Sanjay Gupta * gdipFunctions.cs: Added methods for Image class. 2004-01-30 Ravindra * TextureBrush.cs: Added more methods to complete it. * gdipFunctions.cs: Added methods for TextureBrush class. 2004-01-30 Ravindra * gdipFunctions.cs: Added methods for TextureBrush class. 2004-01-30 Ravindra * Pen.cs: Modified to handle TextureBrush also. * Bitmap.cs: Added one internal constructor. * TextureBrush.cs: Implemented. 2004-01-29 Duncan Mak * gdipFunctions.cs * Graphics.cs: Indentation fixes, removed long dangling lines and extra spaces. * Graphics.cs (IsVisible): Renamed variable to not use hungarian notation. 2004-01-29 Sanjay Gupta * FontFamily.cs: Implemented few methods and a constructor 2004-01-28 Sanjay Gupta * gdipFunctions.cs: Added FontFamily and FontCollection functions. * FontFamily.cs: Implemented missing functionalities. 2004-01-24 Duncan Mak * Graphics.cs (DrawPath): Implemented. 2004-01-23 Ravindra * Point.cs: ToString modified. * PointF.cs: ToString modified. * Size.cs: ToString modified. * SizeF.cs: ToString modified. ToPoint and ToSize methods are added. 2004-01-21 Jordi Mas i Hernàndez * Bitmap.cs: Several new methods added. 2004-01-21 Duncan Mak * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add OutAttribute to the array argument. This fixes the PathPoints property in System.Drawing.Drawing2D.GraphicsPath. 2004-01-20 Ravindra * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting this property was hanging and getting was throwing a NullRef Exception. Earlier we were passing Matrix object to and fro which was causing the problem. Now, we are using IntPtr. Thanks to Duncan for helping me. Also, .NET behavior is to maintain Pen.Color and Pen.Brush together. If color is set, a SolidBrush automatically gets set with the same color, Pen loses the old brush object. If a SolidBrush is set, Pen.Color gets the value same as that of brush color losing the old value. Pen shows this behavior now. * gdipFunctions.cs: Changed the signature of GdipGetPenTransform and GdipSetPenTransform methods to use IntPtr instead of Matrix. 2004-01-19 Duncan Mak * gdipFunctions.cs: Import functions for GraphicsPath. 2004-01-14 Ravindra * SolidBrush.cs: Made SolidBrush to initialize its color from IntPtr. * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API. 2004-01-11 Duncan Mak * Bitmap.cs (LockBits): * Graphics.cs (DrawString): Removed reference to GpRectF. 2004-01-09 Duncan Mak * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint): Removed. Didn't know that structs are laid out sequentially by default. We don't need these anymore. 2004-01-12 Ben Maurer * Color.cs: Keep KnownColors in an array so that we avoid ht lookup. 2004-01-11 Daniel Morgan * Graphics.cs: fix compile error on Windows builds for out parameter state in call to GdipSaveGraphics 2004-01-10 Ravindra * All Enums: Made serializable. * Image.cs: Corrected signature of Dispose(bool) method. * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs: Corrected coding style mistakes of my previous commit. * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter. * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable. * StringFormat.cs: Inherits MarshalByRefObject. * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage]. 2004-01-08 Ravindra * Pen.cs: Added isModifiable (bool) variable. It is required to make Pens created by SystemPens.cs unmodifiable. All property setters are modified for this. * SolidBrush.cs: Added isModifiable variable (bool). It is required to make Brushes created by SystemBrushes.cs unmodifiable. All property setters are modified for this. * SystemBrushes.cs: Modified all the properties as per the .NET specs, so that Brushes are not created every time. Also, missing properties are added. * SystemPens.cs: Modified all the properties as per the .NET specs, so that Brushes are not created every time. Also, missing properties are added. 2003-12-12 Miguel de Icaza * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes it serializable 2004-01-06 Duncan Mak * gdipFunctions.cs: Import GraphicsPath functions from GDI+. 2003-12-21 Duncan Mak * Graphics.cs (DrawArc): Fixed the method signature and hooked it up to the GDI+ implementation. (RotateTransform): Uncommented. * gdipFunctions.cs (DrawArc, DrawArcI): Import from libgdiplus.so.dll. 2003-12-13 Todd Berman * Font.cs: Implementing a couple things for porting purposes * SystemBrushes.cs: ^ * StringFormat.cs: ^^ 2003-11-28 Duncan Mak * Pen.cs (CompoundArray): Hide this for now. 2003-11-28 Duncan Mak * Brush.cs (CreateBrush): new internal factory method for creating specific brushes based on the internal (GDI+ C API) BrushType enum. (Brush (IntPtr)): new internal constructor. * Pen.cs: Removed all the C# fields. We are using GDI+ completely now. (Pen (IntPtr)): new internal constructor. (Pen (Brush, float)): Use GdipCreateBrush2. (Clone): Implemented using GdipClonePen. (Alignment, Brush, Color, Width): Use GDI+ implementations instead. (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle): Implemented these properties. (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed. (MultiplyTransform, ResetTransform, RotateTransform): (ScaleTransform, TranslateTransform): Implemented these methods. * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor. * gdipEnums.cs (BrushType): Added new GDI+ enum. * gdipFunctions.cs: Imported new Brush and Pen functions. 2003-11-22 Duncan Mak * gdipFunctions.cs (GdipResetWorldTransform, GdipSetWorldTransform): (GdipGetWorldTransform, GdipScaleWorldTransform): Imported. * Graphics.cs: Remove unnecessary TODO, and reformatted the code. (transform): Removed this field. Always use the matrix associated in the GpGraphics ptr. (DrawBeziers): Implemented. (DrawLine): Don't need to manually invoke the transform now. (MultiplyTransform, ResetTransform): (ScaleTransform, TranslateTransform): Use GDI+ implementation. (Transform): Instead of storing a Matrix in managed code, use equivalent GDI+ functions. 2003-11-21 Gonzalo Paniagua Javier * SizeConverter.cs: fixed class signature and implemented some methods. 2003-11-17 Duncan Mak * gdipFunctions.cs (GdipGetMatrixElements): Fix signature. * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit. 2003-11-17 Duncan Mak * Bitmap.cs (LockBits): * Graphics.cs (DrawString): Use GpRectF. * gdipFunctions.cs: Updated method signatures. * Graphics.cs (MultiplyTransform): Implemented using GdipMultiplyWorldTransform from GDI+. * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and GpRect, to be more consistent with the C naming. 2003-11-16 Miguel de Icaza * Graphics.cs: Implement the other DrawString overloads . 2003-11-16 Miguel de Icaza * gdipStructs.cs (GdipRectF): Added utility constructor 2003-11-15 Duncan Mak * gdipFunctions.cs: Imported matrix functions. 2003-11-13 Andreas Nahr * Bitmap.cs: Added Attributes * ColorTranslator.cs: Added private constructor * Font.cs: Added Attributes * FontFamily.cs: sealed * Icon.cs: Added Attributes * IconConverter.cs: Fixed signature * Image.cs: Added attributes * ImageAnimator.cs: * ImageConverter.cs: * ImageFormatConverter.cs: * SolidBrush.cs: * StringFormat.cs: * SystemBrushes.cs: * SystemColors.cs: * SystemIcons.cs: * SystemPens.cs: * TextureBrush.cs: Fixed signature * Color.cs: Added attributes * Point.cs: * PointF.cs: * Rectangle.cs: * Size.cs: * SizeF.cs: Added attributes * ContentAlignment.cs: Added attribute 2003-11-13 Duncan Mak * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented. * gdipFunctions.cs (GdipSetPenMiterLimit, GdipGetPenMiterLimit): (GdipSetPenLineJoin, GdipGetPenLineJoin): (GdipSetPenLineJoin, GdipGetPenTransform): imported. 2003-11-12 Alexandre Pigolkine * Bitmap.cs * gdipFunctions.cs copy image in Bitmap constructor 2003-11-06 Duncan Mak * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix angle parameters for the integer case. (DrawBezier): Hook it up with GdipDrawBezier. (DrawEllipse): Fix Width, Height ordering. 2003-11-05 Duncan Mak * Graphics.cs (DrawPie): * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation in graphics.c. 2003-10-28 Duncan Mak * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon): (FillEllipse, FillPolygon): implemented. (RenderingOrigin): implemented. * gdipFunctions.cs: Added new GDI+ equivalents. 2003-10-25 Alexandre Pigolkine * Bitmap.cs * Image.cs small fixes 2003-10-25 Atsushi Enomoto * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance. 2003-10-24 Miguel de Icaza * SystemBrushes.cs: Some more brushe3s. * SystemPens.cs: More pens. * Pen.cs: Implement IDisposable, ICloneable. * Region.cs: Add some more stubs here. * StringFormat.cs: Add some more code here. 2003-10-23 Miguel de Icaza * Image.cs: Kill the InternalImageInfo, everything is now done in terms of Image and BitmapData. * Rectangle.cs: Make this one also sequential, change from using Point + Size to use x, y, width, height; So we can use GdiPlus. * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the BitmapData class argument, and instead use the [In,Out] attributes, which will do struct marshalling on the fields. Now we can use C#'s BitmapData directly to talk to Gdiplus. * gdipStructs.cs: Every internal structure that has to talk to Gdi+ is properly prefixed, to minimize the confussion. * Bitmap.cs Bitmap (int width, int height, PixelFormat format): Compute the stride here where we have the BPP information, allocate a buffer of the proper size, and pass this to GdipCreateBitmapFromScan0 * Image.cs: Implement Dispose pattern. 2003-10-14 Alexandre Pigolkine * Graphics.cs * gdipFunctioncs.cs * gdipStructs.cs DrawString function added 2003-10-12 Alexandre Pigolkine * gdipEnums.cs * gdipFunctions.cs * gdipStructs.cs added 2003-10-12 Alexandre Pigolkine * Bitmap.cs * Brush.cs * Font.cs * FontFamily.cs * Graphics.cs * Image.cs * Pen.cs * SolidBrush.cs implementation changed to gdi+ 2003-09-08 Duncan Mak * Factories.cs (DefaultImplementationNamespace): Change it from "XrImpl" to "Cairo". 2003-08-20 Gonzalo Paniagua Javier * Color.cs: fixed FromArgb to handle alpha value correctly. Closes bug #47727. 2003-08-08 Duncan Mak * Graphics.cs (DrawBezier): Fixed. 2003-08-03 Alexandre Pigolkine * Graphics.cs delegate Dispose to implementation 2003-08-01 Gonzalo Paniagua Javier * FontConverter.cs: stub it out so that system.web compiles. 2003-07-30 Alexandre Pigolkine * Image.cs InternalImageInfo class improved 2003-07-23 Miguel de Icaza * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms' is set, default to Win32Impl 2003-07-22 Alexandre Pigolkine * Image.cs implementation added 2003-07-21 Andreas Nahr * Icon.cs: Stubed out (fix for System.Drawing.Design) 2003-07-17 Andreas Nahr * StringFormat.cs: Changes to become CLS-compliant 2003-07-14 Miguel de Icaza * Factories.cs: Remove debugging message. 2003-07-01 Alexandre Pigolkine * Color.cs code generation program modified 2003-06-29 Alexandre Pigolkine * Graphics.cs image drawing 2003-06-28 Alexandre Pigolkine * Color.cs * SystemColors.cs supply KnowColor enum value to save Enum.Parse at runtime 2003-06-26 Alexandre Pigolkine * Graphics.cs coordinate transformations * Image.cs small fix 2003-06-22 Alexandre Pigolkine * Factories.cs * FontFamily.cs more implementation 2003-06-20 Alexandre Pigolkine * Font.cs * FontFamily.cs more implementation 2003-06-18 Alexandre Pigolkine * Graphics.cs few more calls to implementation 2003-06-15 Alexandre Pigolkine * Bitmap.cs BITMAP declaration removed * Graphics.cs few more calls to implementation * Image.cs InternalImageInfo structure, image read/write functions 2003-05-26 Alexandre Pigolkine * Factories.cs analyse environment variable and machine.config to select implementation * Image.cs PixelFormat property added 2003-04-30 Nick Drochak * Factories.cs: Change weird characters that broke build on windows. 2003-04-26 Gonzalo Paniagua Javier * ColorConverter.cs: (ConvertFrom): return a system or named color if there's one that fits teh values parsed with Color.FromArgb. 2003-04-26 Alexandre Pigolkine * Bitmap.cs * Brush.cs * Font.cs * Graphics.cs * Image.cs * Pen.cs * SolidBrush.cs * SystemBrushes.cs * Factories.cs delegate function calls to implementation 2003-04-26 Alexandre Pigolkine * Bitmap.cs * ChangeLog * Image.cs * SystemBrushes.cs switch to Linux style line terminators 2003-03-29 Alan Tam * ToolboxBitmapAttribute stubbed more constructors and fixed base class 2003-03-01 Alexandre Pigolkine * SystemBrushes.cs added stubs to compile SWF 2003-02-21 Alexandre Pigolkine * Font.cs * Graphics.cs * Image.cs * SystemBrushes.cs small changes to be able to run SWF apps 2003-02-08 Gonzalo Paniagua Javier * Graphics.cs: stubbed out all the methods. 2003-02-08 Piers Haken * fixed case of pens.cs and font.cs 2003-02-07 Alexandre Pigolkine * Font.cs Added * Graphics.cs * StringFormat.cs * SystemBrushes.cs stubs added 2002-11-21 Dennis Hayes (dennish@raytek.com) * checkin for Matt Stump (mstump@swfo.arizona.edu) * Pens.cs * Added file 2002-10-19 Rachel Hestilow * ColorTranslator.cs (FromHtml): Implement. 2002-10-14 Dennis Hayes (dennish@raytek.com) * Region.cs * changed using namespace from Drawing2d to Drawing2D 2002-9-15 Asier Llano * Fixes the enum values in the following enums * ContentAlignment.cs: * FontStyle.cs: * GraphicsUnit.cs: * KnownColor.cs: * RotateFlipType.cs: * StringAligment.cs: * StringDigitSubstitute.cs: * StringFormatFlags.cs: * StringTrimming.cs: * StringUnit.cs: * SolidBrush.cs: Easy implementation * Brushes.cs: Implementation based on SolidBrush and Color class. * Brush.cs: Fixes based on the status web). * CharacterRange.cs: Implemented the missing Lenth property. 2002-9-14 Dennis Hayes (dennish@raytek.com) * sample.cs * removed personal template that should not have been checked in 2002-09-13 Gonzalo Paniagua Javier * ColorConverter.cs: readded MonoTODOs and implemented a couple of methods. 2002-9-14 DennisHayes * FontConverter.cs * FontFamily.cs * Icon.cs * IconConverter.cs * ImageAnimator.cs * ImageConverter.cs * ImageFormatConverter.cs * PointConverter.cs * RectangleConverter.cs * Sample.cs * SizeConverter.cs * SolidBrush.cs * StringFormat.cs * SystemBrushes.cs * SystemIcons.cs * SystemPens.cs * TextureBrush.cs * ToolboxBitmapAttribute.cs * Added null classes for most/all classes, Many stubs, and some implmentation 2002-9-2 DennisHayes * Bitmap.cs * Color.cs * ColorConverter.cs * Image.cs * Pen.cs * Added stubs, implmentation 2002-9-2 DennisHayes * Brushes.cs : stubbed, added colors. Not sure how to implement, but this should at least save someone some typing. * CharacterRange.cs :Implmented * Region.cs : stub needed for system.windows.forms 2002-07-28 Gonzalo Paniagua Javier * ColorTranslator.cs: use Color.Name. 2002-07-18 Gonzalo Paniagua Javier * Color.cs: implemented SystemColors and NamedColors properties that are used by ColorConverter, removed public constructor, use SystemColors, and misc. fixes to make it behave as MS (ToString, parsing names, FromKnownColor,...). * ColorConverter.cs: use NamedColors and SystemColors from Color when trying to get the color from its name. * SystemColors.cs: new file. 2002-07-16 Gonzalo Paniagua Javier * Color.cs: changed static properties to use FromArgbNamed. Also modified the program included in comments that get the values for static properties. (FromArgbNamed): build named colors. (FromKnownColor): fixed. (FromName): use a hash to look up colors by name. (FillColorNames): create the hash of colors. (Equals): compare values and name. (ToString): improved. * ColorTranslator.cs: implemented ToHtml. 2002-06-20 Gonzalo Paniagua Javier * Color.cs: added TypeConverter attribute. * ColorConverter.cs: added constructor. 2002-06-15 Gonzalo Paniagua Javier * ColorConverter.cs: implemented minimal set of features needed by xsp. 2002-05-03 Mike Kestner * Bitmap.cs : using System.IO * ColorTranslator.cs : Stubbed off build breakers. * Image.cs : Stub off IDisposable and ICloneable. 2002-04-27 Christian Meyer * Bitmap.cs: Ximian is the new copyright holder now. * Image.cs: ditto 2002-04-05 Christian Meyer * Uppercased several files. 2002-04-05 Christian Meyer * color.cs: Fixed a typo in GetSaturation (). 2002-02-26 Christian Meyer * Bitmap.cs: Added method headers. 2002-02-25 Christian Meyer * Bitmap.cs: Added, no implementation's done, yet. 2001-12-15 Mike Kestner * Rectangle.cs : Add a doc comment. * RectangleF.cs : New struct implementation. 2001-12-15 Mike Kestner * Rectangle.cs : New struct implementation. 2001-08-17 Mike Kestner * PointF.cs, Size.cs, SizeF.cs : New struct implementations. 2001-08-16 Mike Kestner * Point.cs : New. Implementation of System.Drawing.Point struct.