Nyall Dawson
08143475ed
[FEATURE] QgsTextRenderer class for rich text rendering
...
Moves all the drawing code out of labeling into a new class
which just handles rendering text. This allows other parts
of the code to utilise all the advanced formatting options
that labeling supports, eg rendering text with shadows,
buffers and backgrounds.
2016-10-24 12:02:00 +10:00
nirvn
455874258c
[legend] insure multi-line labels are vertically centered with tall symbols
2016-10-19 10:02:43 +07:00
rldhont
a51ef42924
[BUGFIX][QGIS Server] GetLegendGraphic: if LAYERTITLE is false disable layer name in legend
...
If the layer has only one legend node, it is embedded in parent.
In QGIS Server the user can specify no layer title, so the layer title has not be displayed.
2016-10-18 12:17:45 +02:00
Nyall Dawson
a6148deb30
[FEATURE] Data defined symbol layer visibility
...
Adds a data defined override to control a symbol layer's
visibility. Allows users to disable drawing certain symbol layers
for matching features.
2016-10-18 13:22:22 +10:00
Nyall Dawson
b8c2e68fc5
[FEATURE] Allow symbol layers to be temporarily disabled
...
Adds a new checkbox at the bottom of each symbol layer's
properties which allows you to control whether the layer is
enabled or not.
Disabled layers are not drawn, but are saved and can be
enabled at a later stage.
This makes it easier to tweak symbol appearance without
having to totally delete a symbol layer.
2016-10-18 13:22:22 +10:00
nirvn
ec2d7fea0c
[FEATURE] control over drawing of composer table grid horizontal & vertical lines
2016-10-14 13:20:59 +07:00
Nyall Dawson
ddfe91f763
Fix @geometry_point_num and @geometry_point_count for marker lines
...
Fixes #15673
2016-10-10 19:53:15 +10:00
Nyall Dawson
748d8acddb
Fix first marker is drawn twice for marker line interval mode
2016-10-10 19:53:15 +10:00
Nyall Dawson
19f6b62cd8
Fix layers with layer wide opacity "flashing" by rendering
...
intermediate states without opacity
2016-10-04 09:22:40 +10:00
Nyall Dawson
fbdc93fb2e
Add missing test images
2016-09-30 08:42:16 +10:00
Nyall Dawson
3253cdc2fb
Unit tests for displacement and cluster renderer
2016-09-30 08:42:16 +10:00
Nyall Dawson
67d5e19303
Update test masks (Qt5 on Fedora)
2016-09-29 12:23:02 +10:00
Nyall Dawson
10ee1c3c26
Update test masks
2016-09-23 13:58:14 +10:00
Nyall Dawson
e4f44722a1
Server access control test masks (Qt5)
2016-09-19 10:20:25 +10:00
Nyall Dawson
e7f8e0e04f
Update test masks (ubuntu 16.04 qt5)
2016-09-19 09:45:16 +10:00
Nyall Dawson
25125b089e
Remove deprecated composer methods
2016-09-14 07:20:17 +10:00
Nyall Dawson
e3313fac95
Test masks
2016-09-10 14:42:33 +10:00
Nyall Dawson
570e6936b6
Add a bunch of tests for legend grouping into columns
2016-09-10 14:42:33 +10:00
Nyall Dawson
6dbdd4c24b
Update test masks for qt5
2016-09-05 13:44:41 +10:00
Patrick Valsecchi
5ee97adc16
Add heuristic to not simplify geometries for nothing
...
Tested with a release binary and Swiss OSM roads in PostGIS at several zoom
levels (the higher, the less features), values in ms (average over at
least 100 queries):
Level | Before | After | % improvement
-------------------------------------------
7 | 37 | 36 | 2.7
6 | 41 | 38 | 7.32
5 | 48 | 46 | 4.17
4 | 70 | 64 | 8.57
3 | 114 | 109 | 4.39
Not much improvement (I'm quite dispointed, here), but not much change in
the code.
2016-08-16 12:48:35 +02:00
Juergen E. Fischer
b08a9e7951
rename test images
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
eeebf4be08
rename QgsComposerSymbolItem::symbolV2() to symbol()
2016-08-10 12:12:28 +02:00
Nyall Dawson
863c73db8f
Label test mask updates
2016-08-09 16:55:13 +10:00
Nyall Dawson
c3f720f80b
[pal] Only apply distance from line midpoint penalty to non closed linestrings
...
Sponsored by Andreas Neumann
2016-08-09 16:55:12 +10:00
Nyall Dawson
dc0cc32046
Further tweaks to line labeling, add tests
...
Sponsored by Andreas Neumann
2016-08-09 16:55:11 +10:00
Nyall Dawson
01e6c04980
Labeling tests
2016-08-09 16:55:11 +10:00
Nyall Dawson
3d6688cce5
Add labeling tests for letter/word spacing
2016-07-27 06:37:16 +10:00
Nyall Dawson
5228de353c
Update curved label test reference images
2016-07-27 06:37:16 +10:00
Nyall Dawson
92eec0e338
Revert "[labeling] Curved labels are now angled per character"
...
This reverts commit f6d07a33b71a9b19579d19dadbe777b1f14c6842.
2016-07-20 19:44:13 +10:00
Nyall Dawson
4bcae0693d
Revert "Update labeling reference images"
...
This reverts commit 1aec78145f7553ca62584a9bb626b8a531a01a8e.
2016-07-20 19:44:04 +10:00
Nyall Dawson
fc88336a62
Revert "Add labeling tests for letter/word spacing"
...
This reverts commit 9dfdfc645f327b38ef90974751104c4b1523736e.
2016-07-20 19:43:57 +10:00
Nyall Dawson
9dfdfc645f
Add labeling tests for letter/word spacing
2016-07-20 13:04:50 +10:00
Nyall Dawson
1aec78145f
Update labeling reference images
2016-07-20 13:04:50 +10:00
Frits van Veen
f6d07a33b7
[labeling] Curved labels are now angled per character
...
...instead of shifted along base line (fix #15210 )
2016-07-20 13:04:50 +10:00
Nyall Dawson
7f2bdcf342
Update legend test masks, fix for PyQt5
2016-07-14 07:12:15 +10:00
Nyall Dawson
2f8c6f5207
[composer] Add a checkbox for legends to prevent automatic resizing
...
A new checkbox has been added to the legend settings to control
whether or not a legend should be automatically resized to fit
its contents.
If unchecked, then the legend will never resize and instead just
stick to whatever size the user has set. Any content which
doesn't fit the size is cropped out.
Refs #10556
On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
4f31ab656e
[composer] Fix setting legend content by map not resizing legend
...
When a legend was set to filter content by map, it wasn't
consistently being resized to fit the legend contents. This caused
issues for atlas exports where legends could grow but never
shrink.
Fix #14707
On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
93f2eec711
[composer] Fix initial size of legend is wrong if symbol size in
...
map units is used (fix #11921 )
On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Hugo Mercier
8976c9de02
Allow curved polygons to be inverted ( fixes #15113 )
2016-06-23 16:09:23 +02:00
Hugo Mercier
6fae6e22b0
Update arrow mask image
2016-06-21 11:18:19 +02:00
Hugo Mercier
36e7f920c2
Fix outline rendering in arrow symbol layer
2016-06-21 10:33:54 +02:00
Nyall Dawson
aa0e6d8944
Followup c78347, update test images
2016-06-16 18:30:22 +10:00
Nyall Dawson
2265115f80
Fix issues rendering SVG with text ( fix #14644 , #14794 )
2016-06-08 18:46:01 +10:00
Nyall Dawson
0c6e289c8e
Update test masks
2016-06-07 07:26:34 +10:00
Nyall Dawson
b4f88c5396
Update test masks for arrow symbol layer
2016-06-04 19:16:47 +10:00
Hugo Mercier
efd32ff2a8
Arrow symbol layer: option to repeat or not the arrow on the line
2016-06-02 09:52:03 +02:00
Hugo Mercier
6c9b588906
Arrow symbol layer: halved arrows and head width/height
...
The head size can now be configured by its width and its height
Arrows can also be rendered as "half arrows"
2016-06-02 09:52:03 +02:00
Alvaro Huarte
6969a1a401
Fix travis errors
2016-05-25 22:53:01 +02:00
Nyall Dawson
d73210a5f8
Update test mask image
2016-05-19 21:04:50 +10:00
Denis Rouzaud
1602c02df7
Merge pull request #3009 from pblottiere/magnifier
...
[FEATURE] add a map canvas magnifier
2016-05-19 06:30:07 +02:00