Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Gnome2Canvas

Method GTK2.Gnome2Canvas()->window_to_world()


Method window_to_world

array window_to_world(float winx, float winy)

Description

Converts window-relative coordinates into world coordinates. You can use this when you need to convert mouse coordinates into world coordinates, for example.