Thanks for the pointer. I looked through the source and it seems that
this is hard-coded into the device-specific files.
Considering that, I can think of three ways I could achieve this behavior:
1 - Using .Device in a switch statement
2 - A try/catch construct that will trigger on warnings (
Here's a warning, but it sounds like it's at a deep (C, presumably) level,
xfig()
grid::grid.rect(gp=gpar(fill="red", alpha=0.5))
Warning message:
In grid.Call.graphics("L_rect", x$x, x$y, x$width, x$height,
resolveHJust(x$just, :
semi-transparency is not supported on this device: reported only
2 matches
Mail list logo