* GraphicsPathIterator.cs: Add proper null check that match the same
behavior that MS has.
* LinearGradientBrush.cs: Add comments to setter that dont do any null
check in order to be compatible with MS. Fix InterpolationColors to
throw a ArgumentNullException.
* PathGradientBrush.cs: Add comments to setter that dont do any null
check in order to be compatible with MS.
[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]
svn path=/trunk/mcs/; revision=117627
* GraphicsPath.cs: IsOutlineVisible throws ArgumentNullException
if a null pen is supplied. Update/remove some MonoTODO on
IsOutlineVisible methods.
svn path=/trunk/mcs/; revision=61526
* GraphicsPath.cs: Remove MonoTODO on GetBounds. For 1.x throw an
OutOfMemoryException if Widen is called on an empty path.
svn path=/trunk/mcs/; revision=61068
* GraphicsContainer.cs: Change the state from int to uint to match the
Save/Restore methods (and code). Removed unrequired stuff.
svn path=/trunk/mcs/; revision=60178
* ColorBlend.cs: Removed TODO. ColorBlend may not be complete where
used (e.g. gradients) but the class is complete.
* CustomLineCap.cs: corcompare fixes. Clone and Dispose() methods are
not virtual.
svn path=/trunk/mcs/; revision=60050
* GraphicsPath.cs: Added MonoTODO on some AddCurve methods because
libgdiplus doesn't use the numberOfSegments argument.
svn path=/trunk/mcs/; revision=60039
* GraphicsPath.cs: Re-write two versions of AddLines method to use
GdipAddPathLine2[I] functions. This fix a unit test where we can add
a single point with those methods. It also prevent multiple managed to
unmanaged transitions.
svn path=/trunk/mcs/; revision=60003
* GraphicsPath.cs: Fix exception handle in AddString methods to match
MS behahiour. Updated MonoTODO to reflect current status.
svn path=/trunk/mcs/; revision=59979
* GraphicsPath.cs: Fix null pen handling in Widen.
* LinearGradientBrush.cs: Avoid temporary Rectangle local and directly
get use the instance RectangleF.
svn path=/trunk/mcs/; revision=59645
* Matrix.cs: Fixed ctors to check for the right number (3) of points.
Added missing 'ref' to rectangles (required with fixed wrapper code).
svn path=/trunk/mcs/; revision=59315
* LinearGradientBrush.cs: Added a [MonoTODO] to the GammaCorrection
property as this is not used anywhere inside libgdiplus.
svn path=/trunk/mcs/; revision=58840
* GraphicsPath.cs: Call [libgdiplus|GDI+] for AddString (even if it
is not yet implemented in libgdiplus).
* LinearGradientBrush.cs: Update the rectangle when using the internal
ctor. Fix a few missing validations.
svn path=/trunk/mcs/; revision=58311
* GraphicsPath.cs: Updated TODO description on GetBounds as it's now
only missing support for Pens (when used with libgidplus).
svn path=/trunk/mcs/; revision=55655
* GraphicsPath.cs: Added more parameter checks to methods (to match
unit tests). Added descriptions to TODOs.
* PathData.cs: Don't clone the arrays! Removed unused internal
properties.
svn path=/trunk/mcs/; revision=55543
* GraphicsPath.cs: Throw an ArgumentException if either PathPoints or
PathTypes properties are empty (0 length). Note that PathData property
still works in that case.
* PathData.cs: Don't clone empty arrays (results in NRE).
svn path=/trunk/mcs/; revision=55444