5#include "../drawing_export.h"
7#include <xtd/iequatable>
69 explicit icon(std::istream& stream);
87 explicit icon(
const char*
const* bits);
142 using
object::equals;
143 bool equals(const
icon&
icon) const noexcept override;
147 void save(const
xtd::
string& filename) const;
150 void save(std::ostream& stream) const;
159 xtd::
string to_string() const noexcept override;
Contains xtd::drawing::bitmap class.
Represents text as a sequence of character units.
Definition basic_string.h:79
Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes....
Definition bitmap.h:26
Represents a Windows icon, which is a small bitmap image that is used to represent an object....
Definition icon.h:28
icon(const icon &original, int32 width, int32 height)
Initializes a new instance of the xtd::drawing::icon class and attempts to find a version of the icon...
icon(const xtd::string &filename, int32 width, int32 height)
Initializes a new instance of the xtd::drawing::icon class with the specified width and height from t...
icon(const char *const *bits)
Initializes a new instance of the xtd::drawing::icon class from the specified data.
icon(const char *const *bits, const xtd::drawing::size &size)
Initializes a new instance of the xtd::drawing::icon class of the specified size from the specified d...
icon(const icon &original, const xtd::drawing::size &size)
Initializes a new instance of the xtd::drawing::icon class and attempts to find a version of the icon...
icon(std::istream &stream, const xtd::drawing::size &size)
Initializes a new instance of the xtd::drawing::icon class of the specified size from the specified s...
icon(const char *const *bits, int32 width, int32 height)
Initializes a new instance of the xtd::drawing::icon class from the specified data and with the speci...
intptr handle() const noexcept
Gets the handle of this icon. This is not a copy of the handle; do not free it.
icon(const xtd::string &filename, const xtd::drawing::size &size)
Initializes a new instance of the xtd::drawing::icon class of the specified size from the specified f...
icon(std::istream &stream, int32 width, int32 height)
Initializes a new instance of the xtd::drawing::icon class from the specified data stream and with th...
icon(std::istream &stream)
Initializes a new instance of the xtd::drawing::icon class from the specified data stream.
icon(const xtd::string &filename)
Initializes a new instance of the xtd::drawing::icon class from the specified file name.
Stores an ordered pair of integers, which specify a height and width.
Definition size.h:31
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.h:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10