<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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
cite="mid:CA+=am+XGqGiTURif6faWOFOc_-jOJzyq9rCfgR3U7TuetWD0fA@mail.gmail.com"
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:part1.06060108.03080509@cuis.st" alt="Screenshot
2024-02-21 122455.png" height="292" width="542"><img
src="cid:part2.02020104.02090506@cuis.st" alt="Screenshot
2024-02-21 122435.png" height="294" width="542"><br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>