wxImage
See external documentation: wxImage.
See external documentation:
All (default) image handlers are initialized.
Functions
new() -> wxImage()
See
new(Width, Height) -> wxImage()
Width = integer()
Height = integer()
See
Also:
new(Name, [Option]) -> wxImage() when
Name::unicode:chardata(),
Option :: {type, integer()}
| {index, integer()}.
new(Width, Height, Data) -> wxImage()
Width = integer()
Height = integer()
Data = binary()
See
Also:
new(Width, Height, [Option]) -> wxImage() when
Width::integer(), Height::integer(),
Option :: {clear, boolean()};
(Name, Mimetype, [Option]) -> wxImage() when
Name::unicode:chardata(), Mimetype::unicode:chardata(),
Option :: {index, integer()}.
new(Width, Height, Data, Alpha) -> wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
See
Also:
new(Width, Height, Data, [Option]) -> wxImage() when
Width::integer(), Height::integer(), Data::binary(),
Option :: {static_data, boolean()}.
new(Width, Height, Data, Alpha, Option::[Option]) -> wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Option = {static_data, boolean()}
See
blur(This, Radius) -> wxImage()
This = wxImage()
Radius = integer()
See
blurHorizontal(This, Radius) -> wxImage()
This = wxImage()
Radius = integer()
See
blurVertical(This, Radius) -> wxImage()
This = wxImage()
Radius = integer()
See
convertAlphaToMask(This, Option::[Option]) -> boolean()
This = wxImage()
Option = {threshold, integer()}
See
convertToGreyscale(This, Option::[Option]) -> wxImage()
This = wxImage()
Option = {lr, number()} | {lg, number()} | {lb, number()}
See
convertToMono(This, R, G, B) -> wxImage()
This = wxImage()
R = integer()
G = integer()
B = integer()
See
copy(This) -> wxImage()
This = wxImage()
See
create(This, Width, Height) -> boolean()
This = wxImage()
Width = integer()
Height = integer()
Equivalent to create(This, Width, Height, []).
create(This, Width, Height, Data) -> boolean()
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
See
Also:
create(This, Width, Height, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(),
Option :: {clear, boolean()}.
create(This, Width, Height, Data, Alpha) -> boolean()
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
See
Also:
create(This, Width, Height, Data, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(), Data::binary(),
Option :: {static_data, boolean()}.
create(This, Width, Height, Data, Alpha, Option::[Option]) -> boolean()
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Option = {static_data, boolean()}
See
Destroy(This) -> ok
This = wxImage()
See
findFirstUnusedColour(This) -> Result
Result = {Res::boolean(), R::integer(), G::integer(), B::integer()}
This = wxImage()
Equivalent to findFirstUnusedColour(This, []).
findFirstUnusedColour(This, Option::[Option]) -> Result
Result = {Res::boolean(), R::integer(), G::integer(), B::integer()}
This = wxImage()
Option = {startR, integer()} | {startG, integer()} | {startB, integer()}
See
getImageExtWildcard() -> charlist() (see module unicode)
See
getAlpha(This) -> binary()
This = wxImage()
See
getAlpha(This, X, Y) -> integer()
This = wxImage()
X = integer()
Y = integer()
See
getBlue(This, X, Y) -> integer()
This = wxImage()
X = integer()
Y = integer()
See
getData(This) -> binary()
This = wxImage()
See
getGreen(This, X, Y) -> integer()
This = wxImage()
X = integer()
Y = integer()
See
getImageCount(Name) -> integer()
Name = chardata() (see module unicode)
Equivalent to getImageCount(Name, []).
getImageCount(Name, Option::[Option]) -> integer()
Name = chardata() (see module unicode)
Option = {type, wx_enum() (see module wx)}
See
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
getHeight(This) -> integer()
This = wxImage()
See
getMaskBlue(This) -> integer()
This = wxImage()
See
getMaskGreen(This) -> integer()
This = wxImage()
See
getMaskRed(This) -> integer()
This = wxImage()
See
getOrFindMaskColour(This) -> Result
Result = {Res::boolean(), R::integer(), G::integer(), B::integer()}
This = wxImage()
See
getPalette(This) -> wxPalette() (see module wxPalette)
This = wxImage()
See
getRed(This, X, Y) -> integer()
This = wxImage()
X = integer()
Y = integer()
See
getSubImage(This, Rect) -> wxImage()
This = wxImage()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
See
getWidth(This) -> integer()
This = wxImage()
See
hasAlpha(This) -> boolean()
This = wxImage()
See
hasMask(This) -> boolean()
This = wxImage()
See
getOption(This, Name) -> charlist() (see module unicode)
This = wxImage()
Name = chardata() (see module unicode)
See
getOptionInt(This, Name) -> integer()
This = wxImage()
Name = chardata() (see module unicode)
See
hasOption(This, Name) -> boolean()
This = wxImage()
Name = chardata() (see module unicode)
See
initAlpha(This) -> ok
This = wxImage()
See
initStandardHandlers() -> ok
See
isTransparent(This, X, Y) -> boolean()
This = wxImage()
X = integer()
Y = integer()
Equivalent to isTransparent(This, X, Y, []).
isTransparent(This, X, Y, Option::[Option]) -> boolean()
This = wxImage()
X = integer()
Y = integer()
Option = {threshold, integer()}
See
loadFile(This, Name) -> boolean()
This = wxImage()
Name = chardata() (see module unicode)
Equivalent to loadFile(This, Name, []).
loadFile(This, Name, Option::[Option]) -> boolean()
This = wxImage()
Name = chardata() (see module unicode)
Option = {type, integer()} | {index, integer()}
See
loadFile(This, Name, Mimetype, Option::[Option]) -> boolean()
This = wxImage()
Name = chardata() (see module unicode)
Mimetype = chardata() (see module unicode)
Option = {index, integer()}
See
ok(This) -> boolean()
This = wxImage()
See
removeHandler(Name) -> boolean()
Name = chardata() (see module unicode)
See
mirror(This, Option::[Option]) -> wxImage()
This = wxImage()
Option = {horizontally, boolean()}
See
replace(This, R1, G1, B1, R2, G2, B2) -> ok
This = wxImage()
R1 = integer()
G1 = integer()
B1 = integer()
R2 = integer()
G2 = integer()
B2 = integer()
See
rescale(This, Width, Height) -> wxImage()
This = wxImage()
Width = integer()
Height = integer()
Equivalent to rescale(This, Width, Height, []).
rescale(This, Width, Height, Option::[Option]) -> wxImage()
This = wxImage()
Width = integer()
Height = integer()
Option = {quality, wx_enum() (see module wx)}
See
Quality = integer
resize(This, Size, Pos) -> wxImage()
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Equivalent to resize(This, Size, Pos, []).
resize(This, Size, Pos, Option::[Option]) -> wxImage()
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Option = {r, integer()} | {g, integer()} | {b, integer()}
See
rotate(This, Angle, Centre_of_rotation) -> wxImage()
This = wxImage()
Angle = number()
Centre_of_rotation = {X::integer(), Y::integer()}
Equivalent to rotate(This, Angle, Centre_of_rotation, []).
rotate(This, Angle, Centre_of_rotation, Option::[Option]) -> wxImage()
This = wxImage()
Angle = number()
Centre_of_rotation = {X::integer(), Y::integer()}
Option = {interpolating, boolean()} | {offset_after_rotation, {X::integer(), Y::integer()}}
See
rotateHue(This, Angle) -> ok
This = wxImage()
Angle = number()
See
rotate90(This, Option::[Option]) -> wxImage()
This = wxImage()
Option = {clockwise, boolean()}
See
saveFile(This, Name) -> boolean()
This = wxImage()
Name = chardata() (see module unicode)
See
saveFile(This, Name, Type) -> boolean()
This = wxImage()
Name = chardata() (see module unicode)
Type = integer()
See
Also:
saveFile(This, Name, Mimetype) -> boolean() when
This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata().
scale(This, Width, Height) -> wxImage()
This = wxImage()
Width = integer()
Height = integer()
Equivalent to scale(This, Width, Height, []).
scale(This, Width, Height, Option::[Option]) -> wxImage()
This = wxImage()
Width = integer()
Height = integer()
Option = {quality, wx_enum() (see module wx)}
See
Quality = integer
size(This, Size, Pos) -> wxImage()
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Equivalent to size(This, Size, Pos, []).
size(This, Size, Pos, Option::[Option]) -> wxImage()
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Option = {r, integer()} | {g, integer()} | {b, integer()}
See
setAlpha(This, Alpha) -> ok
This = wxImage()
Alpha = binary()
Equivalent to setAlpha(This, Alpha, []).
setAlpha(This, Alpha, Option::[Option]) -> ok
This = wxImage()
Alpha = binary()
Option = {static_data, boolean()}
See
setAlpha(This, X, Y, Alpha) -> ok
This = wxImage()
X = integer()
Y = integer()
Alpha = integer()
See
setData(This, Data, Option::[Option]) -> ok
This = wxImage()
Data = binary()
Option = {static_data, boolean()}
See
setData(This, Data, New_width, New_height) -> ok
This = wxImage()
Data = binary()
New_width = integer()
New_height = integer()
Equivalent to setData(This, Data, New_width, New_height, []).
setData(This, Data, New_width, New_height, Option::[Option]) -> ok
This = wxImage()
Data = binary()
New_width = integer()
New_height = integer()
Option = {static_data, boolean()}
See
setMask(This, Option::[Option]) -> ok
This = wxImage()
Option = {mask, boolean()}
See
setMaskColour(This, R, G, B) -> ok
This = wxImage()
R = integer()
G = integer()
B = integer()
See
setMaskFromImage(This, Mask, Mr, Mg, Mb) -> boolean()
This = wxImage()
Mask = wxImage()
Mr = integer()
Mg = integer()
Mb = integer()
See
setOption(This, Name, Value) -> ok
This = wxImage()
Name = chardata() (see module unicode)
Value = integer()
See
Also:
setOption(This, Name, Value) -> ok when
This::wxImage(), Name::unicode:chardata(), Value::unicode:chardata().
setPalette(This, Palette) -> ok
This = wxImage()
Palette = wxPalette() (see module wxPalette)
See
setRGB(This, Rect, R, G, B) -> ok
This = wxImage()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
R = integer()
G = integer()
B = integer()
See
setRGB(This, X, Y, R, G, B) -> ok
This = wxImage()
X = integer()
Y = integer()
R = integer()
G = integer()
B = integer()
See
destroy(This::wxImage()) -> ok
Destroys this object, do not use object again