I'm looking for detailed documentation on
gtable and similar classes. Basically, I need to work with the output of
ggplot_gtable() but can't find any resources on the subject. I am mainly interested in how layouts are calculated, but it would also be nice to have a list of valid
gpar values, what units are used and how drawing order is determined.
Any suggestions are greatly appreciated!