All functions

create_style_string()

Create stryle strings for the given attritute or set of attributes

fill_style()

Construct a vector of styles related to 'fill'

filter_style()

Construct a vector of styles related to 'filter'

font_style()

Construct a vector of styles related to 'font'

glue_two()

Custom version of glue which rounds all numerics to 2 decimals

is_black()

Is the colour black?

is_transparent()

Is the colour transparent?

is_white()

Is the colour white?

rgba_to_alpha()

Calcuate the alpha value from the 4-element RGBA vector

rgba_to_hex()

Convert a 4-element rgba vector to hex RGB

stroke_style()

Construct a vector of styles related to 'stroke'

style_string()

Create CSS styles for the given attributes

svg_callback()

The main SVG callback.

svg_strWidth()

Return the width of the given string

svgout()

SVG device written in R.

transformer_round()

Transformer for glue to round numeric values to decimal places and convert NULL to text