<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Ok. Instead
of the vtkTextActor I will use a vtkCornerAnnotation.<br>
Which is exactly what I wanted to have!<br>
<br>
Can anybody tell me how I can stop the vtkCornerAnnotation from
changing its size if I alter the text?<br>
I just want it to have fixed text size and font, and fixed size itself!<br>
</font></font><br>
Am 19.03.2010 11:07, schrieb Sebastian Gatzka:
<blockquote cite="mid:4BA34CCA.6070509@stud.tu-darmstadt.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Sorry, this
alters the text size, not the <b>position </b>of the actor.<br>
What I need is a fixed position on a normalized viewport or normalized
display.<br>
</font></font><br>
Am 17.03.2010 14:33, schrieb KS Jothybasu:
<blockquote
cite="mid:1dd3c8b21003170633g318ec4bn10a568c33241cba@mail.gmail.com"
type="cite">
<div dir="ltr">Try,<br>
<br>
textactor.SetTextScaleModeToViewport()<br>
<br>
Jothy<br>
<br>
<div class="gmail_quote">On Wed, Mar 17, 2010 at 1:19 PM, Sebastian
Gatzka <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><font size="-1"><font
face="Helvetica, Arial, sans-serif">Hello world.<br>
<br>
How can I manage to set relative coordinates to the vtkTextActor
position?<br>
If I alter the size of my windows I want the text to keep it position
relative to the display.<br>
<br>
Ideas?<br>
Sebastian<br>
</font></font> </div>
<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a
moz-do-not-send="true" href="http://www.vtk.org/Wiki/VTK_FAQ"
target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
</body>
</html>