xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.drawing
include
xtd
drawing
imaging
frame_dimension.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/guid>
6
#include <xtd/iequatable>
7
9
namespace
xtd
{
11
namespace
drawing
{
14
namespace
imaging
{
21
class
frame_dimension
final :
public
object
,
public
xtd::iequatable
<frame_dimension> {
22
public
:
24
28
explicit
frame_dimension
(
const
xtd::guid
&
guid
)
noexcept
;
30
32
frame_dimension
(
const
frame_dimension
&) =
default
;
33
frame_dimension
& operator =(
const
frame_dimension
&) =
default
;
35
37
41
[[nodiscard]]
auto
guid
() const noexcept -> const
xtd
::
guid
&;
43
45
49
[[nodiscard]] static auto
page
() noexcept ->
frame_dimension
;
50
53
[[nodiscard]] static auto
resolution
() noexcept ->
frame_dimension
;
54
57
[[nodiscard]] static auto
time
() noexcept ->
frame_dimension
;
59
61
66
[[nodiscard]] auto
equals
(const
object
& obj) const noexcept ->
bool
override;
70
[[nodiscard]] auto
equals
(const
frame_dimension
&
other
) const noexcept ->
bool
override;
71
74
[[nodiscard]] auto
get_hash_code
() const noexcept ->
xtd
::
usize
override;
76
77
private:
78
xtd
::
guid
guid_;
79
};
80
}
81
}
82
}
xtd::drawing::imaging::frame_dimension::guid
auto guid() const noexcept -> const xtd::guid &
Gets a globally unique identifier (GUID) that represents this frame_dimension object.
xtd::drawing::imaging::frame_dimension::get_hash_code
auto get_hash_code() const noexcept -> xtd::usize override
Serves as a hash function for a particular type.
xtd::drawing::imaging::frame_dimension::frame_dimension
frame_dimension(const xtd::guid &guid) noexcept
Initializes a new instance of the FrameDimension class using the specified Guid structure.
xtd::drawing::imaging::frame_dimension::resolution
static auto resolution() noexcept -> frame_dimension
Gets the resolution dimension.
xtd::drawing::imaging::frame_dimension::equals
auto equals(const object &obj) const noexcept -> bool override
Determines whether the specified object is equal to the current object.
xtd::drawing::imaging::frame_dimension::time
static auto time() noexcept -> frame_dimension
Gets the time dimension.
xtd::drawing::imaging::frame_dimension::page
static auto page() noexcept -> frame_dimension
Gets the page dimension.
xtd::guid
Represents a globally unique identifier (GUID). A GUID is a 128-bit integer (16 bytes) that can be us...
Definition
guid.hpp:23
xtd::iequatable
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition
iequatable.hpp:23
xtd::object::object
object()=default
Create a new instance of the ultimate base class object.
xtd::usize
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition
usize.hpp:22
xtd::platform_id::other
@ other
The operating system is other.
Definition
platform_id.hpp:60
xtd::drawing::imaging
The xtd::drawing::imaging namespace provides advanced GDI+ imaging functionality. Basic graphics func...
Definition
bitmap_data.hpp:15
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
Generated on
for xtd by
Gammasoft
. All rights reserved.