12 namespace drawing_2d {
40 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::drawing_2d::pixel_offset_mode> {{
xtd::drawing::drawing_2d::pixel_offset_mode::invalid,
"invalid"}, {
xtd::drawing::drawing_2d::pixel_offset_mode::default_value,
"default_value"}, {
xtd::drawing::drawing_2d::pixel_offset_mode::high_speed,
"high_speed"}, {
xtd::drawing::drawing_2d::pixel_offset_mode::high_quality,
"high_quality"}, {
xtd::drawing::drawing_2d::pixel_offset_mode::none,
"none"}, {
xtd::drawing::drawing_2d::pixel_offset_mode::half,
"half"}};}
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
pixel_offset_mode
Specifies how pixels are offset during rendering.
Definition pixel_offset_mode.h:20
@ high_speed
Specifies high speed, low quality rendering.
@ none
Specifies no pixel offset.
@ half
Specifies that pixels are offset by -.5 units, both horizontally and vertically, for high speed antia...
@ default_value
Specifies default mode.
@ high_quality
Specifies high quality, low speed rendering.
@ invalid
Specifies the default 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