2015-08-22 13:26:11 +10:00
|
|
|
#ifndef _SWAY_RESIZE_H
|
|
|
|
#define _SWAY_RESIZE_H
|
2015-08-23 14:03:45 +10:00
|
|
|
#include <stdbool.h>
|
2015-08-22 13:26:11 +10:00
|
|
|
|
2016-07-04 03:11:21 +10:00
|
|
|
enum resize_dim_types {
|
|
|
|
RESIZE_DIM_PX,
|
|
|
|
RESIZE_DIM_PPT,
|
|
|
|
RESIZE_DIM_DEFAULT,
|
|
|
|
};
|
|
|
|
|
|
|
|
bool set_size(int dimension, bool use_width);
|
|
|
|
bool resize(int dimension, bool use_width, enum resize_dim_types dim_type);
|
2015-08-22 13:26:11 +10:00
|
|
|
|
|
|
|
#endif
|