[Top][All Lists]

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

Re: How to paint my own color

From: Valeriy E. Ushakov
Subject: Re: How to paint my own color
Date: Wed, 5 Sep 2001 19:33:40 +0400
User-agent: Mutt/1.3.3i

On Wed, Sep 05, 2001 at 16:22:04 +0200, Radek Hnilica wrote:

> > Check @SetColour builtin documented in the Expert's Guide.
> Opened the Expert's guide on page 45, yes there are few words about
> @SetColor, but I do not see how this relates to my question.

You ask about colors, I point out the primitive symbol that does
colors.  You need to understand it to build something on your own and
to understand and adapt existing code.

> > Also see this posting by Martin van Beilen
> > http://groups.yahoo.com/group/lout/message/1472
> Yes this is about my problem.  The patch handly applied resolve my
> problem.  Please will be this patch included in next version?

Mmm, the core lout is happily unaware about the way color is specified
(the only exception is the 'setrgbcolor' in /outline), so a generic
colorspace-friendly solution could be developed (so that e.g. if you
only use "named" colors you can get switch generated postscript to use
CMYK color space without changing anything).

This will use a database to map color names to color coordinates in
the selected color space plus symbols that encapsulate the necessary
low level commands like setcmykcolor for PS or k/K for PDF, etc.  The
latter could also be used to directly specify some unnamed color by
its coordinates.

SY, Uwe
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

reply via email to

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