emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new frame-parameter "alpha"


From: Seiji Zenitani
Subject: Re: new frame-parameter "alpha"
Date: Thu, 20 Mar 2008 18:53:18 -0400

On 2008/03/20, at 11:22, Ken Raeburn wrote:
On Mar 14, 2008, at 07:02, Seiji Zenitani wrote:
Elisp syntax:
We can use both a floating point number (0.0-1.0) as well as an integer number (0-100).

So 1 means almost-invisible and 1.0 means completely opaque?

Correct.
(Actually 1 brings 20% opaque, when "frame-alpha-lower-limit" is set to 20.)

Do float-vs-int representations of the same value have such opposite meanings in other parts of Emacs (outside of some possible arithmetic cases)?

Ken


One sample is 'line-spacing'.

 (setq line-spacing 1) ;; 1 pt
 (setq line-spacing 1.0) ;; relative height

We can also employ only float (or int)
in order to avoid confusion.


Seiji





reply via email to

[Prev in Thread] Current Thread [Next in Thread]