wxErlang

Reference Manual

Version 1.9.1

Table of Contents

wxGraphicsContext

Module

wxGraphicsContext

Module Summary

See external documentation: wxGraphicsContext.

Description

See external documentation: wxGraphicsContext.

This class is derived (and can use functions) from:
wxGraphicsObject

DATA TYPES

wxGraphicsContext()

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

Types

Types

Xo = number()
Yo = number()
Xc = number()
Yc = number()
Radius = number()
OColor = wx:wx_colour()
CColor = wx:wx_colour()

Types

X1 = number()
Y1 = number()
X2 = number()
Y2 = number()

Types

Types

Option = {col, wx:wx_colour()}

Types

Equivalent to createMatrix(This, []).

Types

Option = {a, number()} | {b, number()} | {c, number()} | {d, number()} | {tx, number()} | {ty, number()}

Types

Types

X = number()
Y = number()
W = number()
H = number()

Types

Types

X = number()
Y = number()
W = number()
H = number()

Types

X = number()
Y = number()
W = number()
H = number()

Types

X = number()
Y = number()
W = number()
H = number()

Types

Points = [{X::float(), Y::float()}]

Types

Points = [{X::float(), Y::float()}]
Option = {fillStyle, wx:wx_enum()}

See external documentation.
FillStyle = integer

Equivalent to drawPath(This, Path, []).

Types

Option = {fillStyle, wx:wx_enum()}

See external documentation.
FillStyle = integer

Types

X = number()
Y = number()
W = number()
H = number()

Types

X = number()
Y = number()
W = number()
H = number()
Radius = number()

Types

X = number()
Y = number()

Types

X = number()
Y = number()
Angle = number()
X = number()
Y = number()

See external documentation.
Also:
drawText(This, Str, X, Y, BackgroundBrush) -> 'ok' when
This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush().

Types

X = number()
Y = number()
Angle = number()

Equivalent to fillPath(This, Path, []).

Types

Option = {fillStyle, wx:wx_enum()}

See external documentation.
FillStyle = integer

Types

Result = {Width::number(), Height::number(), Descent::number(), ExternalLeading::number()}

Types

Angle = number()

Types

XScale = number()
YScale = number()

Types

Dx = number()
Dy = number()

Types

Types

Colour = wx:wx_colour()

Types

X1 = number()
Y1 = number()
X2 = number()
Y2 = number()

Types

Points = [{X::float(), Y::float()}]

Destroys this object, do not use object again