File: colors.h

package info (click to toggle)
fig2dev 1%3A3.2.6a-2%2Bdeb9u3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,984 kB
  • sloc: ansic: 35,278; sh: 4,579; makefile: 179; perl: 13; csh: 12
file content (20 lines) | stat: -rw-r--r-- 887 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * TransFig: Facility for Translating Fig code
 * Copyright (c) 1991 by Micah Beck
 * Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul
 * Parts Copyright (c) 1989-2016 by Brian V. Smith
 *
 * Any party obtaining a copy of these files is granted, free of charge, a
 * full and unrestricted irrevocable, world-wide, paid up, royalty-free,
 * nonexclusive right and license to deal in this software and
 * documentation files (the "Software"), including without limitation the
 * rights to use, copy, modify, merge, publish and/or distribute copies of
 * the Software, and to permit persons who receive copies from any such
 * party to do so, with the only requirement being that this copyright
 * notice remain intact.
 *
 *	colors.h - created 2016-07-07 by Thomas Loimer
 */

extern int	lookup_X_color(char *name, RGB *rgb);
extern float	rgb2luminance (float r, float g, float b);