Commit graph

28 commits

Author SHA1 Message Date
Dane Springmeyer
5e84ce0dfc agg compositing: change src_over alpha to avoid pixel artifacts by reordering computations and add basic tests comparing src_over composting to normal agg alpha blending - closes #1452 - refs #1313, #1454, #1369 2012-08-31 18:04:08 -07:00
Dane Springmeyer
ac320b2d1a agg: spelling fix 2012-08-31 17:52:01 -07:00
Dane Springmeyer
f983a73feb avoid gcc compiler warnings after 352ad7499d - refs #1383 2012-08-31 21:49:06 +00:00
Dane Springmeyer
352ad7499d move agg compositing methods that use boost gil into cpp file to lessen dependence on boost gil headers - refs #1383 2012-08-27 18:44:01 -07:00
Dane Springmeyer
4cf1484b53 disable colorize-alpha comp-op as per #1371 2012-08-15 14:46:58 -07:00
Dane Springmeyer
b43697fd5d colorize-alpha: only recolor if source alpha is > 0 to avoid overpainted background - refs #1371 2012-08-03 14:48:02 -07:00
artemp
66614df453 + fix - move Sca>0 test 2012-08-03 17:33:15 +01:00
artemp
5414912160 + prevent division by zero in color-burn mode
(FIXME: re-implement using latest(corrected) math from
    http://www.w3.org/TR/SVGCompositing/)
+ re-implemented grain-extract mode
2012-08-03 15:34:21 +01:00
Artem Pavlenko
2201eb6941 Merge remote-tracking branch 'origin/master' 2012-06-20 10:07:10 -04:00
Artem Pavlenko
eba3a88388 + agg_pixfmt_rgba.h : impl blend_color_hspan_alpha
+ agg_renderer_scanline.h : add support for setting alpha
+ process_polygon_pattern_symbolizer.cpp : setting variable opacity
2012-06-20 10:03:24 -04:00
Tom MacWright
aa5a726b92 Rename color-spin composite operation to colorize alpha
to make it less confusing alongside actual color manipulation
modes.
2012-06-19 17:16:25 -04:00
Artem Pavlenko
9b61c0effe Merge remote-tracking branch 'origin/master'
Conflicts:
	deps/agg/include/agg_pixfmt_rgba.h
	include/mapnik/image_compositing.hpp
	src/cairo_renderer.cpp
	src/image_compositing.cpp
2012-06-18 14:36:15 -04:00
Artem Pavlenko
c71944bf32 + use HSV color space (as in GIMP)
+ rename 'luminosity' to 'value'
2012-06-18 14:30:01 -04:00
Tom MacWright
f6c10bbb7e Add color_spin composite operation. 2012-06-18 11:10:04 -04:00
Artem Pavlenko
14d365d572 + hue, saturation, color and luminosity blending modes (HSL based)
(http://en.wikipedia.org/wiki/Blend_modes#Hue.2C_saturation_and_luminosity)
2012-06-17 15:19:29 -04:00
Mickey Rose
d346c57e17 agg::trans_affine: add static const identity, make mul/div operators const
(cherry picked from commit db47a6c9bad5828fe62b5c1c05661118e23ad218)
2012-06-06 17:34:08 +02:00
Mickey Rose
44538e29d4 agg::conv_transform: changed transformer to non-const reference (replaces ba270e0) 2012-05-29 18:32:04 +02:00
Artem Pavlenko
f3c774baa4 + add grain-extract blending mode (gimp) 2012-05-29 15:09:33 +01:00
Artem Pavlenko
f692df9337 + untabify 2012-05-25 13:28:00 +01:00
Artem Pavlenko
6bea57d690 + implement grain-merge blending mode (GIMP) 2012-05-25 10:35:43 +01:00
Dane Springmeyer
19631e50e2 restore pristine agg2.4 agg:span_image_resample_rgba_affine - refs #1227 2012-05-24 14:12:04 -07:00
Artem Pavlenko
92c41e8626 + restore allocator (as it used to store objects with
non-trivial ctor's - svg_converter) TODO: expose allocator
2012-05-15 14:30:04 +01:00
Artem Pavlenko
ba270e07f2 store Transformer by value in conv_transform 2012-04-18 09:38:17 +01:00
Artem Pavlenko
254c623a99 + remove vc++ 6.0 work-around 2012-03-23 09:32:22 +00:00
Artem Pavlenko
2f5e7f8464 + use in-place ::new/::delete 2012-03-23 09:31:02 +00:00
Artem Pavlenko
e837b46f5c agg-2.4.tar.gz-noarch-fixpathstoragewarning.diff [JoeB] 2011-10-26 10:21:21 +01:00
Artem Pavlenko
6798e52c58 agg-2.4.tar.gz-noarch-fixoutlineaaoptimizer.diff [JoeB] 2011-10-26 10:20:08 +01:00
Dane Springmeyer
28ed3e5fdf remove tinyxml, no longer needed by boost ptree as it bundles rapidxml now 2011-10-11 20:02:50 -07:00