xtd 0.2.0
Loading...
Searching...
No Matches
graphics_state.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../drawing_export.hpp"
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 using object::equals;
41 bool equals(const graphics_state& value) const noexcept override;
43
44
45 private:
47 explicit graphics_state(intptr handle) : handle_(handle) {}
48 mutable intptr handle_ = 0;
49 };
50 }
51 }
52}
53
Represents the state of a xtd::drawing::graphics object. This object is returned by a call to the xtd...
Definition graphics_state.hpp:30
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:70
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10