Are you sure that you are not using a new version of qtpaint now vs. before? That would be helpful to know, if true.<br><br>Thanks,<br>Michael<br><br><div class="gmail_quote">On Wed, Apr 27, 2011 at 3:00 PM, Yihui Xie <span dir="ltr"><<a href="mailto:xieyihui@gmail.com">xieyihui@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I'm not sure if this is a problem related to R 2.13.0 or my hardware,<br>
but I just cannot draw thicker lines or segments now. They do not<br>
appear on the screen but they are actually there, because brushing<br>
still works. It worked when I was using R 2.12. Other graphical<br>
elements are still OK with 2.13.<br>
<br>
s = qscene()<br>
root = qlayer(s)<br>
n = 10<br>
x = rnorm(n, 50, 15)<br>
y = runif(n, 20, 80)<br>
test_layer = qlayer(root, function(layer, painter) {<br>
qdrawCircle(painter, x, y, r = 20, fill = "black")<br>
qlineWidth(painter) = 3 # only 1 works<br>
qdrawSegment(painter, 10, 10, 90, 90)<br>
}, limits = qrect(0, 0, 100, 100))<br>
qplotView(s)<br>
<br>
<br>
> sessionInfo()<br>
R version 2.13.0 (2011-04-13)<br>
Platform: x86_64-pc-linux-gnu (64-bit)<br>
<br>
locale:<br>
[1] en_US.utf8<br>
<br>
attached base packages:<br>
[1] stats graphics grDevices utils datasets methods base<br>
<br>
other attached packages:<br>
[1] qtbase_0.8-13 qtpaint_0.7.22<br>
<br>
<br>
Regards,<br>
Yihui<br>
--<br>
<font color="#888888">Yihui Xie <<a href="mailto:xieyihui@gmail.com">xieyihui@gmail.com</a>><br>
Phone: 515-294-2465 Web: <a href="http://yihui.name" target="_blank">http://yihui.name</a><br>
Department of Statistics, Iowa State University<br>
2215 Snedecor Hall, Ames, IA<br>
_______________________________________________<br>
Qtinterfaces-devel mailing list<br>
<a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel</a><br>
</font></blockquote></div><br>