import(methods, grDevices, graphics)
import(grid, except=c("linearGradient", "radialGradient", "pattern"))
importFrom("stats", 
           "aggregate", "as.dendrogram", "coef", "density",
           "dist", "dnorm", "dpois", "hclust", "lm", "pchisq",
           "predict", "rnorm", "runif", "time", "ts", "uniroot", "window")
importFrom("utils", 
           "capture.output", "data", "head", "read.csv", "read.table")
importFrom("lattice",
           "barchart", "bwplot", "canonical.theme", "cloud", 
           "contourplot",
           "densityplot", "dotplot", "histogram", "levelplot",
           "panel.abline", 
           "panel.lmline", "panel.number", "panel.text", "panel.xyplot", 
           "parallelplot", "qq", "qqmath", "show.settings", 
           "simpleKey", "splom", "strip.custom", "stripplot",
           "trellis.device", "trellis.par.set", 
           "wireframe", "xyplot")
importFrom("ggplot2",   
           "aes", "coord_polar", "coord_trans", "facet_wrap", "geom_abline", 
           "geom_bar", "geom_hline", "geom_line", "geom_point", "geom_smooth", 
           "geom_text", "geom_histogram", "ggplot", "ggplotGrob",
           "qplot", "scale_color_manual", "scale_fill_manual", 
           "scale_shape_manual",
           "scale_x_continuous", "scale_y_continuous", "stat_smooth", 
           "theme", "theme_bw", "element_blank", "element_text", "labs",
           "update_geom_defaults")
importFrom("grImport",
           "PostScriptTrace", "picture", 
           "picturePaths")
# Do not explicitly import readPicture() or grid.picture()
# because they conflict between 'grImport' and 'grImport2'
# (so always specify path::fun())
import("gridBase")
import("gridGraphics")
importFrom("gridSVG",
           "getSVGFonts",
           "grid.export", "gridsvg",
           "linearGradient", "radialGradient", "grid.gradientFill",
           "registerGradientFill", "gradientFillGrob",
           "pattern", "grid.patternFill",
           "filterEffect", "grid.filter",
           "feGaussianBlur", "feOffset", "feBlend",
           "clipPath", "grid.clipPath",
           "mask", "grid.mask", "maskGrob",
           "setSVGFonts")
exportPattern("figure")
S3method("plot", "newclass")
export("grid.utext")
export("textCorners")
export("grid.utextvp")
export("utextvp")
export("utextStatic")
export("utextChildren")
S3method("editDetails", "utextStatic")
export("utextvpStatic")
export("utextvpChildren")
export("utextDynamic")
S3method("makeContent", "utextDynamic")
export("utextvpDynamic")
S3method("makeContext", "utextvpDynamic")
S3method("makeContent", "utextvpDynamic")
S3method("xDetails", "utextvpDynamic")
S3method("yDetails", "utextvpDynamic")
export("splitString")
export("splitTextGrob")
S3method("makeContent", "splitText")
export("faceA")
export("faceB")
export("faceC")
export("faceD")
