Rechercher une page de manuel
wxImage.3erl
Langue: en
Version: 291251 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
wxImage - See external documentation: wxImage.DESCRIPTION
See external documentation: wxImage <http://www.wxwidgets.org/manuals/stable/wx_wximage.html>.
All (default) image handlers are initialized.
DATA TYPES
-
- wxImage():
-
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.
EXPORTS
new() -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage>.
new(Name::string()) -> wxImage()
Equivalent to new(Name, []).
new(X::integer() | string(), X::integer() | term()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage>.
Alternatives:
new(Width::integer(), Height::integer()) -> new(Width, Height, [])
new(Name::string(), [Option]) -> wxImage()
Option = {type, integer()} | {index, integer()}
new(X::integer() | string(), X::integer() | string(), X::binary() | term()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage>.
Alternatives:
new(Width::integer(), Height::integer(), Data::binary()) -> new(Width, Height, Data, [])
new(Width::integer(), Height::integer(), [Option]) -> wxImage()
Option = {clear, bool()}
new(Name::string(), Mimetype::string(), [Option]) -> wxImage()
Option = {index, integer()}
new(Width::integer(), Height::integer(), Data::binary(), X::binary() | term()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage>.
Alternatives:
new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> new(Width, Height, Data, Alpha, [])
new(Width::integer(), Height::integer(), Data::binary(), [Option]) -> wxImage()
Option = {static_data, bool()}
new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), Options::[Option]) -> wxImage()
-
- Types
- Option = {static_data, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage>.
blur(This::wxImage(), Radius::integer()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageblur>.
blurHorizontal(This::wxImage(), Radius::integer()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageblurhorizontal>.
blurVertical(This::wxImage(), Radius::integer()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageblurvertical>.
convertAlphaToMask(This::wxImage()) -> bool()
Equivalent to convertAlphaToMask(This, []).
convertAlphaToMask(This::wxImage(), Options::[Option]) -> bool()
-
- Types
- Option = {threshold, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageconvertalphatomask>.
convertToGreyscale(This::wxImage()) -> wxImage()
Equivalent to convertToGreyscale(This, []).
convertToGreyscale(This::wxImage(), Options::[Option]) -> wxImage()
-
- Types
- Option = {lr, float()} | {lg, float()} | {lb, float()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageconverttogreyscale>.
convertToMono(This::wxImage(), R::integer(), G::integer(), B::integer()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageconverttomono>.
copy(This::wxImage()) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecopy>.
create(This::wxImage(), Width::integer(), Height::integer()) -> bool()
Equivalent to create(This, Width, Height, []).
create(This::wxImage(), Width::integer(), Height::integer(), X::binary() | term()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecreate>.
Alternatives:
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary()) -> create(This, Width, Height, Data, [])
create(This::wxImage(), Width::integer(), Height::integer(), [Option]) -> bool()
Option = {clear, bool()}
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), X::binary() | term()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecreate>.
Alternatives:
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> create(This, Width, Height, Data, Alpha, [])
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), [Option]) -> bool()
Option = {static_data, bool()}
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), Options::[Option]) -> bool()
-
- Types
- Option = {static_data, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecreate>.
Destroy(This::wxImage()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagedestroy>.
findFirstUnusedColour(This::wxImage()) -> {bool(), R::integer(), G::integer(), B::integer()}
Equivalent to findFirstUnusedColour(This, []).
findFirstUnusedColour(This::wxImage(), Options::[Option]) -> {bool(), R::integer(), G::integer(), B::integer()}
-
- Types
- Option = {startR, integer()} | {startG, integer()} | {startB, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagefindfirstunusedcolour>.
getImageExtWildcard() -> string()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetimageextwildcard>.
getAlpha(This::wxImage()) -> binary()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetalpha>.
getAlpha(This::wxImage(), X::integer(), Y::integer()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetalpha>.
getBlue(This::wxImage(), X::integer(), Y::integer()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetblue>.
getData(This::wxImage()) -> binary()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetdata>.
getGreen(This::wxImage(), X::integer(), Y::integer()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetgreen>.
getImageCount(Name::string()) -> integer()
Equivalent to getImageCount(Name, []).
getImageCount(Name::string(), Options::[Option]) -> integer()
-
- Types
- Option = {type, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetimagecount>.
getHeight(This::wxImage()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetheight>.
getMaskBlue(This::wxImage()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetmaskblue>.
getMaskGreen(This::wxImage()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetmaskgreen>.
getMaskRed(This::wxImage()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetmaskred>.
getOrFindMaskColour(This::wxImage()) -> {bool(), R::integer(), G::integer(), B::integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetorfindmaskcolour>.
getPalette(This::wxImage()) -> wxPalette() (see module wxPalette)
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetpalette>.
getRed(This::wxImage(), X::integer(), Y::integer()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetred>.
getSubImage(This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> wxImage()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetsubimage>.
getWidth(This::wxImage()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetwidth>.
hasAlpha(This::wxImage()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagehasalpha>.
hasMask(This::wxImage()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagehasmask>.
getOption(This::wxImage(), Name::string()) -> string()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetoption>.
getOptionInt(This::wxImage(), Name::string()) -> integer()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetoptionint>.
hasOption(This::wxImage(), Name::string()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagehasoption>.
initAlpha(This::wxImage()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageinitalpha>.
initStandardHandlers() -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageinitstandardhandlers>.
isTransparent(This::wxImage(), X::integer(), Y::integer()) -> bool()
Equivalent to isTransparent(This, X, Y, []).
isTransparent(This::wxImage(), X::integer(), Y::integer(), Options::[Option]) -> bool()
-
- Types
- Option = {threshold, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageistransparent>.
loadFile(This::wxImage(), Name::string()) -> bool()
Equivalent to loadFile(This, Name, []).
loadFile(This::wxImage(), Name::string(), Options::[Option]) -> bool()
-
- Types
- Option = {type, integer()} | {index, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageloadfile>.
loadFile(This::wxImage(), Name::string(), Mimetype::string(), Options::[Option]) -> bool()
-
- Types
- Option = {index, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageloadfile>.
ok(This::wxImage()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageok>.
removeHandler(Name::string()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageremovehandler>.
mirror(This::wxImage()) -> wxImage()
Equivalent to mirror(This, []).
mirror(This::wxImage(), Options::[Option]) -> wxImage()
-
- Types
- Option = {horizontally, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagemirror>.
replace(This::wxImage(), R1::integer(), G1::integer(), B1::integer(), R2::integer(), G2::integer(), B2::integer()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagereplace>.
rescale(This::wxImage(), Width::integer(), Height::integer()) -> wxImage()
Equivalent to rescale(This, Width, Height, []).
rescale(This::wxImage(), Width::integer(), Height::integer(), Options::[Option]) -> wxImage()
-
- Types
- Option = {quality, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerescale>.
resize(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}) -> wxImage()
Equivalent to resize(This, Size, Pos, []).
resize(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, Options::[Option]) -> wxImage()
-
- Types
- Option = {r, integer()} | {g, integer()} | {b, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageresize>.
rotate(This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}) -> wxImage()
Equivalent to rotate(This, Angle, Centre_of_rotation, []).
rotate(This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}, Options::[Option]) -> wxImage()
-
- Types
- Option = {interpolating, bool()} | {offset_after_rotation, {X::integer(), Y::integer()}}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerotate>.
rotateHue(This::wxImage(), Angle::float()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerotatehue>.
rotate90(This::wxImage()) -> wxImage()
Equivalent to rotate90(This, []).
rotate90(This::wxImage(), Options::[Option]) -> wxImage()
-
- Types
- Option = {clockwise, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerotate90>.
saveFile(This::wxImage(), Name::string()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesavefile>.
saveFile(This::wxImage(), Name::string(), X::integer() | string()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesavefile>.
Alternatives:
saveFile(This::wxImage(), Name::string(), Type::integer()) -> bool()
saveFile(This::wxImage(), Name::string(), Mimetype::string()) -> bool()
scale(This::wxImage(), Width::integer(), Height::integer()) -> wxImage()
Equivalent to scale(This, Width, Height, []).
scale(This::wxImage(), Width::integer(), Height::integer(), Options::[Option]) -> wxImage()
-
- Types
- Option = {quality, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagescale>.
size(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}) -> wxImage()
Equivalent to size(This, Size, Pos, []).
size(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, Options::[Option]) -> wxImage()
-
- Types
- Option = {r, integer()} | {g, integer()} | {b, integer()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesize>.
setAlpha(This::wxImage(), Alpha::binary()) -> ok
Equivalent to setAlpha(This, Alpha, []).
setAlpha(This::wxImage(), Alpha::binary(), Options::[Option]) -> ok
-
- Types
- Option = {static_data, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetalpha>.
setAlpha(This::wxImage(), X::integer(), Y::integer(), Alpha::integer()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetalpha>.
setData(This::wxImage(), Data::binary()) -> ok
Equivalent to setData(This, Data, []).
setData(This::wxImage(), Data::binary(), Options::[Option]) -> ok
-
- Types
- Option = {static_data, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetdata>.
setData(This::wxImage(), Data::binary(), New_width::integer(), New_height::integer()) -> ok
Equivalent to setData(This, Data, New_width, New_height, []).
setData(This::wxImage(), Data::binary(), New_width::integer(), New_height::integer(), Options::[Option]) -> ok
-
- Types
- Option = {static_data, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetdata>.
setMask(This::wxImage()) -> ok
Equivalent to setMask(This, []).
setMask(This::wxImage(), Options::[Option]) -> ok
-
- Types
- Option = {mask, bool()}
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetmask>.
setMaskColour(This::wxImage(), R::integer(), G::integer(), B::integer()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetmaskcolour>.
setMaskFromImage(This::wxImage(), Mask::wxImage(), Mr::integer(), Mg::integer(), Mb::integer()) -> bool()
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetmaskfromimage>.
setOption(This::wxImage(), Name::string(), X::integer() | string()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetoption>.
Alternatives:
setOption(This::wxImage(), Name::string(), Value::integer()) -> ok
setOption(This::wxImage(), Name::string(), Value::string()) -> ok
setPalette(This::wxImage(), Palette::wxPalette() (see module wxPalette)) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetpalette>.
setRGB(This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, R::integer(), G::integer(), B::integer()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetrgb>.
setRGB(This::wxImage(), X::integer(), Y::integer(), R::integer(), G::integer(), B::integer()) -> ok
See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetrgb>.
destroy(This::wxImage()) -> ok
Destroys this object, do not use object again
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre