bugDotGNU Portable.NET - Bugs: bug #11338, Graphics.FillPath does not really...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11338: Graphics.FillPath does not really fill with PathData

Submitter:  Heiko Weiss <brubbel>
Submitted:  Fri 17 Dec 2004 07:52:40 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Mon 20 Dec 2004 05:53:49 AM UTC, comment #2: 


Added a sample.
In sample there are 2 pictures, which shoes the result on windows and linux.
on windows it it filled, on linux not.

Heiko Weiss <brubbel>
Group Member
Sat 18 Dec 2004 03:16:03 AM UTC, comment #1: 

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);

Deryk Robosson <drobosson>
Group Member
Fri 17 Dec 2004 07:52:40 AM UTC, 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.

Heiko Weiss <brubbel>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #2246:  TestPaint.zip added by brubbel (14KiB - application/x-zip-compressed - Sample)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-20 brubbel Attached File- Added TestPaint.zip, #1987

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code