Flip a native raster image horizontally

nr_fliph(nr)

Arguments

nr

native raster image

Value

Invisibly return the supplied native raster image which was been modified in-place

See also

Other transformation functions: nr_flipv(), nr_rotate(), nr_transpose()

Examples

nr <- nr_new(400, 200, 'white')
nr_rect(nr, 0, 0, 30, 15)
plot(nr)

nr_fliph(nr)

plot(nr)