<div dir="ltr">Hello all,<div><br></div><div>I have a small problem in my experiment design I was hoping you guys could shed some light on.</div><div><br></div><div>My project uses the canvas function to display both words and circles around the word (big enough to be in the periphery) but the problem is that canvas doesn't allow you to align words to the center. It produces words on the canvas as such:</div><div><br></div><div>cnvs.Text Display.XRes/2, Displaly.YRes/2, c. getattrib("WordList1")</div><div>'This pulls a word from wordList1 and puts it in the center of the screen such that the first letter is centered at XRes/2, YRes/2</div><div><br></div><div><br></div><div>This centers the image based on the number of pixels on the screen, which is fine (and necessary) for my circle but aligns the words such that the first letter of the word is at the center. Words can be easily aligned in the display feature, but canvas is necessary for my other stimuli.</div><div><br></div><div>Does anybody know how this might be fixed such that the word is centered in canvas, regardless of word length? Is it possible to overlay a regular display with canvas? Or perhaps a way to factor word length in and subtract half of it from XRes/2?</div><div><br></div><div>I appreciate any feedback and I hope the issue is clear.</div><div><br></div><div>Thank you!!</div><div>Brendan</div></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/15c47ed7-1d3f-4f5b-9fab-4ea08e6eebe7%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/15c47ed7-1d3f-4f5b-9fab-4ea08e6eebe7%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 />