5 #include "../drawing_export.h" 7 #include <xtd/iequatable> 69 explicit icon(std::istream& stream);
87 explicit icon(
const char*
const* bits);
115 icon& operator =(
const icon& icon) =
default;
124 intptr handle()
const noexcept;
128 int32 height()
const noexcept;
136 int32 width()
const noexcept;
142 bool equals(
const icon& icon)
const noexcept
override;
148 static icon from_handle(
intptr handle);
160 void save(std::ostream& stream)
const;
173 explicit icon(
const bitmap& bitmap);
175 std::shared_ptr<data> data_;
intmax_t intptr
Represent a pointer or a handle.
Definition: types.h:151
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063
Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes...
Definition: bitmap.h:26
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition: iequatable.h:18
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
Contains xtd::drawing::bitmap class.
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
Represents a Windows icon, which is a small bitmap image that is used to represent an object...
Definition: icon.h:28
size_t size
Represents a size of any object in bytes.
Definition: types.h:195