pike.git / lib / modules / Colors.pmod

version» Context lines:

pike.git/lib/modules/Colors.pmod:59:   }      //! @decl array(int(0..255)) cmyk_to_rgb(array(int(0..100)) cmyk)   //! @decl array(int(0..255)) cmyk_to_rgb(int(0..100) c, int(0..100) m, int(0..100) y, int(0..100) k)   //!   //! This function return the RGB value of the color   //! describe by the provided CMYK value. It is essentially   //! calling Image.Color.cmyk(c,m,y,k)->rgb()   //!   //! @seealso - //! @[Colors.rgb_ro_cmyk()] + //! @[Colors.rgb_to_cmyk()]   //! @[Image.Color.cmyk()]   //!   array(int) cmyk_to_rgb(array(int)|int c, int|void m, int|void y, int|void k)   {    if(arrayp(c)) return Image.Color.cmyk(@c)->rgb();    return Image.Color.cmyk(c,m,y,k)->rgb();   }      //! This function returns the RGB values that corresponds to the   //! color that is provided by name to the function. It is