pike.git/
src/
modules/
Image/
colors.c
Branch:
Tag:
Non-build tags
All tags
No tags
2012-04-08
2012-04-08 07:38:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>
eb45818a94f552266150bbc509fdde21c209fde5 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Autodoc: Attempt to force a stable order for the Image.Color doc.
141:
**! array grey=Array.filter(cs,lambda(object c) { return c->s==0; }); **! array colored=cs-grey; **!
+
**! sort(grey->name(), grey);
**! sort(grey->v,grey);
-
+
**! sort(colored->name(), colored);
**! sort(Array.map(colored,lambda(object c) **! { **! return (c->h*50-c->s)*10+c->v;