#N canvas 656 114 482 474 10;
#X floatatom 234 340 5 0 0 0 x - -;
#X floatatom 283 340 5 0 0 0 y - -;
#X text 157 416 (c) 2012 Marian Weger;
#X text 30 49 converts coordinates from gem units to pixels;
#X text 320 24 e.g. 800 600;
#X floatatom 234 209 5 0 0 0 x - -;
#X floatatom 283 209 5 0 0 0 y - -;
#X msg 348 180 dimen 800 600;
#X msg 363 211 800 600;
#X text 355 255 gemwin dimensions;
#X text 31 21 gil_px2gu <gemwin dimen x> <gemwin dimen y>;
#X text 35 134 [gil_px2gu] can be used in conjunction with the [gemmouse]
object to scale the cursor coordinates.;
#X text 35 74 [gil_px2gu] takes coordinates given in pixels by inlets
1 (x) and 2 (y) \, and converts them to gem units. For doing that \,
it needs to know the current gemwin dimension by either creation arguments
or the third inlet.;
#X text 32 209 Cursor position in pixels:;
#X text 32 339 Cursor position in GEM units:;
#X obj 234 276 gil_px2gu 800 600;
#X connect 5 0 15 0;
#X connect 6 0 15 1;
#X connect 7 0 15 2;
#X connect 8 0 15 2;
#X connect 15 0 0 0;
#X connect 15 1 1 0;
