R/css-style-to-gp-vp.R
style_to_viewport.Rd
Currently this only supports setting the clipping path on the viewport.
style_to_viewport(style, transform, state)
named list of style properties
transform matrix of element being clipped
state information
viewport object
Masks would also be set here, but I don't have any good examples to debug with, so leaving this for now.