"ColorFromString()" is interesting.

Best Regards,
Paulo Soares 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Leonard Rosenthol
> Sent: Monday, May 02, 2005 1:07 PM
> To: Paulo Soares; Bruno Lowagie; Michael Glauche
> Cc: iText Mail Group
> Subject: RE: [iText-questions] Small enhancement for CMYKColor
> 
> At 06:50 AM 5/2/2005, Paulo Soares wrote:
> >That's a too specific constructor.
> 
>          I don't think so...
> 
>          It's simply another way to specify a color...I allow 
> this in my 
> C++ library for specifying colors - in fact, I take it one 
> step further 
> with a general purpose "ColorFromString()" type method that allows a 
> variety of textual ways to specify colors and "just does the 
> right thing".
> 
> 
> >Decoding of an HTML/XML color should
> >be done in the parser and not in PdfContentByte.
> 
>          Why?
> 
> 
> >  I can also argue that I
> >need a constructor accepting an int and the RGB color should 
> not be left
> >out. Next will come the color decoding by name "red", "rot", "rouge",
> >"rojo", "encarnado"?
> 
>          Sure, why not?
> 
> 
> LDR
> 
> --------------------------------------------------------------
> -------------
> Leonard Rosenthol                            
> <mailto:[EMAIL PROTECTED]>
> Chief Technical Officer                      <http://www.pdfsages.com>
> PDF Sages, Inc.                              215-938-7080 (voice)
>                                               215-938-0880 (fax)
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 
> great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to