## useDynLib("grid") # done in .onLoad export( # Conversion of units "convertUnit", "convertX", "convertY", "convertWidth", "convertHeight", # Deprecated conversion functions "convertNative", "grid.convertWidth", "grid.convertX", "grid.convertY", "grid.convert", "grid.convertHeight", "current.viewport", "current.vpTree", "current.transform", "engine.display.list", "gpar", "get.gpar", "grid.collection", "grid.copy", "grid.display.list", "grid.draw", "grid.grill", "grid.layout", "grid.locator", "grid.newpage", "grid.plot.and.legend", "grid.pretty", "grid.show.layout", "grid.show.viewport", "unit", "is.unit", "unit.c", "unit.length", "unit.pmax", "unit.pmin", "unit.rep", "stringWidth", "stringHeight", "grobWidth", "grobHeight", "absolute.size", "viewport", "vpList", "vpStack", "vpTree", "vpPath", "pop.viewport", "push.viewport", "popViewport", "pushViewport", "dataViewport", "plotViewport", "downViewport", "upViewport", "seekViewport", "drawDetails", "preDrawDetails", "postDrawDetails", "editDetails", "validDetails", "heightDetails", "widthDetails", # "height", "heightDetails", # "width", "widthDetails", # Creating and modifying grobs (and gTrees) "grid.grob", "grob", "gList", "gTree", "gPath", "grid.get", "grid.set", "grid.add", "grid.remove", "grid.edit", "getGrob", "setGrob", "addGrob", "removeGrob", "editGrob", # "childNames", # Creating and drawing predefined grobs and gTrees "grid.arrows", "grid.circle", "grid.line.to", "grid.lines", "grid.move.to", "grid.points", "grid.polygon", "grid.rect", "grid.segments", "grid.text", "grid.xaxis", "grid.yaxis", "arrowsGrob", "circleGrob", "linesGrob", "lineToGrob", "moveToGrob", "pointsGrob", "polygonGrob", "rectGrob", "segmentsGrob", "textGrob", "xaxisGrob", "yaxisGrob", # Frames and packing "grid.frame", "grid.pack", "grid.place", "frameGrob", "packGrob", "placeGrob" ) ## Documented as internal but in Paul's first attempt at a sensible ## export list: export("draw.details", "grid.legend", "grid.multipanel", "grid.panel", "grid.strip", "layoutRegion", "viewport.layout", "viewport.transform") ## Manipulated via C code ... ## export("get.gpar", "grid.top.level.vp") ## ## In the grid.layout.Rd \example ... export("layout.torture") ## ## S3 methods for generics in base S3method("[", "unit") S3method("[", "unit.arithmetic") S3method("[", "unit.list") S3method("Ops", "unit") S3method("Summary", "unit") S3method("as.character", "path") S3method("as.character", "unit") S3method("as.character", "unit.arithmetic") S3method("as.character", "unit.list") S3method("as.character", "viewport") S3method("as.character", "vpList") S3method("as.character", "vpStack") S3method("as.character", "vpTree") S3method("print", "grob") S3method("print", "unit") S3method("print", "viewport") S3method("print", "path") S3method("print", "gpar") ## S3 methods for exported generics in grid S3method("unit.length", "unit") S3method("unit.length", "unit.list") S3method("unit.length", "unit.arithmetic") S3method("downViewport", "default") S3method("downViewport", "vpPath") S3method("grid.draw", "grob") S3method("grid.draw", "gTree") S3method("grid.draw", "viewport") S3method("grid.draw", "vpPath") S3method("grid.draw", "pop") S3method("grid.draw", "up") S3method("drawDetails", "arrows") S3method("drawDetails", "circle") S3method("drawDetails", "grob") S3method("drawDetails", "line.to") S3method("drawDetails", "lines") S3method("drawDetails", "move.to") S3method("drawDetails", "points") S3method("drawDetails", "polygon") S3method("drawDetails", "rect") S3method("drawDetails", "segments") S3method("drawDetails", "text") S3method("drawDetails", "xaxis") S3method("drawDetails", "yaxis") S3method("editDetails", "default") S3method("editDetails", "xaxis") S3method("editDetails", "yaxis") S3method("grobHeight", "grob") S3method("grobHeight", "gList") S3method("grobHeight", "gPath") S3method("grobHeight", "default") S3method("grobWidth", "grob") S3method("grobWidth", "gList") S3method("grobWidth", "gPath") S3method("grobWidth", "default") S3method("heightDetails", "default") S3method("heightDetails", "frame") S3method("heightDetails", "rect") S3method("heightDetails", "text") #S3method("height.details", "viewport") S3method("preDraw", "grob") S3method("preDraw", "gTree") S3method("preDrawDetails", "grob") S3method("postDrawDetails", "grob") S3method("validDetails", "arrows") S3method("validDetails", "grob") S3method("validDetails", "lines") S3method("validDetails", "line.to") S3method("validDetails", "move.to") S3method("validDetails", "segments") S3method("widthDetails", "default") S3method("widthDetails", "frame") #S3method("width.details", "rect") S3method("widthDetails", "text") #S3method("width.details", "viewport") # S3 methods for internal generics that are used in calls to external fns S3method("depth", "viewport") S3method("depth", "vpList") S3method("depth", "vpStack") S3method("depth", "vpTree") S3method("depth", "path") S3method("pushgrobvp", "viewport") S3method("pushgrobvp", "vpPath") S3method("popgrobvp", "viewport") S3method("popgrobvp", "vpPath") S3method("setvpgpar", "viewport") S3method("setvpgpar", "vpStack") S3method("setvpgpar", "vpList") S3method("setvpgpar", "vpTree") S3method("push.vp", "default") S3method("push.vp", "viewport") S3method("push.vp", "vpList") S3method("push.vp", "vpStack") S3method("push.vp", "vpTree")