<div dir="ltr">Thank you very much! That is definitely what I'm looking for!<br><br>On Tuesday, October 8, 2013 10:32:35 AM UTC-4, McFarlane, David wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Brendan,
<br>
<br>Look at the Canvas.CalculateTextSize topic in the E-Basic Help facility.
<br>
<br>-----
<br>David McFarlane
<br>E-Prime training
<br>online: <a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank">http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a>
<br>Twitter: @EPrimeMaster (<a href="https://twitter.com/EPrimeMaster" target="_blank">https://twitter.com/<wbr>EPrimeMaster</a>)
<br>
<br>/----
<br>Stock reminder: 1) I do not work for PST. 2) PST's trained staff
<br>take any and all questions at <a href="https://support.pstnet.com" target="_blank">https://support.pstnet.com</a> , and they
<br>strive to respond to all requests in 24-48 hours, so make full use of
<br>it. 3) In addition, PST offers several instructional videos on their
<br>YouTube channel (<a href="http://www.youtube.com/user/PSTNET" target="_blank">http://www.youtube.com/user/<wbr>PSTNET</a> ). 4) If you do
<br>get an answer from PST staff, please extend the courtesy of posting
<br>their reply back here for the sake of others.
<br>\----
<br>
<br>
<br>At 10/8/2013 09:32 AM Tuesday, Brendan T wrote:
<br>>I have a small problem in my experiment design I was hoping you guys
<br>>could shed some light on.
<br>>
<br>>My project uses the canvas function to display both words and
<br>>circles around the word (big enough to be in the periphery) but the
<br>>problem is that canvas doesn't allow you to align words to the
<br>>center. It produces words on the canvas as such:
<br>>
<br>>cnvs.Text Display.XRes/2, Displaly.YRes/2, c. getattrib("WordList1")
<br>>'This pulls a word from wordList1 and puts it in the center of the
<br>>screen such that the first letter is centered at XRes/2, YRes/2
<br>>
<br>>
<br>>This centers the image based on the number of pixels on the screen,
<br>>which is fine (and necessary) for my circle but aligns the words
<br>>such that the first letter of the word is at the center. Words can
<br>>be easily aligned in the display feature, but canvas is necessary
<br>>for my other stimuli.
<br>>
<br>>Does anybody know how this might be fixed such that the word is
<br>>centered in canvas, regardless of word length? Is it possible to
<br>>overlay a regular display with canvas? Or perhaps a way to factor
<br>>word length in and subtract half of it from XRes/2?
<br>>
<br>>I appreciate any feedback and I hope the issue is clear.
<br>>
<br>>Thank you!!
<br>>Brendan
<br>
<br></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/4b29cb0d-3aa3-4d28-a897-675dda036897%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/4b29cb0d-3aa3-4d28-a897-675dda036897%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />