+ implement grain-merge blending mode (GIMP)
This commit is contained in:
parent
b7052029d8
commit
6bea57d690
4 changed files with 2413 additions and 2365 deletions
4770
deps/agg/include/agg_pixfmt_rgba.h
vendored
4770
deps/agg/include/agg_pixfmt_rgba.h
vendored
File diff suppressed because it is too large
Load diff
|
@ -68,7 +68,8 @@ enum composite_mode_e
|
|||
exclusion,
|
||||
contrast,
|
||||
invert,
|
||||
invert_rgb
|
||||
invert_rgb,
|
||||
grain_merge
|
||||
};
|
||||
|
||||
MAPNIK_DECL boost::optional<composite_mode_e> comp_op_from_string(std::string const& name);
|
||||
|
|
|
@ -382,6 +382,7 @@ public:
|
|||
case minus:
|
||||
case invert:
|
||||
case invert_rgb:
|
||||
case grain_merge:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,7 +67,9 @@ static const comp_op_lookup_type comp_lookup = boost::assign::list_of<comp_op_lo
|
|||
(exclusion,"exclusion")
|
||||
(contrast,"contrast")
|
||||
(invert,"invert")
|
||||
(invert_rgb,"invert-rgb");
|
||||
(invert_rgb,"invert-rgb")
|
||||
(grain_merge,"grain-merge")
|
||||
;
|
||||
|
||||
boost::optional<composite_mode_e> comp_op_from_string(std::string const& name)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue