24 Commits
Author SHA1 Message Date
Hugh Bellamy 4bd60ea895 Fix Gdi+ WrongState exception type and remove incorrect test for GdiPlus status code (#8276)
* Fix Status.WrongState exception

* Remove invalid test for GdipLockBits

* Fix LinearGradientBrush behaviour to match netfx/netcore
2018-04-18 17:43:14 -04:00
Marek Safar 411a37af27 Bump corefx 2017-10-05 22:43:54 +02:00
Hugh Bellamy 177fca4917 Fix LinearGradientMode parameter validation to match corefx (#5672) 2017-10-02 16:15:28 +02:00
Frederik Carlier 3830eca92c Use Brush classes from CoreFX (#5039) 2017-06-15 11:29:35 +02:00
Sebastien Pouliot 07be13d622 2008-11-01 Sebastien Pouliot <[email protected]>
* 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
2008-11-02 00:46:24 +00:00
Sebastien Pouliot 18873406d0 2006-11-22 Sebastien Pouliot <[email protected]>
* GraphicsPath.cs: Better MonoTODO description.
	* LinearGradientBrush.cs: Better MonoTODO description.


svn path=/trunk/mcs/; revision=68367
2006-11-22 20:09:00 +00:00
Sebastien Pouliot abb1b0114d 2006-04-19 Sebastien Pouliot <[email protected]>
* 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
2006-04-19 15:02:27 +00:00
Sebastien Pouliot 73a78c6003 2006-03-31 Sebastien Pouliot <[email protected]>
* LinearGradientBrush.cs: Added a [MonoTODO] to the GammaCorrection
	property as this is not used anywhere inside libgdiplus.


svn path=/trunk/mcs/; revision=58840
2006-03-31 12:57:41 +00:00
Sebastien Pouliot c30257b17d 2006-03-22 Sebastien Pouliot <[email protected]>
* 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
2006-03-22 20:22:00 +00:00
Ravindra dcbb59b493 * PathGradientBrush.cs: Removed all the private variables.
Now, we get/set everything from libgdiplus. This is cleaner.

svn path=/trunk/mcs/; revision=31075
2004-07-13 12:07:52 +00:00
Ravindra eeb7486b59 * LinearGradientBrush.cs: Added checks for the values of
focus and scale parameters in SetBlendTriangularShape and
	SetSigmaBellShape methods.
	* PathGradientBrush.cs: Same as above.

svn path=/trunk/mcs/; revision=30377
2004-06-25 10:41:37 +00:00
Sachin Kumar 15a49e8b92 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29667
2004-06-16 06:32:39 +00:00
Ravindra 668a50ae10 Fixed Transform property in LinearGradientBrush.cs.
svn path=/trunk/mcs/; revision=26699
2004-05-04 14:16:33 +00:00
Ravindra 19e7ccfc13 Changed exception messages.
svn path=/trunk/mcs/; revision=26426
2004-04-30 16:20:37 +00:00
Ravindra b2ef4f74e5 Some fixes in LinearGradientBrush.cs.
svn path=/trunk/mcs/; revision=26425
2004-04-30 15:36:13 +00:00
Ravindra bb8fe26a6e Implementing LinearGradientBrush.cs public methods.
svn path=/trunk/mcs/; revision=24452
2004-03-23 08:23:43 +00:00
Ravindra 0147ab6cff Implementing LinearGradientBrush.cs and fixing PathGradientBrush.cs.
svn path=/trunk/mcs/; revision=24413
2004-03-22 12:21:04 +00:00
Andreas N 21a5a4133c 2003-11-13 Andreas Nahr <[email protected]>
* QualityMode.cs: Fixed typo
	* InterpolationMode.cs: Fixed typo
	* RegionData.cs: Fixed signatures, partially implemented
	* PathGradientBrush.cs: Fixed signatures
	* PathData.cs: Fixed signature, implemented
	* LinearGradientBrush.cs: Added missing MonoTODOs, fixed typo
	* GraphicsContainer.cs: Added private constructor
	* CustomLineCap.cs: Fixed typos, fixed inheritance, removed unneeded member

svn path=/trunk/mcs/; revision=19970
2003-11-13 22:36:20 +00:00
Miguel de Icaza cba96846a4 XrFunctions are now complete and match the Xr implementation.
Changed coding conventions to Mono coding conventions.

svn path=/trunk/mcs/; revision=16188
2003-07-14 06:26:50 +00:00
Alexandre Pigolkine d38ed50132 some implementation added
svn path=/trunk/mcs/; revision=14016
2003-04-26 03:44:25 +00:00
Alexandre Pigolkine c3af0168a9 checkin for Dennis Hayes <[email protected]>, see ChangeLog
svn path=/trunk/mcs/; revision=12550
2003-03-15 20:13:27 +00:00
Alexandre Pigolkine edde6cf456 checkin for Dennis Hayes, see changeLog for details
svn path=/trunk/mcs/; revision=12099
2003-03-02 09:12:37 +00:00
Dennis Hayes a2158fa226 2002-10-13 DennisHayes <[email protected]>
* Changed namespace from *2d to *2D
	* Changed comment header from system.Drawing to System.Drawing.Drawing2D

svn path=/trunk/mcs/; revision=8271
2002-10-15 01:06:53 +00:00
Dennis Hayes e2ec2cde28 2002-9-2 DennisHayes <[email protected]>
* AdjustableArrowCap.cs
	* Blend.cs
	* ColorBlend.cs
	* CombineMode.cs
	* CompostingMode.cs
	* CompostingQuality.cs
	* CoordinateSpace.cs
	* CustomLineCap.cs
	* DashCap.cs
	* DashStyle.cs
	* FillMode.cs
	* FlushIntention.cs
	* GraphicsContainer.cs
	* GraphicsPathIterator.cs
	* GraphicsState.cs
	* HatchBrush.cs
	* HatchStyle.cs
	* InterpolationMode.cs
	* LinearGradientBrush.cs
	* LinearGradientMode.cs
	* LineCap.cs
	* LineJoin.cs
	* MatrixOrder.cs
	* PathData.cs
	* PathGradientBrush.cs
	* PathPointType.cs
	* PenAligment.cs
	* PenType.cs
	* PixelOffsetMode.cs
	* QualityMode.cs
	* RegionData.cs
	* SmoothingMode.cs
	* WarpMode.cs
	* WrapMode.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7409
2002-09-12 18:41:33 +00:00