wxErlang

Reference Manual

Version 1.9.3.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.

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

Equivalent to createMatrix(This, []).

Types

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

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

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

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()

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

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

Types

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

Destroys this object, do not use object again