canvasy

$canvaseditor canvasy num
returns floating point canvas coord y

obj method canvaseditor canvasy y {
   set nachkomma [expr {$y - round($y)}]
   expr {([$self canvas canvasy $y] + $nachkomma) / [my zoom]}
}

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z