[Cuis-dev] Strange Morph Behavior

Jon Hylands jhylands at gmail.com
Wed Feb 21 13:00:50 PST 2024


[image: Screenshot 2024-02-21 160002.png]

On Wed, 21 Feb 2024 at 15:13, Jon Hylands <jhylands at gmail.com> wrote:

> Thanks, that makes sense, and works too!
>
> - Jon
>
>
> On Wed, 21 Feb 2024 at 13:37, Juan Vuletich <juan at cuis.st> wrote:
>
>> Hi Jon,
>>
>> 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.
>>
>> Cheers,
>>
>> On 2/21/2024 2:28 PM, Jon Hylands via Cuis-dev wrote:
>>
>> Hi everyone,
>>
>> I'm building a morph that draws a couple simple things. Right now it
>> draws a filled in circle, and some grid lines.
>>
>> 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.
>>
>> The morph class I've created is a subclass of PlacedMorph.
>>
>> - Jon
>>
>>
>> [image: Screenshot 2024-02-21 122455.png][image: Screenshot 2024-02-21
>> 122435.png]
>>
>>
>>
>> --
>> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240221/68113ec8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noname
Type: image/png
Size: 167353 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240221/68113ec8/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noname
Type: image/png
Size: 164125 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240221/68113ec8/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2024-02-21 160002.png
Type: image/png
Size: 13339 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240221/68113ec8/attachment-0005.png>


More information about the Cuis-dev mailing list