xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.drawing
include
xtd
drawing
drawing_2d
compositing_mode.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
drawing
{
12
namespace
drawing_2d
{
19
enum class
compositing_mode
{
21
source_over
= 0,
23
source_copy
= 1,
24
};
25
}
26
}
27
}
28
30
template
<>
struct
xtd::enum_register
<
xtd
::
drawing::drawing_2d::compositing_mode
> {
31
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::drawing::drawing_2d::compositing_mode>
{{
xtd::drawing::drawing_2d::compositing_mode::source_over
,
"source_over"
}, {
xtd::drawing::drawing_2d::compositing_mode::source_copy
,
"source_copy"
}};}
32
};
xtd::enum_collection
std::vector< std::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:24
xtd::drawing::drawing_2d::compositing_mode
compositing_mode
Specifies how the source colors are combined with the background colors.
Definition
compositing_mode.hpp:19
xtd::drawing::drawing_2d::compositing_mode::source_over
@ source_over
Specifies that when a color is rendered, it is blended with the background color. The blend is determ...
Definition
compositing_mode.hpp:21
xtd::drawing::drawing_2d::compositing_mode::source_copy
@ source_copy
Specifies that when a color is rendered, it overwrites the background color.
Definition
compositing_mode.hpp:23
xtd::drawing::drawing_2d
The xtd::drawing::drawing_2d namespace provides advanced two-dimensional and vector graphics function...
Definition
compositing_mode.hpp:12
xtd::drawing
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition
actions_system_images.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.