Function: frame-scale-factor

frame-scale-factor is a function defined in frame.c.

Signature

(frame-scale-factor &optional FRAME)

Documentation

Return FRAMEs scale factor.

If FRAME is omitted or nil, the selected frame is used. The scale factor is the amount by which a logical pixel size must be multiplied to find the real number of pixels.

Source Code

// Defined in /usr/src/emacs/src/frame.c
{
  struct frame *f = decode_live_frame (frame);

  return (make_float (f ? FRAME_SCALE_FACTOR (f) : 1));
}