Closed trevorld closed 3 years ago
I'll be making a Pull Request that fixes this.
library("animation") library("grid") library("ragg") grob <- rectGrob(x = unit(1.5, "in"), width = unit(1.0, "in"), gp = gpar(fill = "blue", col = NA)) # right half should be blue but isn't saveGIF(grid.draw(grob), ani.height = 200, ani.width = 200, ani.res = 100, ani.dev = 'agg_png') agg_png("example.png", width = 200, height = 200, res = 100) grid.draw(grob) dev.off()
I'll be making a Pull Request that fixes this.