<span id="ctl03_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl04_lblFullMessage" style="color: rgb(31, 80, 128); font-family: Verdana, Arial, Tahoma; font-size: 11px; background-color: rgb(244, 248, 251); ">Hi, <br><br>I only recently switched to e-prime having used Inquisit software previously. I am designing a dot probe experiment with images. After a pair of images are displayed, I present a star in either of the two locations where the images appeared. The participant is then expected to click anywhere in the star location. I am having problems coming up with a star shaped design that would be generated in the locations where the two images appear. <br>Is it better to just create a star bitmap image, and then ask the user to click on the location where the star appeared? My only problem with this strategy is that I would not be able to track mouse co-ordinates outside of the star image, since I would not have the exact point co-ordinates of the star. (For example, if I were to use the star as shown on this page: 
<a href="http://www.ehow.com/how_6056225_measure-interior-angles-star.html">http://www.ehow.com/how_6056225_measure-interior-angles-star.html</a> , and used the saved bitmap image as a target prompt (i.e. the star that would appear in either of two locations where the images were), I would be able to estimate the point co-ordinates). Tracking mouse co-ordinates is vital in our experiment, as it is going to be used in tandem with, and to validate eye tracking that will also be used.<br>My images were of the following dimensions (if that helps in any way):</span><div><font color="#1f5080" face="Verdana, Arial, Tahoma"><span style="font-size: 11px;">424 * 283</span></font></div><div><span style="color: rgb(31, 80, 128); font-family: Verdana, Arial, Tahoma; font-size: 11px; background-color: rgb(244, 248, 251); ">(rectangular images)</span></div><div><span style="color: rgb(31, 80, 128); font-family: Verdana, Arial, Tahoma; font-size: 11px; background-color: rgb(244, 248, 251); "><br>Below is a sample code I have been trying to run to generate a star image:<br>Dim cnvs As Canvas<br>Set cnvs = display.Canvas<br>cnvs.PenColor = CColor("white")<br>cnvs.FillColor = CColor("black")<br>cnvs.RoundedRectangle 40, 35, 300, 40, 25, 25<br><br>Dim arrthepoint(5) as Integer<br>Dim arrthepointy(5) as Integer<br>'thepoint[5].center = cnvs.RoundedRectangle.CenterPoint();<br>Dim i as integer<br>Dim x as double<br>Dim y as double<br>for i = 0 to i = 4<br><br>x = Cos(i * 2 * PI / 5)<br><br>y = Sin(i * 2 * PI / 5)<br><br>arrthepoint(i) = arrthepoint(x)<br>arrthepointy(i) = arrthepointy(y)<br><br><br><br>Dim p as double <br>p = 3.1415926<br>cnvs.Line arrthepoint(2),arrthepointy(0),0,0<br>cnvs.Line arrthepoint(0),arrthepointy(3),0,0<br><br><br>Next i <br><br>I would be grateful if anyone could offer some insight. <br><br>Thank you for your help,<br>Corona</span><span style="color: rgb(31, 80, 128); font-family: Verdana, Arial, Tahoma; font-size: 11px; background-color: rgb(244, 248, 251); "> </span><font size="1" style="color: rgb(31, 80, 128); font-family: Verdana, Arial, Tahoma; background-color: rgb(244, 248, 251); "><br></font><br></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/LBt-yTUc3nUJ">https://groups.google.com/d/msg/e-prime/-/LBt-yTUc3nUJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />