/*
 * Class:     pulsarhunter_PgplotInterface
 * Method:    pgshls
 * Signature: (IFFF)V
 */
JNIEXPORT void JNICALL Java_pulsarhunter_PgplotInterface_pgshls
  (JNIEnv *env, jclass cl, jint ci, jfloat h , jfloat s, jfloat l){
	cpgshls(ci,h,s,l);
}
Esempio n. 2
0
/* assign HLS color to a color index (hue/lightness/saturation) */
static void _pgshls (int *ci, double *hue, double *lightness, double *saturation)
{
   cpgshls (*ci, (float) *hue, (float) *lightness,  (float) *saturation);
}