Skip to contents

Utility to inspect grob viewport locations on the active device.

Usage

debug_vp_locs()

Value

Called for side effects (prints diagnostic lines to the console).

Examples

grid::grid.newpage()
grid::pushViewport(grid::viewport(width = 0.6, height = 0.6))
grid::grid.rect(gp = grid::gpar(fill = "grey90"))
debug_vp_locs()

grid::upViewport(0)