blob: f707d9c10f8dc3143726e10a616799b7d0362962 (
plain)
1
2
3
4
5
6
7
|
#pragma once
typedef struct { double x0, y0, x1, y1, x2, y2, x3, y3; } Rect;
Rect rotrect_create(double width, double height, double angle);
void rotrect_draw(Rect rect, double x, double y);
void rotrect(double x, double y, double width, double height, double angle);
|