wxBitmap
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxBitmap.
DATA TYPES
EXPORTS
new(X::string() | term()) -> wxBitmap()
See external documentation.
Alternatives:
new(Filename::string()) -> new(Filename, [])
new(Image::wxImage:wxImage()) -> new(Image, [])
new(X::integer() | string() | term(), X::integer() | term()) -> wxBitmap()
See external documentation.
Alternatives:
new(Width::integer(), Height::integer()) -> new(Width,Height, [])
new(Filename::string(), [Option]) -> wxBitmap()
Option = {type, WxBitmapType}
WxBitmapType = integer()
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
new(Image::wxImage:wxImage(), [Option]) -> wxBitmap()
Option = {depth, integer()}
new(X::binary() | integer(), X::integer(), X::integer() | term()) -> wxBitmap()
See external documentation.
Alternatives:
new(Bits::binary(), Width::integer(), Height::integer()) -> new(Bits,Width,Height, [])
new(Width::integer(), Height::integer(), [Option]) -> wxBitmap()
Option = {depth, integer()}
new(Bits::binary(), Width::integer(), Height::integer(), Options::[Option]) -> wxBitmap()
Types:
convertToImage(This::wxBitmap()) -> wxImage() (see module wxImage)
copyFromIcon(This::wxBitmap(), Icon::wxIcon() (see module wxIcon)) -> bool()
create(This::wxBitmap(), Width::integer(), Height::integer()) -> bool()
Equivalent to create(This, Width, Height, []).
create(This::wxBitmap(), Width::integer(), Height::integer(), Options::[Option]) -> bool()
Types:
getDepth(This::wxBitmap()) -> integer()
getHeight(This::wxBitmap()) -> integer()
getPalette(This::wxBitmap()) -> wxPalette() (see module wxPalette)
getMask(This::wxBitmap()) -> wxMask() (see module wxMask)
getWidth(This::wxBitmap()) -> integer()
loadFile(This::wxBitmap(), Name::string()) -> bool()
Equivalent to loadFile(This, Name, []).
loadFile(This::wxBitmap(), Name::string(), Options::[Option]) -> bool()
Types:
See external documentation.
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
ok(This::wxBitmap()) -> bool()
saveFile(This::wxBitmap(), Name::string(), Type::WxBitmapType) -> bool()
Equivalent to saveFile(This, Name, Type, []).
saveFile(This::wxBitmap(), Name::string(), Type::WxBitmapType, Options::[Option]) -> bool()
Types:
See external documentation.
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
setDepth(This::wxBitmap(), Depth::integer()) -> ok
setHeight(This::wxBitmap(), Height::integer()) -> ok
setMask(This::wxBitmap(), Mask::wxMask() (see module wxMask)) -> ok
setPalette(This::wxBitmap(), Palette::wxPalette() (see module wxPalette)) -> ok