12 namespace drawing_2d {
45 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::drawing_2d::interpolation_mode> {{
xtd::drawing::drawing_2d::interpolation_mode::invalid,
"invalid"}, {
xtd::drawing::drawing_2d::interpolation_mode::default_value,
"default_value"}, {
xtd::drawing::drawing_2d::interpolation_mode::low,
"low"}, {
xtd::drawing::drawing_2d::interpolation_mode::hight,
"hight"}, {
xtd::drawing::drawing_2d::interpolation_mode::bilinear,
"bilinear"}, {
xtd::drawing::drawing_2d::interpolation_mode::bicubic,
"bicubic"}, {
xtd::drawing::drawing_2d::interpolation_mode::nearest_neighbor,
"nearest_neighbor"}, {
xtd::drawing::drawing_2d::interpolation_mode::high_quality_bilinear,
"high_quality_bilinear"}, {
xtd::drawing::drawing_2d::interpolation_mode::high_quality_bicubic,
"high_quality_bicubic"}};}
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
interpolation_mode
The xtd::drawing::drawing_2d::interpolation_mode enumeration specifies the algorithm that is used whe...
Definition interpolation_mode.hpp:19
@ nearest_neighbor
Specifies nearest-neighbor interpolation.
@ bilinear
Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an...
@ low
Specifies low quality interpolation.
@ high_quality_bicubic
Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrin...
@ bicubic
Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an ...
@ default_value
Specifies default mode.
@ hight
Specifies high quality interpolation.
@ invalid
Equivalent to the xtd::drawing::drawing_2d::quality_mode::invalid element of the xtd::drawing::drawin...
@ high_quality_bilinear
Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shri...
@ default_value
Default quality.
@ invalid
Invalid quality.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38