2020-01-20 01:26:04 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "swappy.h"
|
|
|
|
|
2021-02-15 05:06:41 +03:00
|
|
|
GdkPixbuf *pixbuf_init_from_file(struct swappy_state *state);
|
2020-01-20 02:09:15 +03:00
|
|
|
GdkPixbuf *pixbuf_get_from_state(struct swappy_state *state);
|
2020-11-10 01:04:03 +03:00
|
|
|
void pixbuf_save_state_to_folder(GdkPixbuf *pixbuf, char *folder,
|
|
|
|
char *filename_format);
|
2020-01-20 02:09:15 +03:00
|
|
|
void pixbuf_save_to_file(GdkPixbuf *pixbuf, char *file);
|
2020-11-10 01:04:03 +03:00
|
|
|
void pixbuf_save_to_stdout(GdkPixbuf *pixbuf);
|
2021-02-15 05:06:41 +03:00
|
|
|
void pixbuf_scale_surface_from_widget(struct swappy_state *state,
|
|
|
|
GtkWidget *widget);
|
2021-02-27 22:28:55 +03:00
|
|
|
void pixbuf_free(struct swappy_state *state);
|