wxGraphicsContext
See external documentation: wxGraphicsContext.
See external documentation:
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.
Functions
create() -> wxGraphicsContext()
See
create(Dc::wxWindowDC() (see module wxWindowDC) | wxWindow() (see module wxWindow)) -> wxGraphicsContext()
See
createPen(This::wxGraphicsContext(), Pen::wxPen() (see module wxPen)) -> wxGraphicsPen() (see module wxGraphicsPen)
See
createBrush(This::wxGraphicsContext(), Brush::wxBrush() (see module wxBrush)) -> wxGraphicsBrush() (see module wxGraphicsBrush)
See
createRadialGradientBrush(This::wxGraphicsContext(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::colour() (see module wx), CColor::colour() (see module wx)) -> wxGraphicsBrush() (see module wxGraphicsBrush)
See
createLinearGradientBrush(This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::colour() (see module wx), C2::colour() (see module wx)) -> wxGraphicsBrush() (see module wxGraphicsBrush)
See
createFont(This::wxGraphicsContext(), Font::wxFont() (see module wxFont)) -> wxGraphicsFont() (see module wxGraphicsFont)
Equivalent to createFont(This, Font, []).
createFont(This::wxGraphicsContext(), Font::wxFont() (see module wxFont), Options::[Option]) -> wxGraphicsFont() (see module wxGraphicsFont)
Option = {col, colour() (see module wx)}
See
createMatrix(This::wxGraphicsContext()) -> wxGraphicsMatrix() (see module wxGraphicsMatrix)
Equivalent to createMatrix(This, []).
createMatrix(This::wxGraphicsContext(), Options::[Option]) -> wxGraphicsMatrix() (see module wxGraphicsMatrix)
Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()}
See
createPath(This::wxGraphicsContext()) -> wxGraphicsPath() (see module wxGraphicsPath)
See
clip(This::wxGraphicsContext(), Region::wxRegion() (see module wxRegion)) -> ok
See
clip(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok
See
resetClip(This::wxGraphicsContext()) -> ok
See
drawBitmap(This::wxGraphicsContext(), Bmp::wxBitmap() (see module wxBitmap), X::float(), Y::float(), W::float(), H::float()) -> ok
See
drawEllipse(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok
See
drawIcon(This::wxGraphicsContext(), Icon::wxIcon() (see module wxIcon), X::float(), Y::float(), W::float(), H::float()) -> ok
See
drawLines(This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}) -> ok
Equivalent to drawLines(This, N, Points, []).
drawLines(This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}, Options::[Option]) -> ok
Option = {fillStyle, integer()}
See
drawPath(This::wxGraphicsContext(), Path::wxGraphicsPath() (see module wxGraphicsPath)) -> ok
Equivalent to drawPath(This, Path, []).
drawPath(This::wxGraphicsContext(), Path::wxGraphicsPath() (see module wxGraphicsPath), Options::[Option]) -> ok
Option = {fillStyle, integer()}
See
drawRectangle(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok
See
drawRoundedRectangle(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(), Radius::float()) -> ok
See
drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float()) -> ok
See
drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), X::float() | term()) -> ok
See
Alternatives:
drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float()) -> ok
drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush()) -> ok
drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(), BackgroundBrush::wxGraphicsBrush() (see module wxGraphicsBrush)) -> ok
See
fillPath(This::wxGraphicsContext(), Path::wxGraphicsPath() (see module wxGraphicsPath)) -> ok
Equivalent to fillPath(This, Path, []).
fillPath(This::wxGraphicsContext(), Path::wxGraphicsPath() (see module wxGraphicsPath), Options::[Option]) -> ok
Option = {fillStyle, integer()}
See
strokePath(This::wxGraphicsContext(), Path::wxGraphicsPath() (see module wxGraphicsPath)) -> ok
See
getNativeContext(This::wxGraphicsContext()) -> ok
See
getPartialTextExtents(This::wxGraphicsContext(), Text::string(), Widths::[float()]) -> ok
See
getTextExtent(This::wxGraphicsContext(), Text::string()) -> {Width::float(), Height::float(), Descent::float(), ExternalLeading::float()}
See
rotate(This::wxGraphicsContext(), Angle::float()) -> ok
See
scale(This::wxGraphicsContext(), XScale::float(), YScale::float()) -> ok
See
translate(This::wxGraphicsContext(), Dx::float(), Dy::float()) -> ok
See
getTransform(This::wxGraphicsContext()) -> wxGraphicsMatrix() (see module wxGraphicsMatrix)
See
setTransform(This::wxGraphicsContext(), Matrix::wxGraphicsMatrix() (see module wxGraphicsMatrix)) -> ok
See
concatTransform(This::wxGraphicsContext(), Matrix::wxGraphicsMatrix() (see module wxGraphicsMatrix)) -> ok
See
setBrush(This::wxGraphicsContext(), Brush::wxGraphicsBrush() (see module wxGraphicsBrush) | wxBrush() (see module wxBrush)) -> ok
See
setFont(This::wxGraphicsContext(), Font::wxGraphicsFont() (see module wxGraphicsFont)) -> ok
See
setFont(This::wxGraphicsContext(), Font::wxFont() (see module wxFont), Colour::colour() (see module wx)) -> ok
See
setPen(This::wxGraphicsContext(), Pen::wxPen() (see module wxPen) | wxGraphicsPen() (see module wxGraphicsPen)) -> ok
See
strokeLine(This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float()) -> ok
See
strokeLines(This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}) -> ok
See
strokeLines(This::wxGraphicsContext(), N::integer(), BeginPoints::{X::float(), Y::float()}, EndPoints::{X::float(), Y::float()}) -> ok
See
- create/0
- create/1
- createPen/1
- createBrush/1
- createRadialGradientBrush/1
- createLinearGradientBrush/1
- createFont/1
- createFont/1-1
- createMatrix/1
- createMatrix/1-1
- createPath/1
- clip/1
- clip/1-1
- resetClip/1
- drawBitmap/1
- drawEllipse/1
- drawIcon/1
- drawLines/1
- drawLines/1-1
- drawPath/1
- drawPath/1-1
- drawRectangle/1
- drawRoundedRectangle/1
- drawText/1
- drawText/1-1
- drawText/1-2
- fillPath/1
- fillPath/1-1
- strokePath/1
- getNativeContext/1
- getPartialTextExtents/1
- getTextExtent/1
- rotate/1
- scale/1
- translate/1
- getTransform/1
- setTransform/1
- concatTransform/1
- setBrush/1
- setFont/1
- setFont/1-1
- setPen/1
- strokeLine/1
- strokeLines/1
- strokeLines/1-1