Displaying 2 results from an estimated 2 matches for "dashlist".
Did you mean:
washlist
2009 Dec 11
2
incorrect linetype with pdf device (PR#14128)
Full_Name: baptiste augui?
Version: 2.10.1 RC (2009-12-06 r50690)
OS: Mac OSX 10.5
Submission from: (NULL) (90.25.215.172)
The following code, run with a vanilla R session, produces different visual
output for the two devices,
library(grid)
pdf("test-pdf.pdf")
grid.newpage()
grid.lines(gp=gpar(lty="13", lineend = "butt"))
dev.off()
png("test-png.png")
1997 Jul 30
0
R-alpha: more on line types
...else {
--- 389,395 ----
if(newlty != lty) {
if(newlty == 0) {
! XSetLineAttributes(display, wgc, GP->lwd, LineSolid, CapRound, JoinRound);
lty = newlty;
}
else {
***************
*** 400,406 ****
newlty = newlty>>4;
}
XSetDashes(display, wgc, 0, dashlist, ndash);
! XSetLineAttributes(display, wgc, 1,
LineOnOffDash, CapButt, JoinRound);
}
}
--- 400,406 ----
newlty = newlty>>4;
}
XSetDashes(display, wgc, 0, dashlist, ndash);
! XSetLineAttributes(display, wgc, GP->lwd,
LineOnOffDash, CapButt, JoinRound...