[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingPen.cs,
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingPen.cs, 1.4, 1.5 |
Date: |
Mon, 04 Aug 2003 02:46:05 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp
In directory subversions:/tmp/cvs-serv25229/System.Drawing.Xsharp
Modified Files:
DrawingPen.cs
Log Message:
Pass the brush properties for a pen down to the toolkit layer;
pen brush selection for Xsharp.
Index: DrawingPen.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingPen.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** DrawingPen.cs 21 Jun 2003 00:42:42 -0000 1.4
--- DrawingPen.cs 4 Aug 2003 06:46:03 -0000 1.5
***************
*** 141,145 ****
--- 141,156 ----
g.Foreground =
DrawingToolkit.DrawingToXColor
(properties.Color);
+ g.SetFillSolid();
}
+ }
+
+ // Select a brush-based pen into a graphics object.
+ public void Select(IToolkitGraphics graphics, IToolkitBrush brush)
+ {
+ // Set the basic line information first.
+ Select(graphics);
+
+ // Select the brush details into the graphics
context.
+ brush.Select(graphics);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingPen.cs, 1.4, 1.5,
Rhys Weatherley <address@hidden> <=