Helps add the ggplot2-theme's look-and-feel to grid
's grob objects.
render_gpar
returns a gpar
-object,
element_render
returns a grid.grob
-object.
element_render(theme, element, ..., name = NULL)render_gpar(theme, element, ...)
A ggplot2 theme
The name of an element in the theme, e.g. "axis.text".
Additional arguments sent to grobs (e.g. x
or y
).
Returned grob's name..
element_render
is from ggplot2 source.