[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 260518] Artefacts while rotating thick lines
From:       C. Boemann <cbo () boemann ! dk>
Date:       2012-04-30 21:53:34
Message-ID: bug-260518-17878-4RZ0qAtVxY () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=260518

--- Comment #4 from C. Boemann <cbo@boemann.dk> ---
ok it worked but here is something to consider:

In pathshape we stroke the path to create an outline when there are markers. It
seems overkill to me. All we need is a bounding box. If there is an easy way to
find the length and width of the markers it can be done considerably easier:

1) take the boundingbox of the outline()
2) make a square rect that has side equal to 2*max(length,width) of the start
marker
3) same for end marker
4) create a union rect of 1 and 2 (centered on start of path) and 3 (centered
on end of path)

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic