mirror of
https://github.com/jtheoof/swappy.git
synced 2024-09-11 14:55:49 +03:00
Compute maximum width and height of area container based on monitor size and fix image ratio based on appropriate values. Note that this will lower the resolution of the final image. Closes #56
13 lines
510 B
C
13 lines
510 B
C
#pragma once
|
|
|
|
#include "swappy.h"
|
|
|
|
GdkPixbuf *pixbuf_init_from_file(struct swappy_state *state);
|
|
GdkPixbuf *pixbuf_get_from_state(struct swappy_state *state);
|
|
void pixbuf_save_state_to_folder(GdkPixbuf *pixbuf, char *folder,
|
|
char *filename_format);
|
|
void pixbuf_save_to_file(GdkPixbuf *pixbuf, char *file);
|
|
void pixbuf_save_to_stdout(GdkPixbuf *pixbuf);
|
|
void pixbuf_scale_surface_from_widget(struct swappy_state *state,
|
|
GtkWidget *widget);
|