Module wxGraphicsContext

See external documentation: wxGraphicsContext.

Description

See external documentation: wxGraphicsContext.
This class is derived (and can use functions) from:
  • wxGraphicsObject
  • Data Types

    wxGraphicsContext()

    abstract datatype: 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.

    Function Index

    clip/2*See external documentation.
    clip/5*See external documentation.
    concatTransform/2*See external documentation.
    create/0*See external documentation.
    create/1*See external documentation.
    createBrush/2*See external documentation.
    createFont/2*Equivalent to createFont(This, Font, []).
    createFont/3*See external documentation.
    createLinearGradientBrush/7*See external documentation.
    createMatrix/1*Equivalent to createMatrix(This, []).
    createMatrix/2*See external documentation.
    createPath/1*See external documentation.
    createPen/2*See external documentation.
    createRadialGradientBrush/8*See external documentation.
    drawBitmap/6*See external documentation.
    drawEllipse/5*See external documentation.
    drawIcon/6*See external documentation.
    drawLines/3*Equivalent to drawLines(This, N, Points, []).
    drawLines/4*See external documentation.
    drawPath/2*Equivalent to drawPath(This, Path, []).
    drawPath/3*See external documentation.
    drawRectangle/5*See external documentation.
    drawRoundedRectangle/6*See external documentation.
    drawText/4*See external documentation.
    drawText/5*See external documentation.
    drawText/6*See external documentation.
    fillPath/2*Equivalent to fillPath(This, Path, []).
    fillPath/3*See external documentation.
    getNativeContext/1*See external documentation.
    getPartialTextExtents/3*See external documentation.
    getTextExtent/2*See external documentation.
    getTransform/1*See external documentation.
    resetClip/1*See external documentation.
    rotate/2*See external documentation.
    scale/3*See external documentation.
    setBrush/2*See external documentation.
    setFont/2*See external documentation.
    setFont/3*See external documentation.
    setPen/2*See external documentation.
    setTransform/2*See external documentation.
    strokeLine/5*See external documentation.
    strokeLines/3*See external documentation.
    strokeLines/4*See external documentation.
    strokePath/2*See external documentation.
    translate/3*See external documentation.

    Function Details

    clip/2 *

    clip(This::wxGraphicsContext(), Region::wxRegion:wxRegion()) -> ok

    See external documentation.

    clip/5 *

    clip(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok

    See external documentation.

    concatTransform/2 *

    concatTransform(This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok

    See external documentation.

    create/0 *

    create() -> wxGraphicsContext()

    See external documentation.

    create/1 *

    create(Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow()) -> wxGraphicsContext()

    See external documentation.

    createBrush/2 *

    createBrush(This::wxGraphicsContext(), Brush::wxBrush:wxBrush()) -> wxGraphicsBrush:wxGraphicsBrush()

    See external documentation.

    createFont/2 *

    createFont(This::wxGraphicsContext(), Font::wxFont:wxFont()) -> wxGraphicsFont:wxGraphicsFont()

    Equivalent to createFont(This, Font, []).

    createFont/3 *

    createFont(This::wxGraphicsContext(), Font::wxFont:wxFont(), Options::[Option]) -> wxGraphicsFont:wxGraphicsFont()

    See external documentation.

    createLinearGradientBrush/7 *

    createLinearGradientBrush(This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:colour(), C2::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush()

    See external documentation.

    createMatrix/1 *

    createMatrix(This::wxGraphicsContext()) -> wxGraphicsMatrix:wxGraphicsMatrix()

    Equivalent to createMatrix(This, []).

    createMatrix/2 *

    createMatrix(This::wxGraphicsContext(), Options::[Option]) -> wxGraphicsMatrix:wxGraphicsMatrix()

    See external documentation.

    createPath/1 *

    createPath(This::wxGraphicsContext()) -> wxGraphicsPath:wxGraphicsPath()

    See external documentation.

    createPen/2 *

    createPen(This::wxGraphicsContext(), Pen::wxPen:wxPen()) -> wxGraphicsPen:wxGraphicsPen()

    See external documentation.

    createRadialGradientBrush/8 *

    createRadialGradientBrush(This::wxGraphicsContext(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:colour(), CColor::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush()

    See external documentation.

    drawBitmap/6 *

    drawBitmap(This::wxGraphicsContext(), Bmp::wxBitmap:wxBitmap(), X::float(), Y::float(), W::float(), H::float()) -> ok

    See external documentation.

    drawEllipse/5 *

    drawEllipse(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok

    See external documentation.

    drawIcon/6 *

    drawIcon(This::wxGraphicsContext(), Icon::wxIcon:wxIcon(), X::float(), Y::float(), W::float(), H::float()) -> ok

    See external documentation.

    drawLines/3 *

    drawLines(This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}) -> ok

    Equivalent to drawLines(This, N, Points, []).

    drawLines/4 *

    drawLines(This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}, Options::[Option]) -> ok

    See external documentation.

    drawPath/2 *

    drawPath(This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok

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

    drawPath/3 *

    drawPath(This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), Options::[Option]) -> ok

    See external documentation.

    drawRectangle/5 *

    drawRectangle(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok

    See external documentation.

    drawRoundedRectangle/6 *

    drawRoundedRectangle(This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(), Radius::float()) -> ok

    See external documentation.

    drawText/4 *

    drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float()) -> ok

    See external documentation.

    drawText/5 *

    drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), X::float() | term()) -> ok

    See external documentation.
    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/6 *

    drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush()) -> ok

    See external documentation.

    fillPath/2 *

    fillPath(This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok

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

    fillPath/3 *

    fillPath(This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), Options::[Option]) -> ok

    See external documentation.

    getNativeContext/1 *

    getNativeContext(This::wxGraphicsContext()) -> ok

    See external documentation.

    getPartialTextExtents/3 *

    getPartialTextExtents(This::wxGraphicsContext(), Text::string(), Widths::[float()]) -> ok

    See external documentation.

    getTextExtent/2 *

    getTextExtent(This::wxGraphicsContext(), Text::string()) -> {Width::float(), Height::float(), Descent::float(), ExternalLeading::float()}

    See external documentation.

    getTransform/1 *

    getTransform(This::wxGraphicsContext()) -> wxGraphicsMatrix:wxGraphicsMatrix()

    See external documentation.

    resetClip/1 *

    resetClip(This::wxGraphicsContext()) -> ok

    See external documentation.

    rotate/2 *

    rotate(This::wxGraphicsContext(), Angle::float()) -> ok

    See external documentation.

    scale/3 *

    scale(This::wxGraphicsContext(), XScale::float(), YScale::float()) -> ok

    See external documentation.

    setBrush/2 *

    setBrush(This::wxGraphicsContext(), Brush::wxGraphicsBrush:wxGraphicsBrush() | wxBrush:wxBrush()) -> ok

    See external documentation.

    setFont/2 *

    setFont(This::wxGraphicsContext(), Font::wxGraphicsFont:wxGraphicsFont()) -> ok

    See external documentation.

    setFont/3 *

    setFont(This::wxGraphicsContext(), Font::wxFont:wxFont(), Colour::wx:colour()) -> ok

    See external documentation.

    setPen/2 *

    setPen(This::wxGraphicsContext(), Pen::wxPen:wxPen() | wxGraphicsPen:wxGraphicsPen()) -> ok

    See external documentation.

    setTransform/2 *

    setTransform(This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok

    See external documentation.

    strokeLine/5 *

    strokeLine(This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float()) -> ok

    See external documentation.

    strokeLines/3 *

    strokeLines(This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}) -> ok

    See external documentation.

    strokeLines/4 *

    strokeLines(This::wxGraphicsContext(), N::integer(), BeginPoints::{X::float(), Y::float()}, EndPoints::{X::float(), Y::float()}) -> ok

    See external documentation.

    strokePath/2 *

    strokePath(This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok

    See external documentation.

    translate/3 *

    translate(This::wxGraphicsContext(), Dx::float(), Dy::float()) -> ok

    See external documentation.


    Generated by EDoc, May 26 2008, 12:35:27.