xtd 0.2.0
Loading...
Searching...
No Matches
image_flags.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
59};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
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
image_flags
Specifies the attributes of the pixel data contained in an xtd::drawing::image object....
Definition image_flags.h: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.h:15
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:36