wxErlang

Reference Manual

Version 1.9.1

Table of Contents

wxImage

Module

wxImage

Module Summary

See external documentation: wxImage.

Description

See external documentation: wxImage.

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

Types

Equivalent to new(Name, []).

Types

Width = integer()
Height = integer()
Option = {type, integer()} | {index, integer()}

See external documentation.
Also:
new(Name, [Option]) -> wxImage() when
Name::unicode:chardata(),
Option :: {'type', integer()}
| {'index', integer()}.

Types

Width = integer()
Height = integer()
Data = binary()
Width = integer()
Height = integer()
Option = {clear, boolean()}
Mimetype = unicode:chardata()
Option = {index, integer()}

See external documentation.
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()}.

Types

Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Width = integer()
Height = integer()
Data = binary()
Option = {static_data, boolean()}

See external documentation.
Also:
new(Width, Height, Data, [Option]) -> wxImage() when
Width::integer(), Height::integer(), Data::binary(),
Option :: {'static_data', boolean()}.

Types

Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Option = {static_data, boolean()}

Types

This = wxImage()
Radius = integer()

Types

This = wxImage()
Radius = integer()

Types

This = wxImage()
Radius = integer()

Types

This = wxImage()

Types

This = wxImage()
Option = {threshold, integer()}

Types

This = wxImage()

Types

This = wxImage()
Option = {lr, number()} | {lg, number()} | {lb, number()}

Types

This = wxImage()
R = integer()
G = integer()
B = integer()

Types

This = wxImage()

Types

This = wxImage()
Width = integer()
Height = integer()

Types

This = wxImage()
Width = integer()
Height = integer()
Data = binary()
This = wxImage()
Width = integer()
Height = integer()
Option = {clear, boolean()}

See external documentation.
Also:
create(This, Width, Height, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(),
Option :: {'clear', boolean()}.

Types

This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Option = {static_data, boolean()}

See external documentation.
Also:
create(This, Width, Height, Data, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(), Data::binary(),
Option :: {'static_data', boolean()}.

Types

This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Option = {static_data, boolean()}

Types

This = wxImage()

Types

Result = {Res::boolean(), R::integer(), G::integer(), B::integer()}
This = wxImage()

Types

Result = {Res::boolean(), R::integer(), G::integer(), B::integer()}
This = wxImage()
Option = {startR, integer()} | {startG, integer()} | {startB, integer()}

Types

This = wxImage()

Types

This = wxImage()
X = integer()
Y = integer()

Types

This = wxImage()
X = integer()
Y = integer()

Types

This = wxImage()

Types

This = wxImage()
X = integer()
Y = integer()

Types

Equivalent to getImageCount(Name, []).

Types

Option = {type, wx:wx_enum()}

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

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

Result = {Res::boolean(), R::integer(), G::integer(), B::integer()}
This = wxImage()

Types

This = wxImage()

Types

This = wxImage()
X = integer()
Y = integer()

Types

This = wxImage()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()

Types

This = wxImage()
X = integer()
Y = integer()

Types

This = wxImage()
X = integer()
Y = integer()
Option = {threshold, integer()}

Types

This = wxImage()

Equivalent to loadFile(This, Name, []).

Types

This = wxImage()
Option = {type, integer()} | {index, integer()}

Types

This = wxImage()
Mimetype = unicode:chardata()
Option = {index, integer()}

Types

This = wxImage()

Types

Types

This = wxImage()

Equivalent to mirror(This, []).

Types

This = wxImage()
Option = {horizontally, boolean()}

Types

This = wxImage()
R1 = integer()
G1 = integer()
B1 = integer()
R2 = integer()
G2 = integer()
B2 = integer()

Types

This = wxImage()
Width = integer()
Height = integer()

Types

This = wxImage()
Width = integer()
Height = integer()
Option = {quality, wx:wx_enum()}

See external documentation.
Quality = integer

Types

This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}

Types

This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Option = {r, integer()} | {g, integer()} | {b, integer()}

Types

This = wxImage()
Angle = number()
Centre_of_rotation = {X::integer(), Y::integer()}

Types

This = wxImage()
Angle = number()
Centre_of_rotation = {X::integer(), Y::integer()}
Option = {interpolating, boolean()} | {offset_after_rotation, {X::integer(), Y::integer()}}

Types

This = wxImage()
Angle = number()

Types

This = wxImage()

Equivalent to rotate90(This, []).

Types

This = wxImage()
Option = {clockwise, boolean()}

Types

This = wxImage()

Types

This = wxImage()
Type = integer()
This = wxImage()
Mimetype = unicode:chardata()

See external documentation.
Also:
saveFile(This, Name, Mimetype) -> boolean() when
This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata().

Types

This = wxImage()
Width = integer()
Height = integer()

Types

This = wxImage()
Width = integer()
Height = integer()
Option = {quality, wx:wx_enum()}

See external documentation.
Quality = integer

Types

This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}

Equivalent to size(This, Size, Pos, []).

Types

This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Option = {r, integer()} | {g, integer()} | {b, integer()}

Types

This = wxImage()
Alpha = binary()

Equivalent to setAlpha(This, Alpha, []).

Types

This = wxImage()
Alpha = binary()
Option = {static_data, boolean()}

Types

This = wxImage()
X = integer()
Y = integer()
Alpha = integer()

Types

This = wxImage()
Data = binary()

Equivalent to setData(This, Data, []).

Types

This = wxImage()
Data = binary()
Option = {static_data, boolean()}

Types

This = wxImage()
Data = binary()
New_width = integer()
New_height = integer()

Types

This = wxImage()
Data = binary()
New_width = integer()
New_height = integer()
Option = {static_data, boolean()}

Types

This = wxImage()

Equivalent to setMask(This, []).

Types

This = wxImage()
Option = {mask, boolean()}

Types

This = wxImage()
R = integer()
G = integer()
B = integer()

Types

This = wxImage()
Mask = wxImage()
Mr = integer()
Mg = integer()
Mb = integer()

Types

This = wxImage()
Value = integer()
This = wxImage()

See external documentation.
Also:
setOption(This, Name, Value) -> 'ok' when
This::wxImage(), Name::unicode:chardata(), Value::unicode:chardata().

Types

This = wxImage()

Types

This = wxImage()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
R = integer()
G = integer()
B = integer()

Types

This = wxImage()
X = integer()
Y = integer()
R = integer()
G = integer()
B = integer()

Destroys this object, do not use object again