diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-09-20 20:37:08 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-09-20 20:37:08 -0700 |
| commit | e5eca55fc5c8836cd61ec53cc02d71bafabfe1d5 (patch) | |
| tree | ee7316a573d5feb5332bb5cef509bd37faf5bcf7 /include/cairo.h | |
| parent | 4b4a18236d16564a245d048afbb7bf9349e9f955 (diff) | |
swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
Diffstat (limited to 'include/cairo.h')
| -rw-r--r-- | include/cairo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cairo.h b/include/cairo.h index 31672705..86530b60 100644 --- a/include/cairo.h +++ b/include/cairo.h @@ -2,8 +2,10 @@ #define _SWAY_CAIRO_H #include <stdint.h> #include <cairo/cairo.h> +#include <wlr/types/wlr_output.h> void cairo_set_source_u32(cairo_t *cairo, uint32_t color); +cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel); cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image, int width, int height); |
