"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mcs/class/System.Drawing/System.Drawing/Graphics.cs" between
mono-5.20.1.34.tar.bz2 and mono-6.8.0.96.tar.xz

About:

Graphics.cs  (mono-5.20.1.34.tar.bz2):Graphics.cs  (mono-6.8.0.96.tar.xz)
skipping to change at line 1602 skipping to change at line 1602
{ {
if (brush == null) if (brush == null)
throw new ArgumentNullException ("brush"); throw new ArgumentNullException ("brush");
FillRectangle (brush, rect.Left, rect.Top, rect.Width, r ect.Height); FillRectangle (brush, rect.Left, rect.Top, rect.Width, r ect.Height);
} }
public void FillRectangle (Brush brush, Rectangle rect) public void FillRectangle (Brush brush, Rectangle rect)
{ {
if (brush == null) if (brush == null)
throw new ArgumentNullException ("brush"); throw new ArgumentNullException ("brush");
if (rect == null)
throw new ArgumentNullException ("rect");
FillRectangle (brush, rect.Left, rect.Top, rect.Width, r ect.Height); FillRectangle (brush, rect.Left, rect.Top, rect.Width, r ect.Height);
} }
public void FillRectangle (Brush brush, int x, int y, int width, int height) public void FillRectangle (Brush brush, int x, int y, int width, int height)
{ {
if (brush == null) if (brush == null)
throw new ArgumentNullException ("brush"); throw new ArgumentNullException ("brush");
Status status = GDIPlus.GdipFillRectangleI (nativeObject, brush.NativeBrush, x, y, width, height); Status status = GDIPlus.GdipFillRectangleI (nativeObject, brush.NativeBrush, x, y, width, height);
GDIPlus.CheckStatus (status); GDIPlus.CheckStatus (status);
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)