gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
13 #define COLORTABLE_NBMAX_PARAM 10
14 #define COLORTABLE_NBMAX_COLOR 1024
25 #define COLORTABLE_RGB 1
26 #define COLORTABLE_HSV 2
30 #define COLORTABLE_NUMBER 0 // predefined curve index
31 #define COLORTABLE_INVERT 1 // invert (rbg<->255-rgb)
32 #define COLORTABLE_SWAP 2 // swap (min<->max)
33 #define COLORTABLE_ROTATION 3 // rotation
34 #define COLORTABLE_MODE 4 // mode (rgb, hsv)
38 #define COLORTABLE_CURVATURE 0 // curvature
39 #define COLORTABLE_BIAS 1 // offset
40 #define COLORTABLE_ALPHA 2 // alpha channel value
41 #define COLORTABLE_BETA 3 // beta coeff for brighten
42 #define COLORTABLE_ALPHAPOW 4 // alpha channel power value
49 std::vector<std::string> *vec =
nullptr);
53 void RGB_to_HSV(
double R,
double G,
double B,
double *H,
double *
S,
double *V);
54 void HSV_to_RGB(
double H,
double S,
double V,
double *R,
double *G,
double *B);
#define COLORTABLE_NBMAX_PARAM
int ColorTable_IsAlpha(GmshColorTable *ct)
#define COLORTABLE_NBMAX_COLOR
void ColorTable_InitParam(int number, GmshColorTable *ct)
void HSV_to_RGB(double H, double S, double V, double *R, double *G, double *B)
void ColorTable_Copy(GmshColorTable *ct)
int ColorTable_Diff(GmshColorTable *ct1, GmshColorTable *ct2)
void ColorTable_Print(GmshColorTable *ct, FILE *fp, std::vector< std::string > *vec=nullptr)
void RGB_to_HSV(double R, double G, double B, double *H, double *S, double *V)
void ColorTable_Paste(GmshColorTable *ct)
void ColorTable_Recompute(GmshColorTable *ct)