Skip to content
Snippets Groups Projects
Select Git revision
  • e33bb7d2fde18a652f3adb4c62d9fdf963dbee96
  • main default protected
2 results

Beispiel-Exceldatei.xlsx

Blame
  • colour.h 556 B
    /* SPDX-FileCopyrightText: © 2022 Maik Herbers */
    /* SPDX-License-Identifier: GPL-3.0-or-later */
    
    #pragma once
    
    #include "common.h"
    
    enum colour_type {
    	colour_type_mono,
    	colour_type_cividis,
    	colour_type_viridis,
    };
    
    typedef void (*colour_function_t)(struct rgba_pix *, const mpc_t, struct temporaries, enum colour_type type);
    
    void get_colour_mono(struct rgba_pix *colour, const mpc_t val, struct temporaries tmps, enum colour_type type);
    void get_colour_cmap(struct rgba_pix *colour, const mpc_t val, struct temporaries tmps, enum colour_type type);