[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #11338] Graphics.FillPath does not really fill w
From: |
Deryk Robosson |
Subject: |
[Pnet-developers] [bugs #11338] Graphics.FillPath does not really fill with PathData |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 Galeon/1.3.18 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #11338] Latest Modifications:
Changes by:
Deryk Robosson <address@hidden>
'Date:
Sat 12/18/2004 at 03:16 (GMT)
------------------ Additional Follow-up Comments ----------------------------
Using the following code seems to work okay (overridden OnPaint method). Got a
test case we can try?
// Create solid brush.
SolidBrush redBrush = new SolidBrush(Color.Red);
// Create graphics path object and add lines
GraphicsPath graphPath = new GraphicsPath();
graphPath.AddLine(0, 0, 200, 100);
graphPath.AddLine(80, 80, 150, 90);
graphPath.AddLine(150, 25, 30, 68);
// Fill graphics path to screen.
e.Graphics.FillPath(redBrush, graphPath);
/**************************************************************************/
[bugs #11338] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11338>
Project: DotGNU Portable.NET
Submitted by: Heiko Weiss
On: Fri 12/17/2004 at 07:52
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Summary: Graphics.FillPath does not really fill with PathData
Original Submission:
Graphics.FillPath( Brush, GraphicsPath ) does not fill the Path just draws the
path.
I have a lot of Beziers in the Graphics Path, none is filled.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sat 12/18/2004 at 03:16 By: Deryk Robosson <drobosson>
Using the following code seems to work okay (overridden OnPaint method). Got a
test case we can try?
// Create solid brush.
SolidBrush redBrush = new SolidBrush(Color.Red);
// Create graphics path object and add lines
GraphicsPath graphPath = new GraphicsPath();
graphPath.AddLine(0, 0, 200, 100);
graphPath.AddLine(80, 80, 150, 90);
graphPath.AddLine(150, 25, 30, 68);
// Fill graphics path to screen.
e.Graphics.FillPath(redBrush, graphPath);
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11338>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/