Function: posn-object-x-y

posn-object-x-y is a byte-compiled function defined in subr.el.gz.

Signature

(posn-object-x-y POSITION)

Documentation

Return the x and y coordinates relative to the object of POSITION.

The return value has the form (DX . DY), where DX and DY are given in pixels. POSITION should be a list of the form returned by event-start and event-end.

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defsubst posn-object-x-y (position)
  "Return the x and y coordinates relative to the object of POSITION.
The return value has the form (DX . DY), where DX and DY are
given in pixels.  POSITION should be a list of the form returned
by `event-start' and `event-end'."
  (nth 8 position))