<div dir="ltr">Thanks, that makes sense, and works too!<div><br></div><div>- Jon</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 21 Feb 2024 at 13:37, Juan Vuletich <<a href="mailto:juan@cuis.st">juan@cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
Hi Jon,<br>
<br>
Please draw the circle, the grid and the string in separate
#fillColor:do: and #strokeColor:do: calls. The reason is that when
doing fills, you need to be really careful about exactly closing
shapes, so the odd/even fill algorithm works correctly.<br>
<br>
Cheers,<br>
<br>
On 2/21/2024 2:28 PM, Jon Hylands via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">Hi everyone,<br>
<div><br>
</div>
<div>I'm building a morph that draws a couple simple things.
Right now it draws a filled in circle, and some grid lines.</div>
<div><br>
</div>
<div>if I comment out the grid line drawing, the filled circle
code seems to work. If I draw the grid lines (or even just
draw the string) after the filled circle, the fill goes away.</div>
<div><br>
</div>
<div>The morph class I've created is a subclass of PlacedMorph.</div>
<div><br>
</div>
<div>- Jon</div>
<div><br>
</div>
<div><br>
</div>
<img src="cid:ii_18dcd4d6698c204bfcc1" alt="Screenshot
2024-02-21 122455.png" height="292" width="542"><img src="cid:ii_18dcd4d6698c204bfcc2" alt="Screenshot
2024-02-21 122435.png" height="294" width="542"><br>
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
Juan Vuletich
<a href="http://cuis.st" target="_blank">cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a>
<a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a></pre>
</div>
</blockquote></div>