aboutsummaryrefslogtreecommitdiffstats
path: root/include/cairo.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-09-22 13:56:51 -0500
committerLibravatar GitHub <noreply@github.com>2018-09-22 13:56:51 -0500
commit082488a81c491faa71ddc2c87fe985ef28f5d69d (patch)
treeee7316a573d5feb5332bb5cef509bd37faf5bcf7 /include/cairo.h
parentMerge pull request #2660 from RyanDwyer/fix-scratchpad-iteration (diff)
parentswaybar, swaylock, & tree/container: Set cairo font options to render text an... (diff)
downloadsway-082488a81c491faa71ddc2c87fe985ef28f5d69d.tar.gz
sway-082488a81c491faa71ddc2c87fe985ef28f5d69d.tar.zst
sway-082488a81c491faa71ddc2c87fe985ef28f5d69d.zip
Merge pull request #2677 from ggreer/pretty-fonts
Render fonts slightly nicer
Diffstat (limited to 'include/cairo.h')
-rw-r--r--include/cairo.h2
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 @@
2#define _SWAY_CAIRO_H 2#define _SWAY_CAIRO_H
3#include <stdint.h> 3#include <stdint.h>
4#include <cairo/cairo.h> 4#include <cairo/cairo.h>
5#include <wlr/types/wlr_output.h>
5 6
6void cairo_set_source_u32(cairo_t *cairo, uint32_t color); 7void cairo_set_source_u32(cairo_t *cairo, uint32_t color);
8cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel);
7 9
8cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image, 10cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image,
9 int width, int height); 11 int width, int height);