[go: up one dir, main page]

File: kate-format-curve.doc

package info (click to toggle)
libkate 0.3.7-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,484 kB
  • ctags: 4,083
  • sloc: ansic: 10,002; sh: 8,853; yacc: 2,250; python: 721; lex: 362; makefile: 239
file content (27 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright (C) 2008 Vincent Penquerc'h.
   This file is part of the Kate codec library.
   Written by Vincent Penquerc'h.

   Use, distribution and reproduction of this library is governed
   by a BSD style source license included with this source in the
   file 'COPYING'. Please read these terms before distributing. */


/**

\page format_curve Format - curve

A curve definition consists of:

\li 8 bits for the curve type.
\li a \ref format_32v "variable length integer" for the number of points in this curve.
\li a \ref format_warp "warp".
\li 2 streams of \ref format_fp "floating point values" representing the curve.

Next, the data ends.

The points are interpreted differently for each curve type. Segments interpret these
points as segment end points, while splines interpret them as control points.

*/