pike.git/
src/
modules/
Image/
colors.c
Branch:
Tag:
Non-build tags
All tags
No tags
2001-11-07
2001-11-07 21:37:54 by Martin Nilsson <mani@lysator.liu.se>
16602fd7aa31a62ea50689f41f685d67bbca5f8e (
26
lines) (+
11
/-
15
)
[
Show
|
Annotate
]
Branch:
7.9
Documentation fixes.
Rev: src/modules/Image/colors.c:1.58
Rev: src/modules/Image/search.c:1.22
1:
/* **! module Image **! note
-
**! $Id: colors.c,v 1.
57
2001/
09
/
24
11
:
30
:
25
grubba
Exp $
+
**! $Id: colors.c,v 1.
58
2001/
11
/
07
21
:
37
:
34
nilsson
Exp $
**! submodule Color **! **! This module keeps names and easy handling
40:
**! **! The prefix_string method is a form for getting modified **! colors, it understands all modifiers
-
**! (<link to=
Image.
Color.
Color.
light>light</link>,
-
**! <link to=
Image.
Color.
Color.
dark>dark</link>,
-
**! <link to=
Image.
Color.
Color.
bright>bright</link>,
-
**! <link to=
Image.
Color.
Color.
dull>dull</link> and
-
**! <link to=
Image.
Color.
Color.
neon>neon</link>). Simply use
+
**! (<link to=Color.light>light</link>,
+
**! <link to=Color.dark>dark</link>,
+
**! <link to=Color.bright>bright</link>,
+
**! <link to=Color.dull>dull</link> and
+
**! <link to=Color.neon>neon</link>). Simply use
**! "method"+"color"; (as in <tt>lightgreen</tt>, **! <tt>dullmagenta</tt>, <tt>lightdullorange</tt>). **!
86:
**! **! see also: Image.Color.Color, Image.Color.guess, Image, Image.Colortable **!
-
**!
+
**! appendix Image.Color colors **! **! This table lists all the different named colors available in Image.Color.
188:
#include "global.h"
-
RCSID("$Id: colors.c,v 1.
57
2001/
09
/
24
11
:
30
:
25
grubba
Exp $");
+
RCSID("$Id: colors.c,v 1.
58
2001/
11
/
07
21
:
37
:
34
nilsson
Exp $");
#include "image_machine.h"
408:
*/ /* **! method array(int) rgb()
+
**! method array(float) rgbf()
**! method array(int) hsv()
-
**! method array(
int
) cmyk()
+
**! method array(
float
)
hsvf()
+
**! method array(float)
cmyk()
**! method int greylevel() **! method int greylevel(int r, int g, int b) **! This is methods of getting information from an
770:
Pike_error("Image.Color.Color->cast(): Can't cast to that\n"); }
-
/*
-
**! method _sprintf(string s, mapping flags)
-
**!
-
*/
-
+
static void image_color__sprintf(INT32 args) { int prec,x;
1803:
free_string(no_name); }
-
+