Function: gs-height-in-pt

gs-height-in-pt is a byte-compiled function defined in gs.el.gz.

Signature

(gs-height-in-pt FRAME PIXEL-HEIGHT)

Documentation

Return, on FRAME, pixel height PIXEL-HEIGHT translated to pt.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/gs.el.gz
(defun gs-height-in-pt (frame pixel-height)
  "Return, on FRAME, pixel height PIXEL-HEIGHT translated to pt."
  (let ((mm (* (float pixel-height)
	       (/ (float (x-display-mm-height frame))
		  (float (x-display-pixel-height frame))))))
    (/ (* 25.4 mm) 72.0)))