79 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::imaging::pixel_format> {{
xtd::drawing::imaging::pixel_format::undefined,
"undefined"}, {
xtd::drawing::imaging::pixel_format::max,
"max"}, {
xtd::drawing::imaging::pixel_format::indexed,
"indexed"}, {
xtd::drawing::imaging::pixel_format::gdi,
"gdi"}, {
xtd::drawing::imaging::pixel_format::format_16bpp_rgb555,
"format_16bpp_rgb555"}, {
xtd::drawing::imaging::pixel_format::format_16bpp_rgb565,
"format_16bpp_rgb565"}, {
xtd::drawing::imaging::pixel_format::format_24bpp_rgb,
"format_24bpp_rgb"}, {
xtd::drawing::imaging::pixel_format::format_32bpp_rgb,
"format_32bpp_rgb"}, {
xtd::drawing::imaging::pixel_format::format_1bpp_indexed,
"format_1bpp_indexed"}, {
xtd::drawing::imaging::pixel_format::format_4bpp_indexed,
"format_4bpp_indexed"}, {
xtd::drawing::imaging::pixel_format::format_8bpp_indexed,
"format_8bpp_indexed"}, {
xtd::drawing::imaging::pixel_format::alpha,
"alpha"}, {
xtd::drawing::imaging::pixel_format::format_16bpp_argb1555,
"format_16bpp_argb1555"}, {
xtd::drawing::imaging::pixel_format::palpha,
"palpha"}, {
xtd::drawing::imaging::pixel_format::format_32bpp_pargb,
"format_32bpp_pargb"}, {
xtd::drawing::imaging::pixel_format::extended,
"extended"}, {
xtd::drawing::imaging::pixel_format::format_16bpp_gray_scale,
"format_16bpp_gray_scale"}, {
xtd::drawing::imaging::pixel_format::format_48bpp_rgb,
"format_48bpp_rgb"}, {
xtd::drawing::imaging::pixel_format::format_64bpp_pargb,
"format_64bpp_pargb"}, {
xtd::drawing::imaging::pixel_format::canonical,
"canonical"}, {
xtd::drawing::imaging::pixel_format::format_32bpp_argb,
"format_32bpp_argb"}, {
xtd::drawing::imaging::pixel_format::format_64bpp_argb,
"format_64bpp_argb"}};}
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
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.hpp:22
pixel_format
Specifies the format of the color data for each pixel in the image.
Definition pixel_format.hpp:23
@ format_64bpp_argb
Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha,...
@ format_48bpp_rgb
Specifies that the format is 48 bits per pixel; 16 bits each are used for the red,...
@ alpha
The pixel data contains alpha values that are not premultiplied.
@ max
The maximum value for this enumeration.
@ format_32bpp_argb
Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha,...
@ format_16bpp_argb1555
The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color,...
@ format_8bpp_indexed
Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in i...
@ undefined
The pixel format is undefined.
@ format_4bpp_indexed
Specifies that the format is 4 bits per pixel, indexed.
@ format_16bpp_rgb565
Specifies that the format is 16 bits per pixel; 5 bits are used for the red component,...
@ gdi
The pixel data contains GDI colors.
@ indexed
The pixel data contains color-indexed values, which means the values are an index to colors in the sy...
@ palpha
The pixel format contains premultiplied alpha values.
@ canonical
The default pixel format of 32 bits per pixel. The format specifies 24-bit color depth and an 8-bit a...
@ format_32bpp_rgb
Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green,...
@ format_24bpp_rgb
Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green,...
@ format_32bpp_pargb
Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha,...
@ dont_care
No pixel format is specified.
@ format_16bpp_gray_scale
The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.
@ format_1bpp_indexed
Specifies that the pixel format is 1 bit per pixel and that it uses indexed color....
@ format_16bpp_rgb555
Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green,...
@ format_64bpp_pargb
Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha,...
The xtd.drawing.imaging namespace provides advanced GDI+ imaging functionality. Basic graphics functi...
Definition bitmap_data.hpp:15
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38