Hi <div><br></div><div>Here comes another question with text, please see the attached code below, only rect could be resized, when I call v$scale()</div><div><br></div><div>text, circle doesn't change. it happens to visnab, the circular view, when I scale the view, every thing resize but the text, it's still in the same size.<br>
<div><br></div><div><div>library(qtpaint)</div><div>s <- qscene()</div><div>test_layer <- qlayer(s,function(layer,painter){</div><div> qdrawRect(painter,30,30,70,70,stroke="blue")</div><div> qdrawCircle(painter,50,50,20,stroke="red")</div>
<div> qdrawText(painter,"TEST",50,50)</div><div>},limits=qrect(0,0,100,100))</div><div>v <- qplotView(s)</div><div>v$show()</div><div><br></div><div>v$scale(1.5,1.5)</div><div><br></div>Thanks</div><div><br>
</div><div>Tengfei<br>-- <br>Tengfei Yin<br>MCDB PhD student <br>1620 Howe Hall, 2274,<br>Iowa State University<br>Ames, IA,50011-2274<br>Homepage: <a href="http://www.tengfei.name" target="_blank">www.tengfei.name</a><br>
<div><br></div><br>
</div></div>