6#include "../../color.hpp"
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:53
Contains xtd::drawing::imaging::effects::effect struct.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Represents the base class for all effects.
Definition effect.hpp:31
The xtd::drawing::imaging::effects::gamma_correction_effect changes the gamma of the image with r,...
Definition gamma_correction_effect.hpp:34
double g
Gets or sets the green correction.
Definition gamma_correction_effect.hpp:58
gamma_correction_effect()=default
Initialise the new instance of xtd::drawing::imaging::gamma_correction_effect object.
double r
Gets or sets the red correction.
Definition gamma_correction_effect.hpp:54
double b
Gets or sets the blue correction.
Definition gamma_correction_effect.hpp:62
gamma_correction_effect(double r, double g, double b)
Initialise the new instance of xtd::drawing::imaging::gamma_correction_effect object with specified p...
void apply(xtd::drawing::image &image) const override
Apply the effect.