xtd 0.2.0
Loading...
Searching...
No Matches
interpolation_mode.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace drawing {
12 namespace drawing_2d {
19 enum class interpolation_mode {
21 invalid = -1,
23 default_value = 0,
25 low = 1,
27 hight = 2,
29 bilinear = 3,
31 bicubic = 4,
38 };
39 }
40 }
41}
42
46};
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
interpolation_mode
The xtd::drawing::drawing_2d::interpolation_mode enumeration specifies the algorithm that is used whe...
Definition interpolation_mode.h: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 ...
@ 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...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36