xtd 0.2.0
Loading...
Searching...
No Matches
interpolation mode

Definition

interpolation mode definitions.

Warning
Internal use only

Variables

constexpr xtd::int32 IM_INVALID
 Equivalent to the xtd::drawing::drawing_2d::quality_mode::invalid element of the xtd::drawing::drawing_2d::quality_mode enumeration.
 
constexpr xtd::int32 IM_DEFAULT
 Specifies default mode.
 
constexpr xtd::int32 IM_LOW
 Specifies low quality interpolation.
 
constexpr xtd::int32 IM_HIGHT
 Specifies high quality interpolation.
 
constexpr xtd::int32 IM_BILINEAR
 Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.
 
constexpr xtd::int32 IM_BICUBIC
 Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.
 
constexpr xtd::int32 IM_NEAREST_NEIGHBOOR
 Specifies nearest-neighbor interpolation.
 
constexpr xtd::int32 IM_HIGH_QUALITY_BILINEAR
 Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.
 
constexpr xtd::int32 IM_HIGH_QUALITY_BICUBIC
 Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.
 

Variable Documentation

◆ IM_INVALID

constexpr xtd::int32 IM_INVALID
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Equivalent to the xtd::drawing::drawing_2d::quality_mode::invalid element of the xtd::drawing::drawing_2d::quality_mode enumeration.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_DEFAULT

constexpr xtd::int32 IM_DEFAULT
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies default mode.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_LOW

constexpr xtd::int32 IM_LOW
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies low quality interpolation.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_HIGHT

constexpr xtd::int32 IM_HIGHT
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies high quality interpolation.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_BILINEAR

constexpr xtd::int32 IM_BILINEAR
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_BICUBIC

constexpr xtd::int32 IM_BICUBIC
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_NEAREST_NEIGHBOOR

constexpr xtd::int32 IM_NEAREST_NEIGHBOOR
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies nearest-neighbor interpolation.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_HIGH_QUALITY_BILINEAR

constexpr xtd::int32 IM_HIGH_QUALITY_BILINEAR
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ IM_HIGH_QUALITY_BICUBIC

constexpr xtd::int32 IM_HIGH_QUALITY_BICUBIC
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/interpolation_modes.hpp>

Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only