| 1 |
/* Copyright (C) 2008 Vincent Penquerc'h. |
| 2 |
This file is part of the Kate codec library. |
| 3 |
Written by Vincent Penquerc'h. |
| 4 |
|
| 5 |
Use, distribution and reproduction of this library is governed |
| 6 |
by a BSD style source license included with this source in the |
| 7 |
file 'COPYING'. Please read these terms before distributing. */ |
| 8 |
|
| 9 |
|
| 10 |
/** |
| 11 |
|
| 12 |
\page format_curve Format - curve |
| 13 |
|
| 14 |
A curve definition consists of: |
| 15 |
|
| 16 |
\li 8 bits for the curve type. |
| 17 |
\li a \ref format_32v "variable length integer" for the number of points in this curve. |
| 18 |
\li a \ref format_warp "warp". |
| 19 |
\li 2 streams of \ref format_fp "floating point values" representing the curve. |
| 20 |
|
| 21 |
Next, the data ends. |
| 22 |
|
| 23 |
The points are interpreted differently for each curve type. Segments interpret these |
| 24 |
points as segment end points, while splines interpret them as control points. |
| 25 |
|
| 26 |
*/ |
| 27 |
|