cage/desktop/util.h
Jente Hidskes 9b1641aa14
output: add initial renderer
This will only render the clearing for now as there is no damage
tracking yet.
2020-10-18 22:44:57 +02:00

11 lines
224 B
C

#ifndef CG_UTIL_H
#define CG_UTIL_H
#include <wlr/types/wlr_box.h>
/** Apply scale to a width or height. */
int scale_length(int length, int offset, float scale);
void scale_box(struct wlr_box *box, float scale);
#endif