keyrouter: Fix wrong return value
[platform/core/uifw/libds-tizen.git] / src / libds / region.h
1 #ifndef DS_REGION_H
2 #define DS_REGION_H
3
4 #include <pixman.h>
5 #include <wayland-server.h>
6
7 void 
8 ds_region_add(struct wl_client *client, uint32_t version, uint32_t id);
9
10 pixman_region32_t *
11 ds_region_from_resource(struct wl_resource *resource);
12
13 void
14 ds_region_transform(pixman_region32_t *dst, pixman_region32_t *src,
15         enum wl_output_transform transform, int width, int height);
16
17 void
18 ds_region_scale_xy(pixman_region32_t *dst, pixman_region32_t *src,
19         float scale_x, float scale_y);
20
21 void
22 ds_region_scale(pixman_region32_t *dst, pixman_region32_t *src, float scale);
23
24 #endif