mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-03 13:11:32 +00:00
20 lines
434 B
C
20 lines
434 B
C
#ifndef DRAW_H
|
|
#define DRAW_H
|
|
|
|
#define DISPLAY_SCALE 0.8889
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct SDL_Renderer SDL_Renderer;
|
|
extern SDL_Renderer* rend;
|
|
|
|
void SetDrawColour(uint32_t c);
|
|
void DrawClear(void);
|
|
void DrawPoint(int x, int y);
|
|
void DrawRect(int x, int y, int w, int h);
|
|
void DrawLine(int x1, int y1, int x2, int y2);
|
|
void DrawCircle(int x, int y, int r);
|
|
void DrawCircleSteps(int x, int y, int r, int steps);
|
|
|
|
#endif//DRAW_H
|