add divide, linear-dodge and linear-burn blending modes (needs testing)
This commit is contained in:
parent
9f05389754
commit
c1c5421fb6
4 changed files with 2975 additions and 2845 deletions
5809
deps/agg/include/agg_pixfmt_rgba.h
vendored
5809
deps/agg/include/agg_pixfmt_rgba.h
vendored
File diff suppressed because it is too large
Load diff
|
@ -74,7 +74,10 @@ enum composite_mode_e
|
|||
hue,
|
||||
saturation,
|
||||
_color,
|
||||
_value
|
||||
_value,
|
||||
linear_dodge,
|
||||
linear_burn,
|
||||
divide
|
||||
};
|
||||
|
||||
MAPNIK_DECL boost::optional<composite_mode_e> comp_op_from_string(std::string const& name);
|
||||
|
|
|
@ -179,6 +179,9 @@ void cairo_context::set_operator(composite_mode_e comp_op)
|
|||
case saturation:
|
||||
case _color:
|
||||
case _value:
|
||||
case linear_dodge:
|
||||
case linear_burn:
|
||||
case divide:
|
||||
//case colorize_alpha:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -75,6 +75,9 @@ static const comp_op_lookup_type comp_lookup = boost::assign::list_of<comp_op_lo
|
|||
(saturation,"saturation")
|
||||
(_color,"color")
|
||||
(_value,"value")
|
||||
(linear_dodge,"linear-dodge")
|
||||
(linear_burn,"linear-burn")
|
||||
(divide,"divide")
|
||||
;
|
||||
|
||||
boost::optional<composite_mode_e> comp_op_from_string(std::string const& name)
|
||||
|
|
Loading…
Add table
Reference in a new issue