mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
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.
7 lines
153 B
C
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
|