1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_VIS_FONT_TEXTURE_H_INCLUDED
7 #define HECMW_VIS_FONT_TEXTURE_H_INCLUDED
8 
9 void font7_generate(char input, int output[7][7]);
10 void mark_time_label(double font_size, int xr, int yr, double font_color[3],
11                      double background_color[3], double start_time,
12                      double time_interval, int timestep, int max_len_step,
13                      double *image);
14 void value2_to_rgb(double value, double color[3], int color_system_type);
15 void generate_color_bar(int scale_marking_on, double font_size,
16                         int color_bar_style, int mark_0_on,
17                         int color_mapping_bar_on, int xr, int yr,
18                         double font_color[3], int color_system_type,
19                         int color_mapping_style, double *interval_point,
20                         int interval_mapping_num, int num_of_scale,
21                         double tmincolor, double tmaxcolor, double org_mincolor,
22                         double org_maxcolor, double *image);
23 unsigned short int change_short_int_order(unsigned short int n);
24 unsigned int change_unsigned_int_order(unsigned int n);
25 int change_int_order(int n);
26 
27 #endif /* HECMW_VIS_FONT_TEXTURE_H_INCLUDED */
28