FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_vis_font_texture.c File Reference
#include "hecmw_vis_font_texture.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "hecmw_vis_mem_util.h"
#include "hecmw_vis_color_mapping.h"
Include dependency graph for hecmw_vis_font_texture.c:

Go to the source code of this file.

Macros

#define BAR_WIDTH   10
 
#define EPSILON   0.00000001
 

Functions

void font7_generate (char input, int output[7][7])
 
void mark_time_label (double font_size, int xr, int yr, double font_color[3], double background_color[3], double start_time, double time_interval, int timestep, int max_len_step, double *image)
 
void value2_to_rgb (double value, double color[3], int color_system_type)
 
void generate_color_bar (int scale_marking_on, double font_size, int color_bar_style, int mark_0_on, int color_mapping_bar_on, int xr, int yr, double font_color[3], int color_system_type, int color_mapping_style, double *interval_point, int interval_mapping_num, int num_of_scale, double tmincolor, double tmaxcolor, double org_mincolor, double org_maxcolor, double *image)
 
unsigned short int change_short_int_order (unsigned short int n)
 
unsigned int change_unsigned_int_order (unsigned int n)
 
int change_int_order (int n)
 

Macro Definition Documentation

◆ BAR_WIDTH

#define BAR_WIDTH   10

Definition at line 14 of file hecmw_vis_font_texture.c.

◆ EPSILON

#define EPSILON   0.00000001

Definition at line 15 of file hecmw_vis_font_texture.c.

Function Documentation

◆ change_int_order()

int change_int_order ( int  n)

Definition at line 938 of file hecmw_vis_font_texture.c.

◆ change_short_int_order()

unsigned short int change_short_int_order ( unsigned short int  n)

Definition at line 861 of file hecmw_vis_font_texture.c.

◆ change_unsigned_int_order()

unsigned int change_unsigned_int_order ( unsigned int  n)

Definition at line 892 of file hecmw_vis_font_texture.c.

◆ font7_generate()

void font7_generate ( char  input,
int  output[7][7] 
)

Definition at line 182 of file hecmw_vis_font_texture.c.

◆ generate_color_bar()

void generate_color_bar ( int  scale_marking_on,
double  font_size,
int  color_bar_style,
int  mark_0_on,
int  color_mapping_bar_on,
int  xr,
int  yr,
double  font_color[3],
int  color_system_type,
int  color_mapping_style,
double *  interval_point,
int  interval_mapping_num,
int  num_of_scale,
double  tmincolor,
double  tmaxcolor,
double  org_mincolor,
double  org_maxcolor,
double *  image 
)

Definition at line 490 of file hecmw_vis_font_texture.c.

◆ mark_time_label()

void mark_time_label ( double  font_size,
int  xr,
int  yr,
double  font_color[3],
double  background_color[3],
double  start_time,
double  time_interval,
int  timestep,
int  max_len_step,
double *  image 
)

Definition at line 330 of file hecmw_vis_font_texture.c.

◆ value2_to_rgb()

void value2_to_rgb ( double  value,
double  color[3],
int  color_system_type 
)

Definition at line 392 of file hecmw_vis_font_texture.c.