Skip to main content

interp_grid_rect

Function interp_grid_rect 

Source
fn interp_grid_rect(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Draw a rectangle on the grid graphics device.

@param x x-coordinate of center @param y y-coordinate of center @param width rectangle width @param height rectangle height @param just justification @param default.units default unit type @param gp graphical parameters @param vp viewport to use @param name grob name @param draw whether to draw immediately (default TRUE) @return a rect grob (invisibly)