Icon

Undocumented in source.

Constructors

this
this(HICON hi, bool owned)
Undocumented in source.
this
this(Dstring fileName)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

_imgtype
int _imgtype(HGDIOBJ* ph)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Graphics g, Point pt)
Undocumented in source. Be warned that the author may not have intended to support it.
drawStretched
void drawStretched(Graphics g, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
toBitmap
Bitmap toBitmap()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

handle
HICON handle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromHandle
deprecated Icon fromHandle(HICON hi)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Image

fromHBitmap
Bitmap fromHBitmap(HBITMAP hbm)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Graphics g, Point pt)
Undocumented in source.
drawStretched
void drawStretched(Graphics g, Rect r)
Undocumented in source.
size
Size size [@property getter]
Undocumented in source.
width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_imgtype
int _imgtype(HGDIOBJ* ph)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta