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

wxErlang
Reference Manual
Version 1.6


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, Dc) -> wxGraphicsContext() (see module wxGraphicsContext)

Types:

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

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

Types:

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

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

Types:

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

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)

This function is deprecated: deprecated function not available in wxWidgets-2.9 and later

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)

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:

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

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

Types:

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

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

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

Types:

This = wxGraphicsRenderer()