9#include "../drawing_export.h"
29 explicit icon(std::istream& stream);
31 explicit icon(
const char*
const* bits);
38 bool operator==(
const icon&
icon)
const {
return data_->handle_ ==
icon.data_->handle_;}
39 bool operator!=(
const icon&
icon)
const {
return !operator==(
icon);}
44 intptr_t
handle()
const {
return data_->handle_;}
49 void save(std::ostream& stream)
const;
61 std::shared_ptr<data> data_ = std::make_shared<data>();
Contains xtd::drawing::bitmap class.
Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes....
Definition bitmap.h:19
Represents a Windows icon, which is a small bitmap image that is used to represent an object....
Definition icon.h:22
intptr_t handle() const
Get the handle of this image.
Definition icon.h:44
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:26
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:48
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::object class.
Contains xtd::ustring class.