RDevDescMethods-class {unknown}R Documentation

RDevDescMethods class for implementing an R graphics device with R functions

Description

This class is a structured

Objects from the Class

Objects can be created by calls of the form new("RDevDescMethods", ...). ~~ describe objects here ~~

Slots

activate:
Object of class "FunctionOrNULL" ~~
circle:
Object of class "FunctionOrNULL" ~~
clip:
Object of class "FunctionOrNULL" ~~
close:
Object of class "FunctionOrNULL" ~~
deactivate:
Object of class "FunctionOrNULL" ~~
locator:
Object of class "FunctionOrNULL" ~~
line:
Object of class "FunctionOrNULL" ~~
metricInfo:
Object of class "FunctionOrNULL" ~~
mode:
Object of class "FunctionOrNULL" ~~
newPage:
Object of class "FunctionOrNULL" ~~
polygon:
Object of class "FunctionOrNULL" ~~
polyline:
Object of class "FunctionOrNULL" ~~
rect:
Object of class "FunctionOrNULL" ~~
size:
Object of class "FunctionOrNULL" ~~
strWidth:
Object of class "FunctionOrNULL" ~~
text:
Object of class "FunctionOrNULL" ~~
onExit:
Object of class "FunctionOrNULL" ~~
getEvent:
Object of class "FunctionOrNULL" ~~
newFrameConfirm:
Object of class "FunctionOrNULL" ~~
textUTF8:
Object of class "FunctionOrNULL" ~~
strWidthUTF8:
Object of class "FunctionOrNULL" ~~

Extends

Class "CStruct-class", directly.

Methods

graphicsDevice
signature(name = "ANY", funcs = "RDevDescMethods"): create an R graphics device using the functions in the RDevDescMethods objects as graphical primitive operators
graphicsDevice
signature(name = "RDevDescMethods"): create an R graphics device using the functions in the RDevDescMethods objects as graphical primitive operators

Author(s)

Duncan Temple Lang

References

“The R Internals Manual”, R Development Core Team.

See Also

graphicsDevice

Examples

  dev = dummyDevice()
  dev@activate = function(dev) {
                    dev$right = 968
                    dev$bottom = 724
                 }

  dev@line = function(x1, y1, x2, y2, gcontext, dev) {
                sys.call()
                newXMLNode("line",
                            attrs = c(x1 = x1, y1 = y1, x2 = x2, y2 = y2),
                            class = "")
             }   

[Package Index]