wxBitmap(3erl) | Erlang Module Definition | wxBitmap(3erl) |
wxBitmap - See external documentation: wxBitmap.
See external documentation: wxBitmap.
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.
new() -> wxBitmap()
See external documentation.
new(Filename) -> wxBitmap()
new(Image) -> wxBitmap()
Types:
See external documentation.
Also:
new(Image) -> wxBitmap() when
Image::wxImage:wxImage().
Type = ?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(Width, Height) -> wxBitmap()
new(Filename, Height::[Option]) -> wxBitmap()
new(Image, Height::[Option]) -> wxBitmap()
Types:
See external documentation.
Also:
new(Filename, [Option]) -> wxBitmap() when
Filename::unicode:chardata(),
Option :: {'type', wx:wx_enum()};
(Image, [Option]) -> wxBitmap() when
Image::wxImage:wxImage(),
Option :: {'depth', integer()}.
Type = ?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(Bits, Width, Height) -> wxBitmap()
new(Width, Height, Height::[Option]) -> wxBitmap()
Types:
See external documentation.
Also:
new(Width, Height, [Option]) -> wxBitmap() when
Width::integer(), Height::integer(),
Option :: {'depth', integer()}.
new(Bits, Width, Height, Options::[Option]) ->
wxBitmap()
Types:
See external documentation.
convertToImage(This) -> wxImage:wxImage()
Types:
See external documentation.
copyFromIcon(This, Icon) -> boolean()
Types:
See external documentation.
create(This, Width, Height) -> boolean()
Types:
Equivalent to create(This, Width, Height, []).
create(This, Width, Height, Options::[Option]) ->
boolean()
Types:
See external documentation.
getDepth(This) -> integer()
Types:
See external documentation.
getHeight(This) -> integer()
Types:
See external documentation.
getPalette(This) -> wxPalette:wxPalette()
Types:
See external documentation.
getMask(This) -> wxMask:wxMask()
Types:
See external documentation.
getWidth(This) -> integer()
Types:
See external documentation.
getSubBitmap(This, Rect) -> wxBitmap()
Types:
See external documentation.
loadFile(This, Name) -> boolean()
Types:
Equivalent to loadFile(This, Name, []).
loadFile(This, Name, Options::[Option]) -> boolean()
Types:
See external documentation.
Type = ?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) -> boolean()
Types:
See external documentation.
saveFile(This, Name, Type) -> boolean()
Types:
Equivalent to saveFile(This, Name, Type, []).
saveFile(This, Name, Type, Options::[Option]) ->
boolean()
Types:
See external documentation.
Type = ?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, Depth) -> ok
Types:
See external documentation.
setHeight(This, Height) -> ok
Types:
See external documentation.
setMask(This, Mask) -> ok
Types:
See external documentation.
setPalette(This, Palette) -> ok
Types:
See external documentation.
setWidth(This, Width) -> ok
Types:
See external documentation.
destroy(This::wxBitmap()) -> ok
Destroys this object, do not use object again
<>
wx 1.9.2 |