File: bezctx.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 (13 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _BEZCTX_H
#define _BEZCTX_H
#include "bezctx_intf.h"

struct _bezctx {
    void (*moveto)(bezctx *bc, double x, double y, int is_open);
    void (*lineto)(bezctx *bc, double x, double y);
    void (*quadto)(bezctx *bc, double x1, double y1, double x2, double y2);
    void (*curveto)(bezctx *bc, double x1, double y1, double x2, double y2,
		    double x3, double y3);
    void (*mark_knot)(bezctx *bc, int knot_idx);
};
#endif