[squeak-dev] Squeak clock face
Louis LaBrunda
Lou at Keystone-Software.com
Mon Dec 18 18:51:10 UTC 2017
Hi Tim,
Can you please explain what this does:
pointerMorph position: pointerMorph extent * ( -0.5@ -0.65).
especially what does "* ( -0.5@ -0.65)" do and why and what do -0.5 and -0.65 relate to?
Thanks.
Lou
On Fri, 15 Dec 2017 14:33:34 -0800, tim Rowledge <tim at rowledge.org> wrote:
>
>> On 15-12-2017, at 2:01 PM, Louis LaBrunda <Lou at Keystone-Software.com> wrote:
>> I have sub-classed RotaryDialMorph similar to Tim's ClockDialMorph. Tim has
>> the hands (minute and hour) rotate around one of their ends. I'm trying to get them to rotate
>> around a point say 20 pixels in from that end. How should I do this?
>
>Take a look also at Barometer (etc) morph>>initialize to see how the fancy needle is created and positioned
>
>
>tim
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
More information about the Squeak-dev
mailing list
|