58 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::imaging::image_flags> {{
xtd::drawing::imaging::image_flags::none,
"none"}, {
xtd::drawing::imaging::image_flags::scalable,
"scalable"}, {
xtd::drawing::imaging::image_flags::has_alpha,
"has_alpha"}, {
xtd::drawing::imaging::image_flags::has_translucent,
"has_translucent"}, {
xtd::drawing::imaging::image_flags::partially_scalable,
"partially_scalable"}, {
xtd::drawing::imaging::image_flags::color_space_rgb,
"color_space_rgb"}, {
xtd::drawing::imaging::image_flags::color_space_cmyk,
"color_space_cmyk"}, {
xtd::drawing::imaging::image_flags::color_space_gray,
"color_space_gray"}, {
xtd::drawing::imaging::image_flags::color_space_ycbcr,
"color_space_ycbcr"}, {
xtd::drawing::imaging::image_flags::color_space_ycck,
"color_space_ycck"}, {
xtd::drawing::imaging::image_flags::has_real_dpi,
"has_real_dpi"}, {
xtd::drawing::imaging::image_flags::has_real_pixel_size,
"has_real_pixel_size"}, {
xtd::drawing::imaging::image_flags::read_only,
"read_only"}, {
xtd::drawing::imaging::image_flags::caching,
"caching"}};}
#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
image_flags
Specifies the attributes of the pixel data contained in an xtd::drawing::image object....
Definition image_flags.hpp:20
@ has_alpha
The pixel data contains alpha information.
@ none
There is no format information.
@ color_space_gray
The pixel data is grayscale.
@ caching
The pixel data can be cached for faster access.
@ color_space_rgb
The pixel data uses an RGB color space.
@ color_space_ycck
Specifies that the image is stored using a YCCK color space.
@ partially_scalable
The pixel data is partially scalable, but there are some limitations.
@ scalable
The pixel data is scalable.
@ read_only
The pixel data is read-only.
@ has_translucent
Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque).
@ color_space_cmyk
The pixel data uses a CMYK color space.
@ color_space_ycbcr
Specifies that the image is stored using a YCBCR color space.
@ has_real_dpi
Specifies that dots per inch information is stored in the image.
@ has_real_pixel_size
Specifies that the pixel size is stored in the image.
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