[Cuis] Inclined lines and arrows

Juan Vuletich juan at jvuletich.org
Wed Aug 20 07:55:19 CDT 2014


Hi Folks,

As Ken said, Cuis doesn't currently include such morphs. But the 
protocol to draw them is there at FormCanvas and you are free to use it. 
Check senders to see examples.

Cheers,
Juan Vuletich

On 8/15/2014 2:01 AM, Hari Balaraman wrote:
> Hi Ken,
> Thanks very much. I will look into the package. I hope the ability to draw lines (along with other components to help build up irregular UI shapes) will be incorporated in the future.
> Best regards,
> Hari
>
>> On Aug 14, 2014, at 11:18 AM, Ken Dickey<Ken.Dickey at whidbey.com>  wrote:
>>
>> On Wed, 13 Aug 2014 23:09:27 -0400
>> Hari Balaraman<hbalaraman at gmail.com>  wrote:
>>
>>> Folks,
>>>
>>> I would like to draw arrows and lines using morphs. In Squeak there appear to LineMorphs (PolygonMophs) for this. Is there the ability to draw inclined lines using the morphs in the Cuis codebase?
>> I think the short answer is "no".  This is because of simplifications and changes to Morphic.
>>
>> There is a simple LineMorph in the package at https://github.com/KenDickey/Cuis-Smalltalk-Morphic-Misc1 which may give you some hints on how to do a PolygonMorph.
>>
>> -KenD
>>
>> _______________________________________________
>> Cuis mailing list
>> Cuis at jvuletich.org
>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>





More information about the Cuis mailing list