C-Playground/lib/grapher.h

11 lines
507 B
C

#ifndef GRAPHER_H
#define GRAPHER_H
#include "bmp.h"
#include <stdint.h>
void grapher_draw_line_linear(const bitmap_file bitmap_file_in, const bitmap_pixel_color pixel_in, const int32_t x_origin_in, const int32_t y_origin_in, const int32_t x_end_in, const int32_t y_end_in);
void grapher_draw_line_lerp(const bitmap_file bitmap_file_in, const bitmap_pixel_color bitmap_pixel_in, int32_t x_origin_in, int32_t y_origin_in, const int32_t x_end_in, const int32_t y_end_in, const float lerp_step_in);
#endif