/* This file was generated by scramble.py. */
#line 1 "src/rgba.py"
#ifndef _RGBA_
#define _RGBA_
typedef struct State State;
#line 1
#include "main.h"
#define rgba_C(x) \
    x <= 0 ? 0 : x >= 1 ? 255 : (int)(x * 256);
#line 6
struct State {
    uint8_t * p;
    int l, h;
    uint8_t r, g, b, a;
    int x, y;
    float scale;
};
#line 17
void rgba_push(void);
#line 20
void rgba_pop(void);
#line 23
float rgba_get(float * bumpmap, int x, int y, int w, int h);
#line 26
void rgba_color(float r, float g, float b, uint8_t * p);
#line 32
uint8_t * rgba_p(uint8_t * p, int x, int y, int w);
#line 35
void rgba_coloradd(float r, float g, float b, uint8_t * p);
#line 43
void rgba_colormul(float r, float g, float b, uint8_t * p);
#line 51
void rgba_alpha(float a, uint8_t * p);
#line 60
void rgba_start(uint8_t * p, int l, int h);
#line 68
void rgba_putpixel(void);
#line 77
void rgba_fill(int wi, int lx, int rx, int hi);
#line 102
void rgba_moveto(int x, int y);
#line 106
void rgba_scale(float s);
#line 109
void rgba_moverel(int x, int y);
#line 113
void rgba_setcolor(float r, float g, float b);
#line 119
void rgba_lineto(int x, int y);
#line 148
void rgba_hline(int w);
#line 155
void rgba_circle(int w, int h);
#line 186
void rgba_arc(int w, int h, float a1, float a2);
#endif
/* This file was generated by scramble.py. */
