[go: up one dir, main page]

File: util.h

package info (click to toggle)
cage 0.1.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 372 kB
  • sloc: ansic: 2,770; sh: 53; makefile: 8
file content (11 lines) | stat: -rw-r--r-- 219 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#ifndef CG_UTIL_H
#define CG_UTIL_H

#include <wlr/util/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