Function: posn-object-width-height

posn-object-width-height is a byte-compiled function defined in subr.el.gz.

Signature

(posn-object-width-height POSITION)

Documentation

Return the pixel width and height of the object of POSITION.

The return value has the form (WIDTH . HEIGHT). 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-width-height (position)
  "Return the pixel width and height of the object of POSITION.
The return value has the form (WIDTH . HEIGHT).  POSITION should
be a list of the form returned by `event-start' and `event-end'."
  (nth 9 position))