File: bezctx_intf.h

package info (click to toggle)
libspiro 20071029-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 1,276 kB
  • ctags: 90
  • sloc: sh: 7,907; ansic: 1,097; makefile: 53
file content (23 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _BEZCTX_INTF_H
#define _BEZCTX_INTF_H
typedef struct _bezctx bezctx;

bezctx *
new_bezctx(void);

void
bezctx_moveto(bezctx *bc, double x, double y, int is_open);

void
bezctx_lineto(bezctx *bc, double x, double y);

void
bezctx_quadto(bezctx *bc, double x1, double y1, double x2, double y2);

void
bezctx_curveto(bezctx *bc, double x1, double y1, double x2, double y2,
	       double x3, double y3);

void
bezctx_mark_knot(bezctx *bc, int knot_idx);
#endif