1. Changed license year
[apps/home/mobileprint.git] / mobileprint / previewgen / include / evas_render.h
1 /*
2 *  Mobileprint
3 *
4 * Copyright 2012  Samsung Electronics Co., Ltd
5
6 * Licensed under the Flora License, Version 1.1 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9
10 * http://floralicense.org/license/
11
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20 #ifndef _EVAS_RENDER_H_INCLUDED_
21 #define _EVAS_RENDER_H_INCLUDED_
22
23 #include <Evas.h>
24
25 #include "paper_size.h"
26
27
28 int init_buffer_canvas(Evas *canvas, const struct size_px *page_size);
29 int init_temp_buffer_canvas(Evas *canvas);
30 int reinit_buffer_canvas(Evas *canvas, const struct size_px *page_size);
31 Evas *create_canvas(const struct size_px *page_size);
32 void destroy_canvas(Evas *canvas);
33 void draw_scene(Evas *canvas);
34 void save_scene(Evas *canvas, const char *dest);
35
36 #endif /* _EVAS_RENDER_H_INCLUDED_ */
37