xtd 0.2.0
encoder.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/guid>
6#include <xtd/iequatable>
7#include <xtd/object>
8
10namespace xtd {
12 namespace drawing {
15 namespace imaging {
37 class encoder final : public object, public xtd::iequatable<encoder> {
38 public:
40
44 explicit encoder(const xtd::guid& guid);
46
48 encoder() = default;
49 encoder(encoder&&) = default;
50 encoder(const encoder&) = default;
51 encoder& operator =(encoder&&) = default;
52 encoder& operator =(const encoder&) = default;
54
56
72 static encoder chrominance_table() noexcept;
73
88 static encoder color_depth() noexcept;
89
104 static encoder compression() noexcept;
105
120 static encoder luminance_table() noexcept;
121
136 static encoder quality() noexcept;
137
152 static encoder render_method() noexcept;
153
168 static encoder save_flag() noexcept;
169
184 static encoder scan_method() noexcept;
185
200 static encoder transformation() noexcept;
201
216 static encoder version() noexcept;
218
220
224 const xtd::guid& guid() const noexcept;
226
228
233 bool equals(const object& obj) const noexcept override;
237 bool equals(const encoder& other) const noexcept override;
238
241 xtd::size get_hash_code() const noexcept override;
243
244 private:
245 xtd::guid guid_;
246 };
247 }
248 }
249}
static encoder version() noexcept
An Encoder object that is initialized with the globally unique identifier for the version category.
static encoder render_method() noexcept
An Encoder object that is initialized with the globally unique identifier for the renderer method cat...
static encoder color_depth() noexcept
An Encoder object that is initialized with the globally unique identifier for the color depth paramet...
bool equals(const object &obj) const noexcept override
Determines whether the specified object is equal to the current object.
static encoder transformation() noexcept
An Encoder object that is initialized with the globally unique identifier for the transformation cate...
static encoder quality() noexcept
An Encoder object that is initialized with the globally unique identifier for the quality parameter c...
static encoder chrominance_table() noexcept
An Encoder object that is initialized with the globally unique identifier for the chrominance table p...
static encoder compression() noexcept
An Encoder object that is initialized with the globally unique identifier for the compression paramet...
static encoder luminance_table() noexcept
An Encoder object that is initialized with the globally unique identifier for the luminance table par...
encoder(const xtd::guid &guid)
Initializes a new instance of the xtd::drawing::imaging::encoder class from the specified globally un...
const xtd::guid & guid() const noexcept
Gets a globally unique identifier (GUID) that identifies an image encoder parameter category.
static encoder save_flag() noexcept
An Encoder object that is initialized with the globally unique identifier for the save flag category.
static encoder scan_method() noexcept
An Encoder object that is initialized with the globally unique identifier for the scan method categor...
xtd::size get_hash_code() const noexcept override
Serves as a hash function for a particular type.
Represents a globally unique identifier (GUID). A GUID is a 128-bit integer (16 bytes) that can be us...
Definition guid.hpp:24
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
object()=default
Create a new instance of the ultimate base class object.
@ other
The operating system is other.
Definition platform_id.hpp:58
The xtd::drawing::imaging namespace provides advanced GDI+ imaging functionality. Basic graphics func...
Definition bitmap_data.hpp:15
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31