15 Commits

Author SHA1 Message Date
Sandro Santilli
1ccf558497 Add a new visiblePolygon method to QgsMapSettings
Centralizes code to return a possible rotated map area boundaries.
Makes use of the new method from the grid decoration.

Adds new testcase for QgsMapSettings, including test for visibleExtent,
mapUnitsPerPixel and the new visiblePolygon method.
2015-02-07 15:05:00 +01:00
Martin Dobias
4dead724f5 Allow multiple styles of layers in composer maps
When layer set is locked in composer map, also the styles associated with layers are kept.
As a result, a composition can contain maps of the same layer just with different styles.

Map settings and map renderer jobs have been improved to support temporary override of layer's style.
It is possible to pass to map settings which layers should have overridden style and map jobs
will temporarily replace the style (just for the rendering).
2015-01-09 21:48:15 +07:00
Sandro Santilli
b3953b8339 Export QgsMapSettings rotation API to python 2014-12-09 09:53:56 +01:00
Juergen E. Fischer
a57066a48d * fix cppcheck warnings
* some sip updates
* [API] fix spelling QgsMultiRenderChecker::drawBackround
* [API] fix spelling QgsSymbolLayerV2Utils::drawStippledBackround
* [API] fix spelling QgsMapSettings::layerTransfrom
2014-11-20 15:02:35 +01:00
Martin Dobias
d2bc8fb40a Small API cleanup in QgsMapSettings 2014-06-22 00:58:54 +07:00
Martin Dobias
37fd5b7ca5 More doxygen docs for QgsMapSettings 2014-06-22 00:58:54 +07:00
Martin Dobias
12628c5fd1 Add doxymentation for QgsMapSettings 2014-06-22 00:58:54 +07:00
Larry Shaffer
72c33799d3 Add ability to define QImage format for render jobs via map settings
- Defaults to QImage::Format_ARGB32_Premultiplied, as before
- Update labeling unit tests to use defined format
2014-06-13 10:20:55 -06:00
Martin Dobias
a04ebf9eb0 Reintroduce datum transforms (were disabled during transition to MTR) 2014-06-05 20:24:51 +07:00
Juergen E. Fischer
45c0be1059 sip: remove enum constants 2014-06-02 21:52:02 +02:00
Nyall Dawson
aaa7003d54 [composer] Don't show vector selections in composer map items (fix #7610) 2014-06-02 16:42:30 +10:00
Martin Dobias
04dc5d8824 Merge remote-tracking branch 'alvaro/Simplification_MTR'
Conflicts:
	python/core/qgsmapsettings.sip
2014-05-30 12:25:17 +07:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Alvaro Huarte
4ab24a4f40 Enable disabled simplification code after merge MTR (1-2)
Disable simplification of geometries in composer by default
2014-05-27 13:26:49 +02:00
Martin Dobias
2bece090f5 Update Python bindings to match changes in core/gui libraries. 2013-12-05 18:27:45 +07:00