|
PatchworkOS
|
#include "cmd.h"#include "font.h"#include "pixel.h"#include "rect.h"#include "surface.h"#include <stdint.h>Go to the source code of this file.
Typedefs | |
| typedef struct image | image_t |
Functions | |
| void | polygon_rotate (point_t *points, uint64_t pointCount, double angle, point_t center) |
| Rotate a polygon around a center point. | |
| bool | polygon_contains (double px, double py, const point_t *points, uint64_t pointCount) |
| Check if a point is inside a polygon. | |