artemp
87c619cdc2
don't forget FT_LOAD_NO_HINTING
2017-02-28 15:13:40 +01:00
artemp
1b67779290
implement color bitmap extraction/scaling/compositing into target pixmap
2017-02-28 15:04:49 +01:00
artemp
639dcae83f
c++ style
2017-02-28 15:03:26 +01:00
artemp
a6519c3f6b
use FT_Load_Sfnt_Table to identify color fonts + load color glyphs with FT_LOAD_COLOR
2017-02-28 15:00:03 +01:00
Mickey Rose
8292edaa1a
strip boost::optional from non-optional marker ptr
2017-02-22 13:37:52 +01:00
Mickey Rose
5464ae9cdf
load_map: avoid segfault when ShieldSymbolizer has invalid placements
2017-02-22 12:25:20 +01:00
Mickey Rose
8e34b323b5
define PNG_FAST_FILTERS if png.h doesn't have it
2017-02-02 12:19:17 +01:00
Mickey Rose
7e2aab171f
include png.h outside any namespace
2017-02-02 12:19:17 +01:00
artemp
df51f6087c
minor c++ style
2017-01-31 17:42:24 +01:00
artemp
d053bddb43
add support for PNG filters ( http://www.libpng.org/pub/png/libpng-manual.txt ) ref #3479
2017-01-26 15:45:08 +01:00
artemp
f13848e210
move box2.hpp
and related files into geometry
dir
2017-01-26 09:51:37 +01:00
artemp
28c51df986
more fix GCC shadows a member warning [-Wshadow]
2017-01-13 09:38:54 +01:00
artemp
1b940bebcc
attributes not opacity (ref 1c704447b7
)
2017-01-12 18:18:39 +01:00
artemp
1c704447b7
more fix GCC shadows a member warning [-Wshadow]
2017-01-12 18:09:10 +01:00
artemp
0a7e8bb429
fix GCC shadows a member warning [-Wshadow]
2017-01-12 17:48:56 +01:00
artemp
de2b44712a
move transform related headers into transform
dir to minimize clutter
2017-01-11 11:10:03 +01:00
Artem Pavlenko
e5a93bce52
Merge pull request #3596 from mapycz/text-simple-placement-center
...
Text simple placement: add center 'C' placement
2017-01-09 11:57:03 +01:00
artemp
6190784350
remove remaining usage of deprecated dymamic exceptions: dtors are implicitely noexcept
+ qualify what
methods with noexcept
2017-01-09 11:47:52 +01:00
Jiri Drbalek
4eae86b7bc
text simple placement: add center 'C' placement
2017-01-08 09:05:44 +00:00
Jiri Drbalek
10deff9d5d
remove unnecessary breaks
2017-01-08 09:04:12 +00:00
artemp
d9d842f29c
dynamic exceptions deprecated in c++11 and removed in c++17 ( http://en.cppreference.com/w/cpp/language/except_spec )
2017-01-06 19:06:49 +01:00
Mickey Rose
ca89c587bd
can't store noncopyable list in std::vector
...
std::list can have a throwing move constructor.
std::vector of such lists makes copies when growing its storage array,
it doesn't move them.
render_thunk_list is noncopyable (because render_thunk is noncopyable),
and so can't be stored in std::vector in some STL implementations.
2017-01-03 21:43:14 +01:00
Mickey Rose
962bcf84c5
change render_thunk_list to std::list<render_thunk>
...
Wrapping render_thunk in std::unique_ptr is one extra allocation per
element, with no purpose. The somewhat costly xyz_render_thunk move
constructor is only called once upon insertion, regardless of whether
we're emplacing render_thunk or unique_ptr.
2017-01-03 20:53:55 +01:00
lightmare
e41f41b0a6
Merge pull request #3566 from mapycz/better-largest-bbox
...
Better largest bbox
2017-01-02 03:25:14 +01:00
artemp
ed648ced46
SVG transform - implement in terms of boost::spirit::x3
2016-12-23 16:32:05 +01:00
artemp
95cc560167
SVG points - implement using boost::spirit::x3 + refactor parse_rule
instantiations into separate *.cpp
2016-12-23 14:40:59 +01:00
artemp
30749031cf
SVG path parser - boost::spirit::x3 based implementation
2016-12-22 14:57:26 +01:00
artemp
5745bedbd9
update copyright year to 2016
2016-12-20 17:57:22 +01:00
artemp
f1ccc66162
avoid parsing synthesised std::tuple<> + more fine-grained rules
2016-12-19 17:53:58 +01:00
artemp
47cdd22fad
simplify further
2016-12-19 17:06:27 +01:00
artemp
4475754e8a
deduce types
2016-12-19 17:02:45 +01:00
artemp
c5b5bc0237
fix namespace prefix
2016-12-19 16:34:16 +01:00
artemp
18f721fd17
TopoJSON - implement parsing using spirit::x3
2016-12-19 16:18:19 +01:00
artemp
4ba87b1e9d
c++14 support is not sufficient on windows: reverting back and start tracking Windows workarounds in separate branch
...
Revert "move BOOST_SPIRIT_DEFINE into separate headers + use across all grammar defs (#3573 )"
This reverts commit 81cfa721db
.
Revert "windows : fix errors C3259 + C3249"
This reverts commit 8327905aba
.
Revert "Workaround for VC++ C2995 via redifining BOOST_SPIRIT_DEFINE macro (#3573 )"
This reverts commit 2a2f0bf00a
.
2016-12-14 17:11:59 +01:00
artemp
81cfa721db
move BOOST_SPIRIT_DEFINE into separate headers + use across all grammar defs ( #3573 )
2016-12-14 16:35:24 +01:00
artemp
2a2f0bf00a
Workaround for VC++ C2995 via redifining BOOST_SPIRIT_DEFINE macro ( #3573 )
2016-12-14 15:10:22 +01:00
artemp
e46785a063
wrap grammar into anonymous namespace - attempting to fix VC++ compilation issue ( #3573 )
2016-12-14 10:49:11 +01:00
artemp
5eaf37404a
remove unused using
directive
2016-12-09 11:49:08 +01:00
artemp
a07a8cd6fe
use <mapnik/util/variant_io.hpp> which has specialisation for boolean type
2016-12-06 14:56:04 +01:00
Mickey Rose
cb41fc5d48
fix #3526 GroupSymbolizer PairLayout with 3+ items
2016-12-05 16:26:03 +01:00
Jiri Drbalek
6364e07d71
duplicate code elimination
2016-12-05 11:25:33 +01:00
Jiri Drbalek
2174c10b2f
find max element instead of std::sort
2016-12-03 14:33:55 +00:00
Jiri Drbalek
4cdc3428bd
remove redundant code
2016-12-03 13:10:07 +00:00
artemp
5ea5f18a7e
cleanups
2016-12-02 12:42:07 +01:00
artemp
6824f4c477
fix more gcc warnings
2016-12-02 11:42:57 +01:00
artemp
2f8da6dfd5
reduce compiler warnings (gcc 6)
2016-12-01 17:17:56 +01:00
artemp
410a2ce7ca
from_geojson(json, geometry) - remove temp feature/ parse directly into geometry
2016-11-30 12:21:56 +01:00
artemp
56d5ffb473
remove unused headers
2016-11-30 12:21:38 +01:00
artemp
b01481ded7
refactor feature_grammar_x3 to have a cleaner separation between feature and geometry rules
2016-11-30 11:33:35 +01:00
artemp
36eb7f61bd
implement from_geojson in terms of parse_(feature|geometry)
2016-11-29 10:48:06 +01:00