style_to_viewport: Convert a list of style information to a viewport object

Description Usage Arguments Details Value

View source: R/css-style-to-gp-vp.R

Description

Currently this only supports setting the clipping path on the viewport.

Usage

1

Arguments

style

named list of style properties

transform

transform matrix of element being clipped

state

state information

Details

Masks would also be set here, but I don't have any good examples to debug with, so leaving this for now.

Value

viewport object


coolbutuseless/svgparser documentation built on Dec. 26, 2021, 12:03 a.m.