6#include "../../color.hpp"
7#include "../../drawing_2d/interpolation_mode.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.
interpolation_mode
The xtd::drawing::drawing_2d::interpolation_mode enumeration specifies the algorithm that is used whe...
Definition interpolation_mode.hpp:19
@ default_value
Specifies default mode.
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::scale_effect scales the image with new size.
Definition scale_effect.hpp:35
xtd::drawing::size size
Gets or sets the new size.
Definition scale_effect.hpp:55
xtd::drawing::drawing_2d::interpolation_mode interpolation_mode
Gets or sets the interpolation mode.
Definition scale_effect.hpp:59
scale_effect(const xtd::drawing::size &size, xtd::drawing::drawing_2d::interpolation_mode interpolation_mode)
Initialise the new instance of xtd::drawing::imaging::scale_effect object with specified percent.
scale_effect(const xtd::drawing::size &size)
Initialise the new instance of xtd::drawing::imaging::scale_effect object with specified percent.
scale_effect()=default
Initialise the new instance of xtd::drawing::imaging::scale_effect object.
void apply(xtd::drawing::image &image) const override
Apply the effect.
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31