Oddly enough I'm looking for exactly the same thing and I
don't think
that it exists in lisp. glyph_to_pixel_translation() gives what you want
in C and this is used by 'set-mouse-position. You could trivially add a
new function to frame.c that calls glyph_to_pixel_translation() - maybe
call it 'pixel-position ?.
Well, to be consistent with the other functions, it should probably
be called "window-pixel-point" (to match with "window-pixel-edges",
"window-pixel-height", and "window-pixel-width"), and return a list
in
the same order as "window-pixel-edges".
[ Side note: I don't see any corresponding function in GNU Emacs. ]
OK, do you want to write the function, or shall I? I'm a bit busy,
and so I probably wouldn't have anything for a week or two. However,
I'm willing to do it.
Comments, anyone?
--
Darryl Okahata
darrylo(a)soco.agilent.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Agilent Technologies, or
of the little green men that have been following him all day.