xtd 0.2.0
image_flags.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace drawing {
13  namespace imaging {
20  enum class image_flags {
22  none = 0,
24  scalable = 0b1,
26  has_alpha = 0b10,
28  has_translucent = 0b100,
30  partially_scalable = 0b1000,
32  color_space_rgb = 0b10000,
34  color_space_cmyk = 0b100000,
36  color_space_gray = 0b1000000,
38  color_space_ycbcr = 0b10000000,
40  color_space_ycck = 0b100000000,
42  has_real_dpi = 0b1000000000000,
44  has_real_pixel_size = 0b10000000000000,
46  read_only = 0b10000000000000000,
48  caching = 0b100000000000000000,
49  };
50  }
51  }
52 }
53 
56 
57 template<> struct xtd::enum_register<xtd::drawing::imaging::image_flags> {
59 };
Specifies that dots per inch information is stored in the image.
image_flags
Specifies the attributes of the pixel data contained in an xtd::drawing::image object. The xtd::drawing:iImage::flags property returns a member of this enumeration.
Definition: image_flags.h:20
The pixel data can be cached for faster access.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque)...
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
The pixel data uses an RGB color space.
The pixel data uses a CMYK color space.
Specifies that the image is stored using a YCBCR color space.
The xtd.drawing.imaging namespace provides advanced GDI+ imaging functionality. Basic graphics functi...
Definition: bitmap_data.h:15
There is no format information.
The pixel data contains alpha information.
Specifies that the pixel size is stored in the image.
Specifies that the image is stored using a YCCK color space.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
The pixel data is partially scalable, but there are some limitations.
Provides the registration struct for enumerations.
Definition: enum_register.h:36