12 namespace drawing_2d {
43 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::drawing_2d::smoothing_mode> {{
xtd::drawing::drawing_2d::smoothing_mode::invalid,
"invalid"}, {
xtd::drawing::drawing_2d::smoothing_mode::default_value,
"default_value"}, {
xtd::drawing::drawing_2d::smoothing_mode::high_speed,
"high_speed"}, {
xtd::drawing::drawing_2d::smoothing_mode::high_quality,
"high_quality"}, {
xtd::drawing::drawing_2d::smoothing_mode::none,
"none"}, {
xtd::drawing::drawing_2d::smoothing_mode::anti_alias,
"anti_alias"}};}
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.h:22
smoothing_mode
Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled are...
Definition smoothing_mode.h:23
@ none
Specifies no pixel offset.
@ high_speed
Specifies high speed, low quality rendering.
@ none
Specifies no pixel offset.
@ default_value
Specifies default mode.
@ high_quality
Specifies high quality, low speed rendering.
@ anti_alias
Specifies that pixels are offset by -.5 units, both horizontally and vertically, for high speed antia...
@ invalid
Specifies an invalid mode.
@ high_speed
High speed, low quality.
@ default_value
Default quality.
@ high_quality
High quality, low speed compositing.
@ invalid
Invalid quality.
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:38