width_height_from_aspect_ratio: Define the aspect ration and it's scale

Description Usage Arguments

Description

Convenient wrapper for specifying height and width.

Usage

1
width_height_from_aspect_ratio(ratio = 16/9, scale = 5, units = "cm")

Arguments

ratio

The aspect ratio.

scale

How to transform the ration to obtain width and heigh.

units

The measurement unit, e.g. "cm". See grid::unit().


lorenzwalthert/simplificar documentation built on May 7, 2019, 9:32 a.m.