xtd 0.2.0
Loading...
Searching...
No Matches
graphics_state.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../drawing_export.h"
6#include <xtd/iequatable>
7#include <xtd/object>
8
10namespace xtd {
12 namespace drawing {
14 class graphics;
16
18 namespace drawing_2d {
30 class drawing_export_ graphics_state final : public xtd::object, public xtd::iequatable<graphics_state> {
31 public:
33 graphics_state(const graphics_state& value) = default;
34 graphics_state& operator =(const graphics_state& value) = default;
36
38
40 bool equals(const graphics_state& value) const noexcept override;
42
43
44 private:
46 explicit graphics_state(intptr handle) : handle_(handle) {}
47 mutable intptr handle_ = 0;
48 };
49 }
50 }
51}
52
Represents the state of a xtd::drawing::graphics object. This object is returned by a call to the xtd...
Definition graphics_state.h:30
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.h:70
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:18
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
intmax_t intptr
Represent a pointer or a handle.
Definition types.h:153
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10