User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2

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

See external documentation.

createContext(This, Dc) -> wxGraphicsContext() (see module wxGraphicsContext)

Types:

This = wxGraphicsRenderer()
Dc = wxWindowDC() (see module wxWindowDC) | wxWindow() (see module wxWindow)

See external documentation.

createPen(This, Pen) -> wxGraphicsPen() (see module wxGraphicsPen)

Types:

This = wxGraphicsRenderer()
Pen = wxPen() (see module wxPen)

See external documentation.

createBrush(This, Brush) -> wxGraphicsBrush() (see module wxGraphicsBrush)

Types:

This = wxGraphicsRenderer()
Brush = wxBrush() (see module wxBrush)

See external documentation.

createLinearGradientBrush(This, X1, Y1, X2, Y2, C1, C2) -> wxGraphicsBrush() (see module wxGraphicsBrush)

Types:

This = wxGraphicsRenderer()
X1 = number()
Y1 = number()
X2 = number()
Y2 = number()
C1 = wx_colour() (see module wx)
C2 = wx_colour() (see module wx)

See external documentation.

createRadialGradientBrush(This, Xo, Yo, Xc, Yc, Radius, OColor, CColor) -> wxGraphicsBrush() (see module wxGraphicsBrush)

Types:

This = wxGraphicsRenderer()
Xo = number()
Yo = number()
Xc = number()
Yc = number()
Radius = number()
OColor = wx_colour() (see module wx)
CColor = wx_colour() (see module wx)

See external documentation.

createFont(This, Font) -> wxGraphicsFont() (see module wxGraphicsFont)

Types:

This = wxGraphicsRenderer()
Font = wxFont() (see module wxFont)

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

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

Types:

This = wxGraphicsRenderer()
Font = wxFont() (see module wxFont)
Option = {col, wx_colour() (see module wx)}

See external documentation.

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

Types:

This = wxGraphicsRenderer()

Equivalent to createMatrix(This, []).

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

Types:

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

See external documentation.

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

Types:

This = wxGraphicsRenderer()

See external documentation.