(none) imager-devel
/ help / lists / applications / search /
 

Re: Imager-0.38pre9 Released.

From:
01905@xyz.molar.is
Date: Tue 22 May 2001 - 15:43:29 UTC

  • Next message: Arnar Mar Hrafnkelsson: "Antialiasing Drawing"

    On 19-May-2001 Tony Cook wrote:
    > $c = Imager::Color->new('red'); # lookup in
    > /usr/X11R6/lib/X11/rgb.txt?
    >
    > though this shouldn't be a big deal (if we ever happen to support the
    > second interface).

    $c = Imager::Color->new(named=>'red');

    Or something similar?

    > We could distinuguish between the 2 by requiring the '-', but then we'd
    > have to rework all the existing named parameter code for consistency.

    This is the first time i've seen a justifiable use of - in front of named
    params. IMHO, the - is undesirable.

    -Philip



  •