Round rect key glyph for legend

draw_key_rrect(data, params, size)

Arguments

data

A single row data frame containing the scaled aesthetics to display in this key

params

A list of additional parameters supplied to the geom.

size

Width and height of key in mm.

Author

Bob Rudis (bob@rud.is)