Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.5


Expand All
Contract All

Table of Contents

wxGraphicsRenderer

MODULE

wxGraphicsRenderer

MODULE SUMMARY

See external documentation: wxGraphicsRenderer.

DESCRIPTION

See external documentation: wxGraphicsRenderer.

DATA TYPES

wxGraphicsRenderer()

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

getDefaultRenderer() -> wxGraphicsRenderer()

createContext(This::wxGraphicsRenderer(), Dc::wxWindowDC() (see module wxWindowDC) | wxWindow() (see module wxWindow)) -> wxGraphicsContext() (see module wxGraphicsContext)

createPen(This::wxGraphicsRenderer(), Pen::wxPen() (see module wxPen)) -> wxGraphicsPen() (see module wxGraphicsPen)

createBrush(This::wxGraphicsRenderer(), Brush::wxBrush() (see module wxBrush)) -> wxGraphicsBrush() (see module wxGraphicsBrush)

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

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

createFont(This::wxGraphicsRenderer(), Font::wxFont() (see module wxFont)) -> wxGraphicsFont() (see module wxGraphicsFont)

createFont(This::wxGraphicsRenderer(), Font::wxFont() (see module wxFont), Options::[Option]) -> wxGraphicsFont() (see module wxGraphicsFont)

Types:

Option = {col, colour() (see module wx)}

createMatrix(This::wxGraphicsRenderer()) -> wxGraphicsMatrix() (see module wxGraphicsMatrix)

Equivalent to createMatrix(This, []).

createMatrix(This::wxGraphicsRenderer(), Options::[Option]) -> wxGraphicsMatrix() (see module wxGraphicsMatrix)

Types:

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

createPath(This::wxGraphicsRenderer()) -> wxGraphicsPath() (see module wxGraphicsPath)