CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
image_flags.h
1
2#pragma once
3
4#include "system/enum_helpers.h"
5
6namespace System { namespace Drawing { namespace Imaging {
8enum class ImageFlags
9{
10 None = 0,
12 Scalable = 1,
14 HasAlpha = 2,
19 ColorSpaceRgb = 16,
21 ColorSpaceCmyk = 32,
23 ColorSpaceGray = 64,
25 ColorSpaceYcbcr = 128,
27 ColorSpaceYcck = 256,
29 HasRealDpi = 4096,
31 HasRealPixelSize = 8192,
33 ReadOnly = 65536,
35 Caching = 131072,
36};
37
40DECLARE_ENUM_OPERATORS(System::Drawing::Imaging::ImageFlags);
42DECLARE_USING_GLOBAL_OPERATORS
44}}}
45
47DECLARE_USING_ENUM_OPERATORS(System::Drawing::Imaging);
Definition: bitmap.h:56
ImageFlags
Represents attributes of the pixel data represented by an Image object.
Definition: image_flags.h:9
@ Caching
Can be cached for faster access.
@ ColorSpaceCmyk
The pixel data is represented in CMYK color space.
@ ReadOnly
The pixel data is read-only.
@ ColorSpaceRgb
The pixel data is represented in RGB color space.
@ HasAlpha
Contains alpha information.
@ HasTranslucent
There are alpha values greater than 0 and less than 255.
@ ColorSpaceYcck
The pixel data is represented in YCCK color space.
@ HasRealPixelSize
The size of a pixel is stored in the image.
@ ColorSpaceGray
The pixel data is grayscale.
@ HasRealDpi
The DPI information is stored in the image.
@ ColorSpaceYcbcr
The pixel data is represented in YCBCR color space.
Definition: db_command.h:9