obj method group rotateObj {x y xC yC dist {dPhi 0} {scale no}} { if {[$self constraint orient]} then { set centerDot [my centerDot] lassign [$centerDot storeXY info] centerX centerY $centerDot rotateObj $x $y $xC $yC $dist $dPhi $scale set dx [- [$centerDot cget -x] $centerX] set dy [- [$centerDot cget -y] $centerY] lappend transformL moveHorizontal $dx moveVertical $dy $self dots transform {*}$transformL $self draw } else { $self elements rotateObj $x $y $xC $yC $dist $dPhi $scale } }
© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z