agg_stack_blur - add ctors
This commit is contained in:
parent
ee2277a610
commit
fc037cb62b
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,7 @@ struct y_gradient : image_filter_base {};
|
|||
struct invert : image_filter_base {};
|
||||
|
||||
// http://vision.psychol.cam.ac.uk/jdmollon/papers/colourmaps.pdf
|
||||
struct color_blind_protanope : image_filter_base
|
||||
struct color_blind_protanope : image_filter_base
|
||||
{
|
||||
const double x = 0.7465;
|
||||
const double y = 0.2535;
|
||||
|
@ -82,6 +82,10 @@ struct color_blind_tritanope : image_filter_base
|
|||
|
||||
struct agg_stack_blur : image_filter_base
|
||||
{
|
||||
agg_stack_blur()
|
||||
: rx(1), ry(1) {}
|
||||
agg_stack_blur(unsigned r)
|
||||
: rx(r), ry(r) {}
|
||||
agg_stack_blur(unsigned rx_, unsigned ry_)
|
||||
: rx(rx_),ry(ry_) {}
|
||||
inline bool operator==(agg_stack_blur const& rhs) const
|
||||
|
|
Loading…
Add table
Reference in a new issue