summaryrefslogtreecommitdiff
path: root/include/gui/pictureframe.h
blob: 59aaf3b7518f9f4305005323726e3d58c33e3d6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef UPEM_MORPHING_PITUREFRAME
#define UPEM_MORPHING_PITUREFRAME

/**
 * File: pictureframe.h
 */

typedef struct {
  Component component;
} PictureFrame;

void pictureframe_init(PictureFrame *pictureFrame, int length);

void pictureframe_free(PictureFrame *pictureFrame);

void pictureframe_draw_canvas(PictureFrame *pictureFrame, Canvas *canvas);

void pictureframe_draw_triangulation(PictureFrame *pictureFrame, void *triangulation);

void pictureframe_draw_point(PictureFrame *pictureFrame, int x_pos, int y_pos);

#endif