Bug 298708

Summary: Linepattern fillings are rendered badly or not at all
Product: [Applications] calligracommon Reporter: Friedrich W. H. Kossebau <kossebau>
Component: flakeAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Example file with some line patterns
Example file with some line patterns

Description Friedrich W. H. Kossebau 2012-04-23 23:48:00 UTC
Created attachment 70620 [details]
Example file with some line patterns

hatch styles with draw:rotation with values 300 or 3300 are not rendered at all. Other styles are rendered very roughly, with lines of big blocks at high resolution, so not antialiased at all.

Attached file can be used to test it.
Comment 1 Friedrich W. H. Kossebau 2012-04-24 00:03:05 UTC
Comment on attachment 70620 [details]
Example file with some line patterns

Bah, uploaded wrong version
Comment 2 Friedrich W. H. Kossebau 2012-04-24 00:04:47 UTC
Created attachment 70621 [details]
Example file with some line patterns
Comment 3 T Zachmann 2012-09-01 14:39:34 UTC
Git commit 0f67c281e51a30693d5994fa2db6f890a421d6bc by Thorsten Zachmann.
Committed on 01/09/2012 at 16:14.
Pushed by zachmann into branch 'master'.

Implement hatch background as defined in odf.

With this patch the different styles, freely defined angles and distance between
the lines of the hatch is supported.

This patch also changes the KoColorBackground to also use the d pointer of the
parent which reduces the memory needed for a KoColorBackground.

REVIEW: 106115
Related: bug 260534

M  +1    -0    libs/flake/CMakeLists.txt
M  +14   -13   libs/flake/KoColorBackground.cpp
M  +5    -2    libs/flake/KoColorBackground.h
A  +40   -0    libs/flake/KoColorBackground_p.h     [License: LGPL (v2+)]
A  +233  -0    libs/flake/KoHatchBackground.cpp     [License: LGPL (v2+)]
C  +26   -30   libs/flake/KoHatchBackground.h [from: libs/flake/KoColorBackground.h - 051% similarity]
M  +7    -2    libs/flake/KoShape.cpp

http://commits.kde.org/calligra/0f67c281e51a30693d5994fa2db6f890a421d6bc