xtd 0.2.0
interpolation_mode.h
Go to the documentation of this file.
1 #pragma once
5 #include "drawing2d.h"
6 #include <xtd/enum>
7 
9 namespace xtd {
11  namespace drawing {
13  namespace drawing_2d {
20  enum class interpolation_mode {
22  invalid = -1,
24  default_value = 0,
26  low = 1,
28  hight = 2,
30  bilinear = 3,
32  bicubic = 4,
34  nearest_neighbor = 5,
39  };
40  }
41  }
42 }
43 
47 };
Specifies nearest-neighbor interpolation.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Specifies low quality interpolation.
interpolation_mode
The xtd::drawing::drawing_2d/interpolation_mode enumeration specifies the algorithm that is used when...
Definition: interpolation_mode.h:20
Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrin...
Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an ...
Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shri...
Contains xtd::drawing::drawing_2d/::matrix class.
Specifies high quality interpolation.
Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an...
Provides the registration struct for enumerations.
Definition: enum_register.h:36