| RDevDescMethods-class {unknown} | R Documentation |
This class is a structured
Objects can be created by calls of the form new("RDevDescMethods", ...).
~~ describe objects here ~~
activate:"FunctionOrNULL" ~~ circle:"FunctionOrNULL" ~~ clip:"FunctionOrNULL" ~~ close:"FunctionOrNULL" ~~ deactivate:"FunctionOrNULL" ~~ locator:"FunctionOrNULL" ~~ line:"FunctionOrNULL" ~~ metricInfo:"FunctionOrNULL" ~~ mode:"FunctionOrNULL" ~~ newPage:"FunctionOrNULL" ~~ polygon:"FunctionOrNULL" ~~ polyline:"FunctionOrNULL" ~~ rect:"FunctionOrNULL" ~~ size:"FunctionOrNULL" ~~ strWidth:"FunctionOrNULL" ~~ text:"FunctionOrNULL" ~~ onExit:"FunctionOrNULL" ~~ getEvent:"FunctionOrNULL" ~~ newFrameConfirm:"FunctionOrNULL" ~~ textUTF8:"FunctionOrNULL" ~~ strWidthUTF8:"FunctionOrNULL" ~~
Class "CStruct-class", directly.
signature(name = "ANY", funcs =
"RDevDescMethods"): create an R graphics device using the functions in the
RDevDescMethods objects as graphical primitive operatorssignature(name = "RDevDescMethods"):
create an R graphics device using the functions in the
RDevDescMethods objects as graphical primitive operatorsDuncan Temple Lang
“The R Internals Manual”, R Development Core Team.
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 = "")
}