View Issue Details

IDProjectCategoryView StatusLast Update
0009870ScribusGraphics / Image Framespublic2011-03-23 21:55
Reportertsp Assigned Tofschmid  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi368OSlinuxOS Version2.6.37
Product Version1.4.0svn 
Fixed in Version1.4.0svn 
Summary0009870: corner rounding shows wrong result for positiv radii
Descriptionbezier control points are calculatied incorrectly
Steps To Reproducedraw a rectangle wit rounded corners and check result
Additional InformationThis modification in file:
scribus/pageitem.cpp
fixes the issu
4507 PoLine.addQuadPoint(rr, 0, rr, 0, Width_rr, 0, Width_rr, 0);
4508 PoLine.addQuadPoint(Width_rr, 0, Width_rr+rrxBezierFactor, 0, Width, rr, Width, rr-rrxBezierFactor);
4509 PoLine.addQuadPoint(Width, rr, Width, rr, Width, Height_rr, Width, Height_rr);
4510 PoLine.addQuadPoint(Width, Height_rr, Width, Height_rr+rrxBezierFactor, Width_rr, Height, Width_rr+rrxBezierFactor, Height);
4511 PoLine.addQuadPoint(Width_rr, Height, Width_rr, Height, rr, Height, rr, Height);
4512 PoLine.addQuadPoint(rr, Height, rr-rrxBezierFactor, Height, 0, Height_rr, 0, Height_rr+rrxBezierFactor);
4513 PoLine.addQuadPoint(0, Height_rr, 0, Height_rr, 0, rr, 0, rr);
4514 PoLine.addQuadPoint(0, rr, 0, rr-rrxBezierFactor, rr, 0, rr-rrxBezierFactor, 0);
TagsNo tags attached.
Patch

Relationships

related to 0003637 closedfschmid Rounded corner are not round 

Activities

cbradney

2011-03-23 04:30

administrator   ~0025905

This does seem to fix the issue, also noted in 3637.. need Jean or Franz to verify as there may be other places this needs fixing too.

cbradney

2011-03-23 21:55

administrator   ~0025913

Thank you for the patch.. it solved a very old bug

Issue History

Date Modified Username Field Change
2011-03-22 23:56 tsp New Issue
2011-03-23 04:28 cbradney Relationship added related to 0003637
2011-03-23 04:30 cbradney Note Added: 0025905
2011-03-23 17:34 fschmid Status new => resolved
2011-03-23 17:34 fschmid Fixed in Version => 1.4.0svn
2011-03-23 17:34 fschmid Resolution open => fixed
2011-03-23 17:34 fschmid Assigned To => fschmid
2011-03-23 18:18 cbradney Status resolved => closed
2011-03-23 21:55 cbradney Note Added: 0025913
2015-09-17 20:10 Kunda Category Graphics / Image Frames => Graphics/Img Frames
2015-09-17 20:11 Kunda Category Graphics/Img Frames => Graphics / Image Frames