Function: preview-gs-color-value

preview-gs-color-value is a byte-compiled function defined in preview.el.

Signature

(preview-gs-color-value VALUE)

Documentation

Return string to be used as color value for an RGB component.

Conversion from Emacs color numbers (0 to 65535) in VALUE to Ghostscript floats.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-gs-color-value (value)
  "Return string to be used as color value for an RGB component.
Conversion from Emacs color numbers (0 to 65535) in VALUE
to Ghostscript floats."
  (format "%g" (/ value 65535.0)))