Olivier Chapuis <[EMAIL PROTECTED]> writes:
> On Thu, May 23, 2002 at 05:15:28AM +0000, Mikhael Goikhman wrote:
> > On 22 May 2002 16:19:16 -0400, Dan Espen wrote:
> > > Olivier Chapuis <[EMAIL PROTECTED]> writes:
> > It seems that the original "size" name is totally overloaded.
> > 
> > Actually I thought about all kinds of extensions, including specifying x
> > and y values and even a full loop range by x and y not just size.
> > 
> > And I think what we need is this:
> > 
> >   shadow=<size>[,<direction>]
> >
> Yes, I am agree. One point is that I do not think that we need
> distincts x and y (Dan?).
> > <size> is positive. <direction> dafaults to 16, but 1, 4, 64 are good too.
> > There are 8 directions, not just 4 diagonal. 8 directions = 8 bits.
> > (-1, -1), (0, -1), (1, -1), (1, 0), (1, 1), (0, 1), (-1, 1), (-1, 0).
> > 
> > I don't know whether specifying more than 1 direction (more than 1 bit)
> > looks good, say 3 directions [n, ne, e] are encoded by 2+4+8=14.
> > 
> > But I know that a shadow _around_ text should look nice:
> > 
> >   shadow=1,255
> > 
> > This draws a shadow 8 times, one in each direction. Just an idea.
> > 
> 
> Yes agree again. But do you think that the user will like to give
> the directions with a number?
> So the syntax may be:
> 
>       shadow=<size> [directions]
> 
> where directions is a space separated list constituted by se (default), s,
> n, o, e, so, ne, no and all. Or maybe we can use "iconbox" directions
> bl, b, t, l, r, br, tr, tl.

Consistency is good.

Lets see, a 1 pixel shadow on the upper right would be:

Font "shadow=1,ur:9x15bold"

A 2 pixed shadow all around the character would be:

Font "shadow=2,l r t b ur ul lr ll:9x15bold"

It seems easy enough to figure out.

-- 
Dan Espen                           E-mail: [EMAIL PROTECTED]
444 Hoes Lane  Room RRC 1C-214      Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to