wxGraphicsContext
See external documentation: wxGraphicsContext.
- Provided by: erlang-manpages (Version: 1:16.b.3-dfsg-1ubuntu2.2)
- Source: erlang
- Report a bug
See external documentation: wxGraphicsContext.
See external documentation: wxGraphicsContext.
This class is derived (and can use functions) from:
wxGraphicsObject
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.
create() -> wxGraphicsContext()
See external documentation.
create(Dc) -> wxGraphicsContext()
Types:
See external documentation.
createPen(This, Pen) -> wxGraphicsPen() (see module
wxGraphicsPen)
Types:
See external documentation.
createBrush(This, Brush) -> wxGraphicsBrush() (see module
wxGraphicsBrush)
Types:
See external documentation.
createRadialGradientBrush(This, Xo, Yo, Xc, Yc, Radius, OColor,
CColor) -> wxGraphicsBrush() (see module wxGraphicsBrush)
Types:
This function is deprecated: deprecated function not available in wxWidgets-2.9 and later
See external documentation.
createLinearGradientBrush(This, X1, Y1, X2, Y2, C1, C2) ->
wxGraphicsBrush() (see module wxGraphicsBrush)
Types:
This function is deprecated: deprecated function not available in wxWidgets-2.9 and later
See external documentation.
createFont(This, Font) -> wxGraphicsFont() (see module
wxGraphicsFont)
Types:
Equivalent to createFont(This, Font, []).
createFont(This, Font, Option::[Option]) -> wxGraphicsFont()
(see module wxGraphicsFont)
Types:
See external documentation.
createMatrix(This) -> wxGraphicsMatrix() (see module
wxGraphicsMatrix)
Types:
Equivalent to createMatrix(This, []).
createMatrix(This, Option::[Option]) -> wxGraphicsMatrix()
(see module wxGraphicsMatrix)
Types:
See external documentation.
createPath(This) -> wxGraphicsPath() (see module
wxGraphicsPath)
Types:
See external documentation.
clip(This, Region) -> ok
Types:
See external documentation.
clip(This, X, Y, W, H) -> ok
Types:
See external documentation.
resetClip(This) -> ok
Types:
See external documentation.
drawBitmap(This, Bmp, X, Y, W, H) -> ok
Types:
See external documentation.
drawEllipse(This, X, Y, W, H) -> ok
Types:
See external documentation.
drawIcon(This, Icon, X, Y, W, H) -> ok
Types:
See external documentation.
drawLines(This, Points) -> ok
Types:
Equivalent to drawLines(This, Points, []).
drawLines(This, Points, Option::[Option]) -> ok
Types:
See external documentation.
FillStyle = integer
drawPath(This, Path) -> ok
Types:
Equivalent to drawPath(This, Path, []).
drawPath(This, Path, Option::[Option]) -> ok
Types:
See external documentation.
FillStyle = integer
drawRectangle(This, X, Y, W, H) -> ok
Types:
See external documentation.
drawRoundedRectangle(This, X, Y, W, H, Radius) -> ok
Types:
See external documentation.
drawText(This, Str, X, Y) -> ok
Types:
See external documentation.
drawText(This, Str, X, Y, Angle) -> ok
Types:
See external documentation.
Also:
drawText(This, Str, X, Y, BackgroundBrush) -> ok when
This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(),
BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush().
drawText(This, Str, X, Y, Angle, BackgroundBrush) -> ok
Types:
See external documentation.
fillPath(This, Path) -> ok
Types:
Equivalent to fillPath(This, Path, []).
fillPath(This, Path, Option::[Option]) -> ok
Types:
See external documentation.
FillStyle = integer
strokePath(This, Path) -> ok
Types:
See external documentation.
getPartialTextExtents(This, Text) -> [number()]
Types:
See external documentation.
getTextExtent(This, Text) -> Result
Types:
See external documentation.
rotate(This, Angle) -> ok
Types:
See external documentation.
scale(This, XScale, YScale) -> ok
Types:
See external documentation.
translate(This, Dx, Dy) -> ok
Types:
See external documentation.
getTransform(This) -> wxGraphicsMatrix() (see module
wxGraphicsMatrix)
Types:
See external documentation.
setTransform(This, Matrix) -> ok
Types:
See external documentation.
concatTransform(This, Matrix) -> ok
Types:
See external documentation.
setBrush(This, Brush) -> ok
Types:
See external documentation.
setFont(This, Font) -> ok
Types:
See external documentation.
setFont(This, Font, Colour) -> ok
Types:
See external documentation.
setPen(This, Pen) -> ok
Types:
See external documentation.
strokeLine(This, X1, Y1, X2, Y2) -> ok
Types:
See external documentation.
strokeLines(This, Points) -> ok
Types:
See external documentation.
destroy(This::wxGraphicsContext()) -> ok
Destroys this object, do not use object again
<>