mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
20 lines
495 B
C
20 lines
495 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef LABWC_GRAPHIC_HELPERS_H
|
|
#define LABWC_GRAPHIC_HELPERS_H
|
|
|
|
#include <cairo.h>
|
|
|
|
struct wlr_fbox;
|
|
|
|
/**
|
|
* Sets the cairo color.
|
|
* Splits a float[4] single color array into its own arguments
|
|
*/
|
|
void set_cairo_color(cairo_t *cairo, const float *color);
|
|
|
|
/* Draws a border with a specified line width */
|
|
void draw_cairo_border(cairo_t *cairo, struct wlr_fbox fbox, double line_width);
|
|
|
|
struct lab_data_buffer;
|
|
|
|
#endif /* LABWC_GRAPHIC_HELPERS_H */
|