Represents a Windows icon, which is a small bitmap image that is used to represent an object. Icons can be thought of as transparent bitmaps, although their size is determined by the system.
Represents a Windows icon, which is a small bitmap image that is used to represent an object....
Definition icon.h:28
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
- Inheritance
- xtd::object → xtd::drawing::icon
- Namespace
- xtd::drawing
- Library
- xtd.drawing
- Examples
- minesweeper.cpp, and stopwatch_form.cpp.
|
static icon | from_handle (intptr handle) |
| Creates a GDI+ xtd::drawing::icon from the specified Windows handle to an icon (HICON).
|
|
template<typename object_a_t , typename object_b_t > |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|
|
| icon (const xtd::string &filename) |
| Initializes a new instance of the xtd::drawing::icon class from the specified file name.
|
|
| 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 file.
|
|
| 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 the specified file.
|
|
| icon (std::istream &stream) |
| Initializes a new instance of the xtd::drawing::icon class from the specified data stream.
|
|
| 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 stream.
|
|
| 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 the specified width and height.
|
|
| 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 data.
|
|
| 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 specified width and height.
|
|
| 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 that matches the requested size.
|
|
| 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 that matches the requested size.
|
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type.
|
|
virtual type_object | get_type () const noexcept |
| Gets the type of the current instance.
|
|
template<typename object_t > |
xtd::uptr< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object.
|
|
virtual bool | equals (const icon &) const noexcept=0 |
| Indicates wheth er the current object is equal to another object of the same type.
|
|