loon size to a grid sizeThe size of loon is determined by pixel (px), while, in
grid graphics, the size is determined by pointsize (pt)
as_grid_size(
size,
type = c("points", "texts", "images", "radial", "parallel", "polygon", "lines"),
adjust = 1,
...
)input loon size
glyph type; one of "points", "texts", "images", "radial", "parallel", "polygon", "lines".
a pixel (px) at 96DPI (dots per inch) is equal to 0.75 point.
However, for different machines, the DPI is slightly different.
Argument adjust is used to twist the size. IT IS A HACK and should be removed
in the later version.
some arguments used to specify the size, e.g. pch for "points",
ratio for "image" and p for "parallel".