xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd.drawing
include
xtd
drawing
texture_brush.h
Go to the documentation of this file.
1
#pragma once
5
#include "../drawing_export.h"
6
#include "
brush.h
"
7
#include "
image.h
"
8
10
namespace
xtd
{
12
namespace
drawing {
22
class
drawing_export_
texture_brush
final :
public
brush
{
23
public
:
24
texture_brush
();
25
texture_brush
(
const
drawing::image
&
image
) {this->image(
image
);}
26
28
texture_brush
(
const
texture_brush
& value);
29
texture_brush
& operator=(
const
texture_brush
& value);
30
bool
operator==(
const
texture_brush
& value)
const
{
return
data_->image_ == value.data_->image_;}
31
bool
operator!=(
const
texture_brush
& value)
const
{
return
!operator==(value);}
33
34
const
drawing::image
&
image
()
const
{
return
data_->image_;}
35
texture_brush
&
image
(
const
drawing::image
&
image
);
36
37
private
:
38
struct
data {
39
drawing::image
image_;
40
};
41
std::shared_ptr<data> data_ = std::make_shared<data>();
42
};
43
}
44
}
brush.h
Contains xtd::drawing::brush class.
xtd::drawing::brush
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition:
brush.h:27
xtd::drawing::image
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition:
image.h:34
xtd::drawing::texture_brush
Each property of the xtd::drawing::texture_brush class is a xtd::drawing::brush object that uses an i...
Definition:
texture_brush.h:22
drawing_export_
#define drawing_export_
Define shared library export.
Definition:
drawing_export.h:13
image.h
Contains xtd::drawing::image class.
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
Generated on Mon Jul 17 2023 23:13:05 for xtd - Reference Guide by
Gammasoft
. All rights reserved.