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

 
 

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

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

Submitted by:  Heiko Weiss <brubbel>
Submitted on:  Fri 17 Dec 2004 07:52:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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>
Project 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>
Project 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>
Project Member

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 20 Dec 2004 05:53:49 AM UTCbrubbelAttached File-=>Added TestPaint.zip, #1987

Back to the top


Powered by Savane 3.1-cleanup