xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.drawing
include
xtd
drawing
texture_brush.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../drawing_export.hpp
"
6
#include "
brush.hpp
"
7
#include "
image.hpp
"
8
#include <xtd/iequatable>
9
11
namespace
xtd
{
13
namespace
drawing
{
29
class
drawing_export_
texture_brush
final :
public
brush
{
30
struct
data
;
31
32
public
:
34
38
explicit
texture_brush
(
const
drawing::image
&
image
);
40
42
texture_brush
(
texture_brush
&& value) =
default
;
43
texture_brush
(
const
texture_brush
& value);
44
texture_brush
& operator =(
texture_brush
&& value) =
default
;
45
texture_brush
& operator =(
const
texture_brush
& value);
47
49
53
[[nodiscard]]
auto
image
() const noexcept -> const
drawing
::
image
&;
56
auto
image
(const
drawing
::
image
&
image
) ->
texture_brush
&;
58
59
private:
60
texture_brush
();
61
62
xtd
::
sptr
<
data
> data_;
63
};
64
}
65
}
brush.hpp
Contains xtd::drawing::brush class.
xtd::drawing::brush::brush
brush()
Initialize a new instance of brush class.
xtd::drawing::image
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition
image.hpp:49
xtd::drawing::texture_brush::texture_brush
texture_brush(const drawing::image &image)
Initializes a new xtd::drawing::texture_brush object that uses the specified image.
xtd::drawing::texture_brush::image
auto image() const noexcept -> const drawing::image &
Gets the xtd::drawing::image object associated with this xtd::drawing::texture_brush object.
drawing_export.hpp
Contains drawing_export_ keyword.
drawing_export_
#define drawing_export_
Define shared library export.
Definition
drawing_export.hpp:13
xtd::sptr
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition
sptr.hpp:25
image.hpp
Contains xtd::drawing::image class.
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::data
constexpr auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition
read_only_span.hpp:197
Generated on
for xtd by
Gammasoft
. All rights reserved.