sway/include/swaybar/image.h
myrslint 17dc5071fd Extends former behavior to include loading of icons if they are
specified as an absolute path. Fixes size selection for SVG (scalable)
icons relying on whose nominal size read via gdk-pixbuf loader may not
correctly indicate that they can be scaled to neatly fill the available
scale e.g., symbolic icons from Adwaita specify a nominal size of 16x16.
2025-04-30 02:32:07 +00:00

7 lines
153 B
C

#ifndef _SWAYBAR_IMAGE_H
#define _SWAYBAR_IMAGE_H
#include <cairo.h>
cairo_surface_t *load_image(const char *path, int target_size, int scale);
#endif