diff options
Diffstat (limited to 'doc/gutenprint/html/group__curve.html')
-rw-r--r-- | doc/gutenprint/html/group__curve.html | 721 |
1 files changed, 340 insertions, 381 deletions
diff --git a/doc/gutenprint/html/group__curve.html b/doc/gutenprint/html/group__curve.html index 3d47ac2..b8c8c72 100644 --- a/doc/gutenprint/html/group__curve.html +++ b/doc/gutenprint/html/group__curve.html @@ -2,24 +2,30 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>libgutenprint API Reference: curve</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> -<link href="doxygen.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> -<!-- Generated by Doxygen 1.7.4 --> -<div id="top"> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> - <div id="projectname">libgutenprint API Reference <span id="projectnumber">5.2.7</span></div> + <div id="projectname">libgutenprint API Reference +  <span id="projectnumber">5.2.8</span> + </div> </td> </tr> </tbody> </table> </div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> @@ -29,7 +35,7 @@ <li><a href="files.html"><span>Files</span></a></li> </ul> </div> -</div> +</div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | @@ -38,143 +44,146 @@ <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">curve</div> </div> -</div> +</div><!--header--> <div class="contents"> <p>The curve type models a linear, spline or gamma curve. <a href="#details">More...</a></p> <table class="memberdecls"> -<tr><td colspan="2"><h2><a name="nested-classes"></a> +<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a> Data Structures</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structstp__curve__point__t.html">stp_curve_point_t</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Point (x,y) for piecewise curve. <a href="structstp__curve__point__t.html#details">More...</a><br/></td></tr> -<tr><td colspan="2"><h2><a name="typedef-members"></a> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structstp__curve__point__t.html">stp_curve_point_t</a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Point (x,y) for piecewise curve. <a href="structstp__curve__point__t.html#details">More...</a><br/></td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a> Typedefs</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">typedef struct stp_curve </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The curve opaque data type. <a href="#ga375a2b23705fb0698ae1d823243c8524"></a><br/></td></tr> -<tr><td colspan="2"><h2><a name="enum-members"></a> +<tr class="memitem:ga375a2b23705fb0698ae1d823243c8524"><td class="memItemLeft" align="right" valign="top">typedef struct stp_curve </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a></td></tr> +<tr class="memdesc:ga375a2b23705fb0698ae1d823243c8524"><td class="mdescLeft"> </td><td class="mdescRight">The curve opaque data type. <a href="#ga375a2b23705fb0698ae1d823243c8524"></a><br/></td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2><a name="enum-members"></a> Enumerations</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a> { <a class="el" href="group__curve.html#gga982f8191c84b049cc3ad3cee1558fc23a46228ddaa2d52a85ccd79c4dc0f76ad3">STP_CURVE_TYPE_LINEAR</a>, +<tr class="memitem:ga982f8191c84b049cc3ad3cee1558fc23"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a> { <a class="el" href="group__curve.html#gga982f8191c84b049cc3ad3cee1558fc23a46228ddaa2d52a85ccd79c4dc0f76ad3">STP_CURVE_TYPE_LINEAR</a>, <a class="el" href="group__curve.html#gga982f8191c84b049cc3ad3cee1558fc23afb1ffdc3754f428d8e3a2124e014ff77">STP_CURVE_TYPE_SPLINE</a> }</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Curve types. <a href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">More...</a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a> { <a class="el" href="group__curve.html#gga3ae3af552b490b0ca8b02e442ac9547aad840485ad7df768a06ee4be02d93b97a">STP_CURVE_WRAP_NONE</a>, +<tr class="memdesc:ga982f8191c84b049cc3ad3cee1558fc23"><td class="mdescLeft"> </td><td class="mdescRight">Curve types. <a href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">More...</a><br/></td></tr> +<tr class="memitem:ga3ae3af552b490b0ca8b02e442ac9547a"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a> { <a class="el" href="group__curve.html#gga3ae3af552b490b0ca8b02e442ac9547aad840485ad7df768a06ee4be02d93b97a">STP_CURVE_WRAP_NONE</a>, <a class="el" href="group__curve.html#gga3ae3af552b490b0ca8b02e442ac9547aac0361aebddfabfb263dc0205a61f6fbd">STP_CURVE_WRAP_AROUND</a> }</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Wrapping mode. <a href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">More...</a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a> { <a class="el" href="group__curve.html#gga7eddbee28cb1f3c76a19408b86ea142eac38b0bf09e93edb67c3e5c53035295f3">STP_CURVE_COMPOSE_ADD</a>, +<tr class="memdesc:ga3ae3af552b490b0ca8b02e442ac9547a"><td class="mdescLeft"> </td><td class="mdescRight">Wrapping mode. <a href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">More...</a><br/></td></tr> +<tr class="memitem:ga7eddbee28cb1f3c76a19408b86ea142e"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a> { <a class="el" href="group__curve.html#gga7eddbee28cb1f3c76a19408b86ea142eac38b0bf09e93edb67c3e5c53035295f3">STP_CURVE_COMPOSE_ADD</a>, <a class="el" href="group__curve.html#gga7eddbee28cb1f3c76a19408b86ea142ead3bd2cdb63498d5d22686e79e2c0ed95">STP_CURVE_COMPOSE_MULTIPLY</a>, <a class="el" href="group__curve.html#gga7eddbee28cb1f3c76a19408b86ea142ea8de151149fdfd4fcca78826e6352246a">STP_CURVE_COMPOSE_EXPONENTIATE</a> }</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Composition types. <a href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">More...</a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">stp_curve_bounds_t</a> { <a class="el" href="group__curve.html#gga86d146e483ca1902f973d574f542b85fa118d303bf7bdf4f00bda71cc6eac49c3">STP_CURVE_BOUNDS_RESCALE</a>, +<tr class="memdesc:ga7eddbee28cb1f3c76a19408b86ea142e"><td class="mdescLeft"> </td><td class="mdescRight">Composition types. <a href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">More...</a><br/></td></tr> +<tr class="memitem:ga86d146e483ca1902f973d574f542b85f"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">stp_curve_bounds_t</a> { <a class="el" href="group__curve.html#gga86d146e483ca1902f973d574f542b85fa118d303bf7bdf4f00bda71cc6eac49c3">STP_CURVE_BOUNDS_RESCALE</a>, <a class="el" href="group__curve.html#gga86d146e483ca1902f973d574f542b85faec9e6673edac9d34e3aad376fa711aa5">STP_CURVE_BOUNDS_CLIP</a>, <a class="el" href="group__curve.html#gga86d146e483ca1902f973d574f542b85fad699d675d5df223055388cd83d0b362b">STP_CURVE_BOUNDS_ERROR</a> }</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Behaviour when curve exceeds bounds. <a href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">More...</a><br/></td></tr> -<tr><td colspan="2"><h2><a name="func-members"></a> +<tr class="memdesc:ga86d146e483ca1902f973d574f542b85f"><td class="mdescLeft"> </td><td class="mdescRight">Behaviour when curve exceeds bounds. <a href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">More...</a><br/></td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga6b3640f0e25bd9d38e46bdc1b2ee58a4">stp_curve_create</a> (<a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a> wrap)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new curve. <a href="#ga6b3640f0e25bd9d38e46bdc1b2ee58a4"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga972ed591394396e0c66e928a0695b3bf">stp_curve_create_copy</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy and allocate a curve. <a href="#ga972ed591394396e0c66e928a0695b3bf"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gacd7861bf1c9d61ac4ec87844a15ab9d3">stp_curve_copy</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *dest, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *source)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy a curve. <a href="#gacd7861bf1c9d61ac4ec87844a15ab9d3"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga8c2aed234d3e4ddc4c239801be17bb73">stp_curve_create_reverse</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Reverse and allocate a curve. <a href="#ga8c2aed234d3e4ddc4c239801be17bb73"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga3416157017287eae136fb928802be234">stp_curve_reverse</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *dest, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *source)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Reverse a curve. <a href="#ga3416157017287eae136fb928802be234"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga4294b85e848fe421496469e2406ef380">stp_curve_destroy</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy an curve. <a href="#ga4294b85e848fe421496469e2406ef380"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gae32fb850963b8694d3739c0ed8475f75">stp_curve_set_bounds</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double low, double high)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the lower and upper bounds on a curve. <a href="#gae32fb850963b8694d3739c0ed8475f75"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga63c3386fbfd75da9fe985673bf7b1ca3">stp_curve_get_bounds</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double *low, double *high)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the lower and upper bounds on a curve. <a href="#ga63c3386fbfd75da9fe985673bf7b1ca3"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga859020827897bac0f4671322ec027dc4">stp_curve_get_wrap</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the wrapping mode. <a href="#ga859020827897bac0f4671322ec027dc4"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga29b022a3055afe0b48d1f2736ff2f4da">stp_curve_is_piecewise</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Determine whether the curve is piecewise. <a href="#ga29b022a3055afe0b48d1f2736ff2f4da"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gacb8e51731b9385556747744a0d4f43fb">stp_curve_get_range</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double *low, double *high)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga766ff02b29b976372779f719076ad017">stp_curve_count_points</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the number of allocated points in the curve. <a href="#ga766ff02b29b976372779f719076ad017"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga82890cef78f5861a88c5789c33693423">stp_curve_set_interpolation_type</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, <a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a> itype)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the curve interpolation type. <a href="#ga82890cef78f5861a88c5789c33693423"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga42c98a6a6d2512516738b6df9367510e">stp_curve_get_interpolation_type</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the curve interpolation type. <a href="#ga42c98a6a6d2512516738b6df9367510e"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga81bceb4cb991cef1cda2298cf7bb9f15">stp_curve_set_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const double *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set all data points of the curve. <a href="#ga81bceb4cb991cef1cda2298cf7bb9f15"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gace09cab4e6ae3d55f75aacae3689e8e6">stp_curve_set_data_points</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const <a class="el" href="structstp__curve__point__t.html">stp_curve_point_t</a> *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set all data points of the curve. <a href="#gace09cab4e6ae3d55f75aacae3689e8e6"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gabd7a39289471607311141c7fc3bbb415">stp_curve_set_float_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const float *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from float values. <a href="#gabd7a39289471607311141c7fc3bbb415"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gae6a435a21a5c4b5e582d42095a7b06fc">stp_curve_set_long_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const long *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from long values. <a href="#gae6a435a21a5c4b5e582d42095a7b06fc"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga723173297f5b67af937205c7d74ac353">stp_curve_set_ulong_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const unsigned long *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from unsigned long values. <a href="#ga723173297f5b67af937205c7d74ac353"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga31e76843f4d2f207701755b58766a670">stp_curve_set_int_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const int *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from integer values. <a href="#ga31e76843f4d2f207701755b58766a670"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga3ee80f8e4f33691a78b3ad8c3fd7c34f">stp_curve_set_uint_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const unsigned int *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from unsigned integer values. <a href="#ga3ee80f8e4f33691a78b3ad8c3fd7c34f"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga2fa5222aab07e85f215e389734b6dbea">stp_curve_set_short_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const short *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from short values. <a href="#ga2fa5222aab07e85f215e389734b6dbea"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga0af395eefa7bfe0d19acc1acbaeefe48">stp_curve_set_ushort_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const unsigned short *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from unsigned short values. <a href="#ga0af395eefa7bfe0d19acc1acbaeefe48"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga5cbf7c4b6ad96ecb35fc06f46c0319f0">stp_curve_get_subrange</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t start, size_t count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a curve containing a subrange of data. <a href="#ga5cbf7c4b6ad96ecb35fc06f46c0319f0"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga73dfcc4c95734449965227e21deb3037">stp_curve_set_subrange</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *range, size_t start)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const double * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gab2208f56694e47e4300d10e057f59ee8">stp_curve_get_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to the curve's raw data. <a href="#gab2208f56694e47e4300d10e057f59ee8"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structstp__curve__point__t.html">stp_curve_point_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga79e0d6afa3573917c756af64b56a0d82">stp_curve_get_data_points</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to the curve's raw data as points. <a href="#ga79e0d6afa3573917c756af64b56a0d82"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga251f105cb5f2b126ea02b7908f717c18">stp_curve_get_float_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as floats. <a href="#ga251f105cb5f2b126ea02b7908f717c18"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const long * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaf59bd38c9dfc7beb08a283dc9e400bf2">stp_curve_get_long_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as longs. <a href="#gaf59bd38c9dfc7beb08a283dc9e400bf2"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const unsigned long * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga24a862eda4cdbb626f51aeb7d8ae9a50">stp_curve_get_ulong_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as unsigned longs. <a href="#ga24a862eda4cdbb626f51aeb7d8ae9a50"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const int * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga6de80e81b64262e0051441f697ae4de4">stp_curve_get_int_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as integers. <a href="#ga6de80e81b64262e0051441f697ae4de4"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const unsigned int * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga19b3160a57dc6959fe08c631c7206a8a">stp_curve_get_uint_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as unsigned integers. <a href="#ga19b3160a57dc6959fe08c631c7206a8a"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const short * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga87c5d1904efa58be8a21ab6b2c41d0b9">stp_curve_get_short_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as shorts. <a href="#ga87c5d1904efa58be8a21ab6b2c41d0b9"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const unsigned short * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaa02125af6b9c192e34985851370391b8">stp_curve_get_ushort_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as unsigned shorts. <a href="#gaa02125af6b9c192e34985851370391b8"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__sequence.html#ga327a46aa1d782a4cd53abf306068e272">stp_sequence_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gade323594e84d4380c88ecf122a5a4da8">stp_curve_get_sequence</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the underlying stp_sequence_t data structure which stp_curve_t is derived from. <a href="#gade323594e84d4380c88ecf122a5a4da8"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gacb8a2b9b21f97f32faacb99a6125e152">stp_curve_set_gamma</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double f_gamma)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the gamma of a curve. <a href="#gacb8a2b9b21f97f32faacb99a6125e152"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga0420a6cfa87aa96e5c9a56142aa0178d">stp_curve_get_gamma</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the gamma value of the curve. <a href="#ga0420a6cfa87aa96e5c9a56142aa0178d"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga2d3b8372bde3fce699a3b7bb3c9d8582">stp_curve_set_point</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t where, double data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a point along the curve. <a href="#ga2d3b8372bde3fce699a3b7bb3c9d8582"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga569aae57147ed7681f23e0e60bd8af35">stp_curve_get_point</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t where, double *data)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a point along the curve. <a href="#ga569aae57147ed7681f23e0e60bd8af35"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gab33642ee6c49334f379a4dc185ecd355">stp_curve_interpolate_value</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double where, double *result)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Interpolate a point along the curve. <a href="#gab33642ee6c49334f379a4dc185ecd355"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga87298cf562468cbcf2c1f76a0ab80b62">stp_curve_resample</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t points)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Resample a curve (change the number of points). <a href="#ga87298cf562468cbcf2c1f76a0ab80b62"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaad611b3ddbd667ec204fa7b42f8d7546">stp_curve_rescale</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double scale, <a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a> mode, <a class="el" href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">stp_curve_bounds_t</a> bounds_mode)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Rescale a curve (multiply all points by a scaling constant). <a href="#gaad611b3ddbd667ec204fa7b42f8d7546"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gac12af55cf0eb2f76db967886f8996313">stp_curve_write</a> (FILE *file, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Write a curve to a file. <a href="#gac12af55cf0eb2f76db967886f8996313"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaf2f0da590278ff74af1eccb0aa0c7169">stp_curve_write_string</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Write a curve to a string. <a href="#gaf2f0da590278ff74af1eccb0aa0c7169"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga478a24e44a3ce345f7207cf7ded12e37">stp_curve_create_from_stream</a> (FILE *fp)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a curve from a stream. <a href="#ga478a24e44a3ce345f7207cf7ded12e37"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gad96d7d1cda5f037f7d6a9b651ebbbb46">stp_curve_create_from_file</a> (const char *file)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a curve from a stream. <a href="#gad96d7d1cda5f037f7d6a9b651ebbbb46"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gab8c0df217306a6e0597f058efbfaca82">stp_curve_create_from_string</a> (const char *string)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a curve from a string. <a href="#gab8c0df217306a6e0597f058efbfaca82"></a><br/></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga55c83a9139fc1b06b90e983d7c1ceff7">stp_curve_compose</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> **retval, <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *a, <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *b, <a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a> mode, int points)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Compose two curves, creating a third curve. <a href="#ga55c83a9139fc1b06b90e983d7c1ceff7"></a><br/></td></tr> +<tr class="memitem:ga6b3640f0e25bd9d38e46bdc1b2ee58a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga6b3640f0e25bd9d38e46bdc1b2ee58a4">stp_curve_create</a> (<a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a> wrap)</td></tr> +<tr class="memdesc:ga6b3640f0e25bd9d38e46bdc1b2ee58a4"><td class="mdescLeft"> </td><td class="mdescRight">Create a new curve. <a href="#ga6b3640f0e25bd9d38e46bdc1b2ee58a4"></a><br/></td></tr> +<tr class="memitem:ga972ed591394396e0c66e928a0695b3bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga972ed591394396e0c66e928a0695b3bf">stp_curve_create_copy</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga972ed591394396e0c66e928a0695b3bf"><td class="mdescLeft"> </td><td class="mdescRight">Copy and allocate a curve. <a href="#ga972ed591394396e0c66e928a0695b3bf"></a><br/></td></tr> +<tr class="memitem:gacd7861bf1c9d61ac4ec87844a15ab9d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gacd7861bf1c9d61ac4ec87844a15ab9d3">stp_curve_copy</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *dest, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *source)</td></tr> +<tr class="memdesc:gacd7861bf1c9d61ac4ec87844a15ab9d3"><td class="mdescLeft"> </td><td class="mdescRight">Copy a curve. <a href="#gacd7861bf1c9d61ac4ec87844a15ab9d3"></a><br/></td></tr> +<tr class="memitem:ga8c2aed234d3e4ddc4c239801be17bb73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga8c2aed234d3e4ddc4c239801be17bb73">stp_curve_create_reverse</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga8c2aed234d3e4ddc4c239801be17bb73"><td class="mdescLeft"> </td><td class="mdescRight">Reverse and allocate a curve. <a href="#ga8c2aed234d3e4ddc4c239801be17bb73"></a><br/></td></tr> +<tr class="memitem:ga3416157017287eae136fb928802be234"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga3416157017287eae136fb928802be234">stp_curve_reverse</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *dest, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *source)</td></tr> +<tr class="memdesc:ga3416157017287eae136fb928802be234"><td class="mdescLeft"> </td><td class="mdescRight">Reverse a curve. <a href="#ga3416157017287eae136fb928802be234"></a><br/></td></tr> +<tr class="memitem:ga4294b85e848fe421496469e2406ef380"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga4294b85e848fe421496469e2406ef380">stp_curve_destroy</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga4294b85e848fe421496469e2406ef380"><td class="mdescLeft"> </td><td class="mdescRight">Destroy an curve. <a href="#ga4294b85e848fe421496469e2406ef380"></a><br/></td></tr> +<tr class="memitem:gae32fb850963b8694d3739c0ed8475f75"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gae32fb850963b8694d3739c0ed8475f75">stp_curve_set_bounds</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double low, double high)</td></tr> +<tr class="memdesc:gae32fb850963b8694d3739c0ed8475f75"><td class="mdescLeft"> </td><td class="mdescRight">Set the lower and upper bounds on a curve. <a href="#gae32fb850963b8694d3739c0ed8475f75"></a><br/></td></tr> +<tr class="memitem:ga63c3386fbfd75da9fe985673bf7b1ca3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga63c3386fbfd75da9fe985673bf7b1ca3">stp_curve_get_bounds</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double *low, double *high)</td></tr> +<tr class="memdesc:ga63c3386fbfd75da9fe985673bf7b1ca3"><td class="mdescLeft"> </td><td class="mdescRight">Get the lower and upper bounds on a curve. <a href="#ga63c3386fbfd75da9fe985673bf7b1ca3"></a><br/></td></tr> +<tr class="memitem:ga859020827897bac0f4671322ec027dc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga859020827897bac0f4671322ec027dc4">stp_curve_get_wrap</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga859020827897bac0f4671322ec027dc4"><td class="mdescLeft"> </td><td class="mdescRight">Get the wrapping mode. <a href="#ga859020827897bac0f4671322ec027dc4"></a><br/></td></tr> +<tr class="memitem:ga29b022a3055afe0b48d1f2736ff2f4da"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga29b022a3055afe0b48d1f2736ff2f4da">stp_curve_is_piecewise</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga29b022a3055afe0b48d1f2736ff2f4da"><td class="mdescLeft"> </td><td class="mdescRight">Determine whether the curve is piecewise. <a href="#ga29b022a3055afe0b48d1f2736ff2f4da"></a><br/></td></tr> +<tr class="memitem:gacb8e51731b9385556747744a0d4f43fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gacb8e51731b9385556747744a0d4f43fb">stp_curve_get_range</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double *low, double *high)</td></tr> +<tr class="memitem:ga766ff02b29b976372779f719076ad017"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga766ff02b29b976372779f719076ad017">stp_curve_count_points</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga766ff02b29b976372779f719076ad017"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of allocated points in the curve. <a href="#ga766ff02b29b976372779f719076ad017"></a><br/></td></tr> +<tr class="memitem:ga82890cef78f5861a88c5789c33693423"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga82890cef78f5861a88c5789c33693423">stp_curve_set_interpolation_type</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, <a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a> itype)</td></tr> +<tr class="memdesc:ga82890cef78f5861a88c5789c33693423"><td class="mdescLeft"> </td><td class="mdescRight">Set the curve interpolation type. <a href="#ga82890cef78f5861a88c5789c33693423"></a><br/></td></tr> +<tr class="memitem:ga42c98a6a6d2512516738b6df9367510e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga42c98a6a6d2512516738b6df9367510e">stp_curve_get_interpolation_type</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga42c98a6a6d2512516738b6df9367510e"><td class="mdescLeft"> </td><td class="mdescRight">Get the curve interpolation type. <a href="#ga42c98a6a6d2512516738b6df9367510e"></a><br/></td></tr> +<tr class="memitem:ga81bceb4cb991cef1cda2298cf7bb9f15"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga81bceb4cb991cef1cda2298cf7bb9f15">stp_curve_set_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const double *data)</td></tr> +<tr class="memdesc:ga81bceb4cb991cef1cda2298cf7bb9f15"><td class="mdescLeft"> </td><td class="mdescRight">Set all data points of the curve. <a href="#ga81bceb4cb991cef1cda2298cf7bb9f15"></a><br/></td></tr> +<tr class="memitem:gace09cab4e6ae3d55f75aacae3689e8e6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gace09cab4e6ae3d55f75aacae3689e8e6">stp_curve_set_data_points</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const <a class="el" href="structstp__curve__point__t.html">stp_curve_point_t</a> *data)</td></tr> +<tr class="memdesc:gace09cab4e6ae3d55f75aacae3689e8e6"><td class="mdescLeft"> </td><td class="mdescRight">Set all data points of the curve. <a href="#gace09cab4e6ae3d55f75aacae3689e8e6"></a><br/></td></tr> +<tr class="memitem:gabd7a39289471607311141c7fc3bbb415"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gabd7a39289471607311141c7fc3bbb415">stp_curve_set_float_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const float *data)</td></tr> +<tr class="memdesc:gabd7a39289471607311141c7fc3bbb415"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from float values. <a href="#gabd7a39289471607311141c7fc3bbb415"></a><br/></td></tr> +<tr class="memitem:gae6a435a21a5c4b5e582d42095a7b06fc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gae6a435a21a5c4b5e582d42095a7b06fc">stp_curve_set_long_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const long *data)</td></tr> +<tr class="memdesc:gae6a435a21a5c4b5e582d42095a7b06fc"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from long values. <a href="#gae6a435a21a5c4b5e582d42095a7b06fc"></a><br/></td></tr> +<tr class="memitem:ga723173297f5b67af937205c7d74ac353"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga723173297f5b67af937205c7d74ac353">stp_curve_set_ulong_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const unsigned long *data)</td></tr> +<tr class="memdesc:ga723173297f5b67af937205c7d74ac353"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from unsigned long values. <a href="#ga723173297f5b67af937205c7d74ac353"></a><br/></td></tr> +<tr class="memitem:ga31e76843f4d2f207701755b58766a670"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga31e76843f4d2f207701755b58766a670">stp_curve_set_int_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const int *data)</td></tr> +<tr class="memdesc:ga31e76843f4d2f207701755b58766a670"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from integer values. <a href="#ga31e76843f4d2f207701755b58766a670"></a><br/></td></tr> +<tr class="memitem:ga3ee80f8e4f33691a78b3ad8c3fd7c34f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga3ee80f8e4f33691a78b3ad8c3fd7c34f">stp_curve_set_uint_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const unsigned int *data)</td></tr> +<tr class="memdesc:ga3ee80f8e4f33691a78b3ad8c3fd7c34f"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from unsigned integer values. <a href="#ga3ee80f8e4f33691a78b3ad8c3fd7c34f"></a><br/></td></tr> +<tr class="memitem:ga2fa5222aab07e85f215e389734b6dbea"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga2fa5222aab07e85f215e389734b6dbea">stp_curve_set_short_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const short *data)</td></tr> +<tr class="memdesc:ga2fa5222aab07e85f215e389734b6dbea"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from short values. <a href="#ga2fa5222aab07e85f215e389734b6dbea"></a><br/></td></tr> +<tr class="memitem:ga0af395eefa7bfe0d19acc1acbaeefe48"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga0af395eefa7bfe0d19acc1acbaeefe48">stp_curve_set_ushort_data</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t count, const unsigned short *data)</td></tr> +<tr class="memdesc:ga0af395eefa7bfe0d19acc1acbaeefe48"><td class="mdescLeft"> </td><td class="mdescRight">Set the data points in a curve from unsigned short values. <a href="#ga0af395eefa7bfe0d19acc1acbaeefe48"></a><br/></td></tr> +<tr class="memitem:ga5cbf7c4b6ad96ecb35fc06f46c0319f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga5cbf7c4b6ad96ecb35fc06f46c0319f0">stp_curve_get_subrange</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t start, size_t count)</td></tr> +<tr class="memdesc:ga5cbf7c4b6ad96ecb35fc06f46c0319f0"><td class="mdescLeft"> </td><td class="mdescRight">Get a curve containing a subrange of data. <a href="#ga5cbf7c4b6ad96ecb35fc06f46c0319f0"></a><br/></td></tr> +<tr class="memitem:ga73dfcc4c95734449965227e21deb3037"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga73dfcc4c95734449965227e21deb3037">stp_curve_set_subrange</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *range, size_t start)</td></tr> +<tr class="memitem:gab2208f56694e47e4300d10e057f59ee8"><td class="memItemLeft" align="right" valign="top">const double * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gab2208f56694e47e4300d10e057f59ee8">stp_curve_get_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:gab2208f56694e47e4300d10e057f59ee8"><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to the curve's raw data. <a href="#gab2208f56694e47e4300d10e057f59ee8"></a><br/></td></tr> +<tr class="memitem:ga79e0d6afa3573917c756af64b56a0d82"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structstp__curve__point__t.html">stp_curve_point_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga79e0d6afa3573917c756af64b56a0d82">stp_curve_get_data_points</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:ga79e0d6afa3573917c756af64b56a0d82"><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to the curve's raw data as points. <a href="#ga79e0d6afa3573917c756af64b56a0d82"></a><br/></td></tr> +<tr class="memitem:ga251f105cb5f2b126ea02b7908f717c18"><td class="memItemLeft" align="right" valign="top">const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga251f105cb5f2b126ea02b7908f717c18">stp_curve_get_float_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:ga251f105cb5f2b126ea02b7908f717c18"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as floats. <a href="#ga251f105cb5f2b126ea02b7908f717c18"></a><br/></td></tr> +<tr class="memitem:gaf59bd38c9dfc7beb08a283dc9e400bf2"><td class="memItemLeft" align="right" valign="top">const long * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaf59bd38c9dfc7beb08a283dc9e400bf2">stp_curve_get_long_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:gaf59bd38c9dfc7beb08a283dc9e400bf2"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as longs. <a href="#gaf59bd38c9dfc7beb08a283dc9e400bf2"></a><br/></td></tr> +<tr class="memitem:ga24a862eda4cdbb626f51aeb7d8ae9a50"><td class="memItemLeft" align="right" valign="top">const unsigned long * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga24a862eda4cdbb626f51aeb7d8ae9a50">stp_curve_get_ulong_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:ga24a862eda4cdbb626f51aeb7d8ae9a50"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as unsigned longs. <a href="#ga24a862eda4cdbb626f51aeb7d8ae9a50"></a><br/></td></tr> +<tr class="memitem:ga6de80e81b64262e0051441f697ae4de4"><td class="memItemLeft" align="right" valign="top">const int * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga6de80e81b64262e0051441f697ae4de4">stp_curve_get_int_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:ga6de80e81b64262e0051441f697ae4de4"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as integers. <a href="#ga6de80e81b64262e0051441f697ae4de4"></a><br/></td></tr> +<tr class="memitem:ga19b3160a57dc6959fe08c631c7206a8a"><td class="memItemLeft" align="right" valign="top">const unsigned int * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga19b3160a57dc6959fe08c631c7206a8a">stp_curve_get_uint_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:ga19b3160a57dc6959fe08c631c7206a8a"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as unsigned integers. <a href="#ga19b3160a57dc6959fe08c631c7206a8a"></a><br/></td></tr> +<tr class="memitem:ga87c5d1904efa58be8a21ab6b2c41d0b9"><td class="memItemLeft" align="right" valign="top">const short * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga87c5d1904efa58be8a21ab6b2c41d0b9">stp_curve_get_short_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:ga87c5d1904efa58be8a21ab6b2c41d0b9"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as shorts. <a href="#ga87c5d1904efa58be8a21ab6b2c41d0b9"></a><br/></td></tr> +<tr class="memitem:gaa02125af6b9c192e34985851370391b8"><td class="memItemLeft" align="right" valign="top">const unsigned short * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaa02125af6b9c192e34985851370391b8">stp_curve_get_ushort_data</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t *count)</td></tr> +<tr class="memdesc:gaa02125af6b9c192e34985851370391b8"><td class="mdescLeft"> </td><td class="mdescRight">Get pointer to the curve's raw data as unsigned shorts. <a href="#gaa02125af6b9c192e34985851370391b8"></a><br/></td></tr> +<tr class="memitem:gade323594e84d4380c88ecf122a5a4da8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__sequence.html#ga327a46aa1d782a4cd53abf306068e272">stp_sequence_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gade323594e84d4380c88ecf122a5a4da8">stp_curve_get_sequence</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:gade323594e84d4380c88ecf122a5a4da8"><td class="mdescLeft"> </td><td class="mdescRight">Get the underlying stp_sequence_t data structure which stp_curve_t is derived from. <a href="#gade323594e84d4380c88ecf122a5a4da8"></a><br/></td></tr> +<tr class="memitem:gacb8a2b9b21f97f32faacb99a6125e152"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gacb8a2b9b21f97f32faacb99a6125e152">stp_curve_set_gamma</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double f_gamma)</td></tr> +<tr class="memdesc:gacb8a2b9b21f97f32faacb99a6125e152"><td class="mdescLeft"> </td><td class="mdescRight">Set the gamma of a curve. <a href="#gacb8a2b9b21f97f32faacb99a6125e152"></a><br/></td></tr> +<tr class="memitem:ga0420a6cfa87aa96e5c9a56142aa0178d"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga0420a6cfa87aa96e5c9a56142aa0178d">stp_curve_get_gamma</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:ga0420a6cfa87aa96e5c9a56142aa0178d"><td class="mdescLeft"> </td><td class="mdescRight">Get the gamma value of the curve. <a href="#ga0420a6cfa87aa96e5c9a56142aa0178d"></a><br/></td></tr> +<tr class="memitem:ga2d3b8372bde3fce699a3b7bb3c9d8582"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga2d3b8372bde3fce699a3b7bb3c9d8582">stp_curve_set_point</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t where, double data)</td></tr> +<tr class="memdesc:ga2d3b8372bde3fce699a3b7bb3c9d8582"><td class="mdescLeft"> </td><td class="mdescRight">Set a point along the curve. <a href="#ga2d3b8372bde3fce699a3b7bb3c9d8582"></a><br/></td></tr> +<tr class="memitem:ga569aae57147ed7681f23e0e60bd8af35"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga569aae57147ed7681f23e0e60bd8af35">stp_curve_get_point</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t where, double *data)</td></tr> +<tr class="memdesc:ga569aae57147ed7681f23e0e60bd8af35"><td class="mdescLeft"> </td><td class="mdescRight">Get a point along the curve. <a href="#ga569aae57147ed7681f23e0e60bd8af35"></a><br/></td></tr> +<tr class="memitem:gab33642ee6c49334f379a4dc185ecd355"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gab33642ee6c49334f379a4dc185ecd355">stp_curve_interpolate_value</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double where, double *result)</td></tr> +<tr class="memdesc:gab33642ee6c49334f379a4dc185ecd355"><td class="mdescLeft"> </td><td class="mdescRight">Interpolate a point along the curve. <a href="#gab33642ee6c49334f379a4dc185ecd355"></a><br/></td></tr> +<tr class="memitem:ga87298cf562468cbcf2c1f76a0ab80b62"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga87298cf562468cbcf2c1f76a0ab80b62">stp_curve_resample</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, size_t points)</td></tr> +<tr class="memdesc:ga87298cf562468cbcf2c1f76a0ab80b62"><td class="mdescLeft"> </td><td class="mdescRight">Resample a curve (change the number of points). <a href="#ga87298cf562468cbcf2c1f76a0ab80b62"></a><br/></td></tr> +<tr class="memitem:gaad611b3ddbd667ec204fa7b42f8d7546"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaad611b3ddbd667ec204fa7b42f8d7546">stp_curve_rescale</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve, double scale, <a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a> mode, <a class="el" href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">stp_curve_bounds_t</a> bounds_mode)</td></tr> +<tr class="memdesc:gaad611b3ddbd667ec204fa7b42f8d7546"><td class="mdescLeft"> </td><td class="mdescRight">Rescale a curve (multiply all points by a scaling constant). <a href="#gaad611b3ddbd667ec204fa7b42f8d7546"></a><br/></td></tr> +<tr class="memitem:gac12af55cf0eb2f76db967886f8996313"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gac12af55cf0eb2f76db967886f8996313">stp_curve_write</a> (FILE *file, const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:gac12af55cf0eb2f76db967886f8996313"><td class="mdescLeft"> </td><td class="mdescRight">Write a curve to a file. <a href="#gac12af55cf0eb2f76db967886f8996313"></a><br/></td></tr> +<tr class="memitem:gaf2f0da590278ff74af1eccb0aa0c7169"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gaf2f0da590278ff74af1eccb0aa0c7169">stp_curve_write_string</a> (const <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *curve)</td></tr> +<tr class="memdesc:gaf2f0da590278ff74af1eccb0aa0c7169"><td class="mdescLeft"> </td><td class="mdescRight">Write a curve to a string. <a href="#gaf2f0da590278ff74af1eccb0aa0c7169"></a><br/></td></tr> +<tr class="memitem:ga478a24e44a3ce345f7207cf7ded12e37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga478a24e44a3ce345f7207cf7ded12e37">stp_curve_create_from_stream</a> (FILE *fp)</td></tr> +<tr class="memdesc:ga478a24e44a3ce345f7207cf7ded12e37"><td class="mdescLeft"> </td><td class="mdescRight">Create a curve from a stream. <a href="#ga478a24e44a3ce345f7207cf7ded12e37"></a><br/></td></tr> +<tr class="memitem:gad96d7d1cda5f037f7d6a9b651ebbbb46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gad96d7d1cda5f037f7d6a9b651ebbbb46">stp_curve_create_from_file</a> (const char *file)</td></tr> +<tr class="memdesc:gad96d7d1cda5f037f7d6a9b651ebbbb46"><td class="mdescLeft"> </td><td class="mdescRight">Create a curve from a stream. <a href="#gad96d7d1cda5f037f7d6a9b651ebbbb46"></a><br/></td></tr> +<tr class="memitem:gab8c0df217306a6e0597f058efbfaca82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#gab8c0df217306a6e0597f058efbfaca82">stp_curve_create_from_string</a> (const char *string)</td></tr> +<tr class="memdesc:gab8c0df217306a6e0597f058efbfaca82"><td class="mdescLeft"> </td><td class="mdescRight">Create a curve from a string. <a href="#gab8c0df217306a6e0597f058efbfaca82"></a><br/></td></tr> +<tr class="memitem:ga55c83a9139fc1b06b90e983d7c1ceff7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__curve.html#ga55c83a9139fc1b06b90e983d7c1ceff7">stp_curve_compose</a> (<a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> **retval, <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *a, <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a> *b, <a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a> mode, int points)</td></tr> +<tr class="memdesc:ga55c83a9139fc1b06b90e983d7c1ceff7"><td class="mdescLeft"> </td><td class="mdescRight">Compose two curves, creating a third curve. <a href="#ga55c83a9139fc1b06b90e983d7c1ceff7"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <p>The curve type models a linear, spline or gamma curve. </p> <p>curve "inherits" from the sequence data structure (implemented via containment), since the curve data is represented internally as a sequence of numbers, for linear and spline curves. Linear Piecewise Curves (LPCs) should be implemented in the future which represent a curve in a more compact format.</p> <p>Various operations are supported, including interpolation and composition. </p> <hr/><h2>Typedef Documentation</h2> -<a class="anchor" id="ga375a2b23705fb0698ae1d823243c8524"></a><!-- doxytag: member="curve.h::stp_curve_t" ref="ga375a2b23705fb0698ae1d823243c8524" args="" --> +<a class="anchor" id="ga375a2b23705fb0698ae1d823243c8524"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -182,15 +191,14 @@ Functions</h2></td></tr> <td class="memname">typedef struct stp_curve <a class="el" href="group__curve.html#ga375a2b23705fb0698ae1d823243c8524">stp_curve_t</a></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>The curve opaque data type. </p> </div> </div> <hr/><h2>Enumeration Type Documentation</h2> -<a class="anchor" id="ga86d146e483ca1902f973d574f542b85f"></a><!-- doxytag: member="curve.h::stp_curve_bounds_t" ref="ga86d146e483ca1902f973d574f542b85f" args="" --> +<a class="anchor" id="ga86d146e483ca1902f973d574f542b85f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -198,18 +206,17 @@ Functions</h2></td></tr> <td class="memname">enum <a class="el" href="group__curve.html#ga86d146e483ca1902f973d574f542b85f">stp_curve_bounds_t</a></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Behaviour when curve exceeds bounds. </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> -<tr><td valign="top"><em><a class="anchor" id="gga86d146e483ca1902f973d574f542b85fa118d303bf7bdf4f00bda71cc6eac49c3"></a><!-- doxytag: member="STP_CURVE_BOUNDS_RESCALE" ref="gga86d146e483ca1902f973d574f542b85fa118d303bf7bdf4f00bda71cc6eac49c3" args="" -->STP_CURVE_BOUNDS_RESCALE</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga86d146e483ca1902f973d574f542b85fa118d303bf7bdf4f00bda71cc6eac49c3"></a>STP_CURVE_BOUNDS_RESCALE</em> </td><td> <p>Rescale the bounds. </p> </td></tr> -<tr><td valign="top"><em><a class="anchor" id="gga86d146e483ca1902f973d574f542b85faec9e6673edac9d34e3aad376fa711aa5"></a><!-- doxytag: member="STP_CURVE_BOUNDS_CLIP" ref="gga86d146e483ca1902f973d574f542b85faec9e6673edac9d34e3aad376fa711aa5" args="" -->STP_CURVE_BOUNDS_CLIP</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga86d146e483ca1902f973d574f542b85faec9e6673edac9d34e3aad376fa711aa5"></a>STP_CURVE_BOUNDS_CLIP</em> </td><td> <p>Clip the curve to the existing bounds. </p> </td></tr> -<tr><td valign="top"><em><a class="anchor" id="gga86d146e483ca1902f973d574f542b85fad699d675d5df223055388cd83d0b362b"></a><!-- doxytag: member="STP_CURVE_BOUNDS_ERROR" ref="gga86d146e483ca1902f973d574f542b85fad699d675d5df223055388cd83d0b362b" args="" -->STP_CURVE_BOUNDS_ERROR</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga86d146e483ca1902f973d574f542b85fad699d675d5df223055388cd83d0b362b"></a>STP_CURVE_BOUNDS_ERROR</em> </td><td> <p>Error if bounds are violated. </p> </td></tr> </table> @@ -218,7 +225,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="ga7eddbee28cb1f3c76a19408b86ea142e"></a><!-- doxytag: member="curve.h::stp_curve_compose_t" ref="ga7eddbee28cb1f3c76a19408b86ea142e" args="" --> +<a class="anchor" id="ga7eddbee28cb1f3c76a19408b86ea142e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -226,18 +233,17 @@ Functions</h2></td></tr> <td class="memname">enum <a class="el" href="group__curve.html#ga7eddbee28cb1f3c76a19408b86ea142e">stp_curve_compose_t</a></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Composition types. </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> -<tr><td valign="top"><em><a class="anchor" id="gga7eddbee28cb1f3c76a19408b86ea142eac38b0bf09e93edb67c3e5c53035295f3"></a><!-- doxytag: member="STP_CURVE_COMPOSE_ADD" ref="gga7eddbee28cb1f3c76a19408b86ea142eac38b0bf09e93edb67c3e5c53035295f3" args="" -->STP_CURVE_COMPOSE_ADD</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga7eddbee28cb1f3c76a19408b86ea142eac38b0bf09e93edb67c3e5c53035295f3"></a>STP_CURVE_COMPOSE_ADD</em> </td><td> <p>Add composition. </p> </td></tr> -<tr><td valign="top"><em><a class="anchor" id="gga7eddbee28cb1f3c76a19408b86ea142ead3bd2cdb63498d5d22686e79e2c0ed95"></a><!-- doxytag: member="STP_CURVE_COMPOSE_MULTIPLY" ref="gga7eddbee28cb1f3c76a19408b86ea142ead3bd2cdb63498d5d22686e79e2c0ed95" args="" -->STP_CURVE_COMPOSE_MULTIPLY</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga7eddbee28cb1f3c76a19408b86ea142ead3bd2cdb63498d5d22686e79e2c0ed95"></a>STP_CURVE_COMPOSE_MULTIPLY</em> </td><td> <p>Multiply composition. </p> </td></tr> -<tr><td valign="top"><em><a class="anchor" id="gga7eddbee28cb1f3c76a19408b86ea142ea8de151149fdfd4fcca78826e6352246a"></a><!-- doxytag: member="STP_CURVE_COMPOSE_EXPONENTIATE" ref="gga7eddbee28cb1f3c76a19408b86ea142ea8de151149fdfd4fcca78826e6352246a" args="" -->STP_CURVE_COMPOSE_EXPONENTIATE</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga7eddbee28cb1f3c76a19408b86ea142ea8de151149fdfd4fcca78826e6352246a"></a>STP_CURVE_COMPOSE_EXPONENTIATE</em> </td><td> <p>Exponentiate composition. </p> </td></tr> </table> @@ -246,7 +252,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="ga982f8191c84b049cc3ad3cee1558fc23"></a><!-- doxytag: member="curve.h::stp_curve_type_t" ref="ga982f8191c84b049cc3ad3cee1558fc23" args="" --> +<a class="anchor" id="ga982f8191c84b049cc3ad3cee1558fc23"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -254,15 +260,14 @@ Functions</h2></td></tr> <td class="memname">enum <a class="el" href="group__curve.html#ga982f8191c84b049cc3ad3cee1558fc23">stp_curve_type_t</a></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Curve types. </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> -<tr><td valign="top"><em><a class="anchor" id="gga982f8191c84b049cc3ad3cee1558fc23a46228ddaa2d52a85ccd79c4dc0f76ad3"></a><!-- doxytag: member="STP_CURVE_TYPE_LINEAR" ref="gga982f8191c84b049cc3ad3cee1558fc23a46228ddaa2d52a85ccd79c4dc0f76ad3" args="" -->STP_CURVE_TYPE_LINEAR</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga982f8191c84b049cc3ad3cee1558fc23a46228ddaa2d52a85ccd79c4dc0f76ad3"></a>STP_CURVE_TYPE_LINEAR</em> </td><td> <p>Linear interpolation. </p> </td></tr> -<tr><td valign="top"><em><a class="anchor" id="gga982f8191c84b049cc3ad3cee1558fc23afb1ffdc3754f428d8e3a2124e014ff77"></a><!-- doxytag: member="STP_CURVE_TYPE_SPLINE" ref="gga982f8191c84b049cc3ad3cee1558fc23afb1ffdc3754f428d8e3a2124e014ff77" args="" -->STP_CURVE_TYPE_SPLINE</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga982f8191c84b049cc3ad3cee1558fc23afb1ffdc3754f428d8e3a2124e014ff77"></a>STP_CURVE_TYPE_SPLINE</em> </td><td> <p>Spline interpolation. </p> </td></tr> </table> @@ -271,7 +276,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="ga3ae3af552b490b0ca8b02e442ac9547a"></a><!-- doxytag: member="curve.h::stp_curve_wrap_mode_t" ref="ga3ae3af552b490b0ca8b02e442ac9547a" args="" --> +<a class="anchor" id="ga3ae3af552b490b0ca8b02e442ac9547a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -279,15 +284,14 @@ Functions</h2></td></tr> <td class="memname">enum <a class="el" href="group__curve.html#ga3ae3af552b490b0ca8b02e442ac9547a">stp_curve_wrap_mode_t</a></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Wrapping mode. </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> -<tr><td valign="top"><em><a class="anchor" id="gga3ae3af552b490b0ca8b02e442ac9547aad840485ad7df768a06ee4be02d93b97a"></a><!-- doxytag: member="STP_CURVE_WRAP_NONE" ref="gga3ae3af552b490b0ca8b02e442ac9547aad840485ad7df768a06ee4be02d93b97a" args="" -->STP_CURVE_WRAP_NONE</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga3ae3af552b490b0ca8b02e442ac9547aad840485ad7df768a06ee4be02d93b97a"></a>STP_CURVE_WRAP_NONE</em> </td><td> <p>The curve does not wrap. </p> </td></tr> -<tr><td valign="top"><em><a class="anchor" id="gga3ae3af552b490b0ca8b02e442ac9547aac0361aebddfabfb263dc0205a61f6fbd"></a><!-- doxytag: member="STP_CURVE_WRAP_AROUND" ref="gga3ae3af552b490b0ca8b02e442ac9547aac0361aebddfabfb263dc0205a61f6fbd" args="" -->STP_CURVE_WRAP_AROUND</em> </td><td> +<tr><td valign="top"><em><a class="anchor" id="gga3ae3af552b490b0ca8b02e442ac9547aac0361aebddfabfb263dc0205a61f6fbd"></a>STP_CURVE_WRAP_AROUND</em> </td><td> <p>The curve wraps to its starting point. </p> </td></tr> </table> @@ -297,7 +301,7 @@ Functions</h2></td></tr> </div> </div> <hr/><h2>Function Documentation</h2> -<a class="anchor" id="ga55c83a9139fc1b06b90e983d7c1ceff7"></a><!-- doxytag: member="curve.h::stp_curve_compose" ref="ga55c83a9139fc1b06b90e983d7c1ceff7" args="(stp_curve_t **retval, stp_curve_t *a, stp_curve_t *b, stp_curve_compose_t mode, int points)" --> +<a class="anchor" id="ga55c83a9139fc1b06b90e983d7c1ceff7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -337,12 +341,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Compose two curves, creating a third curve. </p> <p>Only add and multiply composition is currently supported. If both curves are gamma curves with the same sign, and the operation is multiplication or division, the returned curve is a gamma curve with the appropriate number of points. Both a and b must have the same wraparound type. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">retval</td><td>a pointer to store the location of the newly-created output curve in. </td></tr> <tr><td class="paramname">a</td><td>the first source curve. </td></tr> @@ -352,11 +355,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if element-wise composition fails. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if element-wise composition fails. </dd></dl> </div> </div> -<a class="anchor" id="gacd7861bf1c9d61ac4ec87844a15ab9d3"></a><!-- doxytag: member="curve.h::stp_curve_copy" ref="gacd7861bf1c9d61ac4ec87844a15ab9d3" args="(stp_curve_t *dest, const stp_curve_t *source)" --> +<a class="anchor" id="gacd7861bf1c9d61ac4ec87844a15ab9d3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -378,12 +381,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Copy a curve. </p> <p>Both dest and source must be valid curves previously created with <a class="el" href="group__curve.html#ga6b3640f0e25bd9d38e46bdc1b2ee58a4" title="Create a new curve.">stp_curve_create()</a>. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">dest</td><td>the destination curve. </td></tr> <tr><td class="paramname">source</td><td>the source curve. </td></tr> @@ -393,7 +395,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="ga766ff02b29b976372779f719076ad017"></a><!-- doxytag: member="curve.h::stp_curve_count_points" ref="ga766ff02b29b976372779f719076ad017" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga766ff02b29b976372779f719076ad017"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -405,21 +407,20 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get the number of allocated points in the curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the number of points. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the number of points. </dd></dl> </div> </div> -<a class="anchor" id="ga6b3640f0e25bd9d38e46bdc1b2ee58a4"></a><!-- doxytag: member="curve.h::stp_curve_create" ref="ga6b3640f0e25bd9d38e46bdc1b2ee58a4" args="(stp_curve_wrap_mode_t wrap)" --> +<a class="anchor" id="ga6b3640f0e25bd9d38e46bdc1b2ee58a4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -431,23 +432,22 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Create a new curve. </p> <p>Curves have y=lower..upper. The default bounds are 0..1. The default interpolation type is linear. There are no points allocated, and the gamma is defaulted to 1. The curve is a dense (equally-spaced) curve.</p> <p>A wrapped curve has the same value at x=0 and x=1. The wrap mode of a curve cannot be changed except by routines that destroy the old curve entirely (e. g. stp_curve_copy, stp_curve_read). </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">wrap</td><td>the wrap mode of the curve. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the newly created curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the newly created curve. </dd></dl> </div> </div> -<a class="anchor" id="ga972ed591394396e0c66e928a0695b3bf"></a><!-- doxytag: member="curve.h::stp_curve_create_copy" ref="ga972ed591394396e0c66e928a0695b3bf" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga972ed591394396e0c66e928a0695b3bf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -459,22 +459,21 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Copy and allocate a curve. </p> <p>dest will be created, and then the contents of source will be copied into it. dest must not have been previously allocated with <a class="el" href="group__curve.html#ga6b3640f0e25bd9d38e46bdc1b2ee58a4" title="Create a new curve.">stp_curve_create()</a>. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the source curve. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the new copy of the curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the new copy of the curve. </dd></dl> </div> </div> -<a class="anchor" id="gad96d7d1cda5f037f7d6a9b651ebbbb46"></a><!-- doxytag: member="curve.h::stp_curve_create_from_file" ref="gad96d7d1cda5f037f7d6a9b651ebbbb46" args="(const char *file)" --> +<a class="anchor" id="gad96d7d1cda5f037f7d6a9b651ebbbb46"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -486,22 +485,21 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Create a curve from a stream. </p> -<dl class="warning"><dt><b>Warning:</b></dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="section warning"><dt>Warning:</dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">file</td><td>the file to read. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the newly created curve, or NULL if an error occured. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the newly created curve, or NULL if an error occured. </dd></dl> </div> </div> -<a class="anchor" id="ga478a24e44a3ce345f7207cf7ded12e37"></a><!-- doxytag: member="curve.h::stp_curve_create_from_stream" ref="ga478a24e44a3ce345f7207cf7ded12e37" args="(FILE *fp)" --> +<a class="anchor" id="ga478a24e44a3ce345f7207cf7ded12e37"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -513,22 +511,21 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Create a curve from a stream. </p> -<dl class="warning"><dt><b>Warning:</b></dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="section warning"><dt>Warning:</dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">fp</td><td>the stream to read. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the newly created curve, or NULL if an error occured. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the newly created curve, or NULL if an error occured. </dd></dl> </div> </div> -<a class="anchor" id="gab8c0df217306a6e0597f058efbfaca82"></a><!-- doxytag: member="curve.h::stp_curve_create_from_string" ref="gab8c0df217306a6e0597f058efbfaca82" args="(const char *string)" --> +<a class="anchor" id="gab8c0df217306a6e0597f058efbfaca82"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -540,22 +537,21 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Create a curve from a string. </p> -<dl class="warning"><dt><b>Warning:</b></dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="section warning"><dt>Warning:</dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">string</td><td>the string to read. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the newly created curve, or NULL if an error occured. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the newly created curve, or NULL if an error occured. </dd></dl> </div> </div> -<a class="anchor" id="ga8c2aed234d3e4ddc4c239801be17bb73"></a><!-- doxytag: member="curve.h::stp_curve_create_reverse" ref="ga8c2aed234d3e4ddc4c239801be17bb73" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga8c2aed234d3e4ddc4c239801be17bb73"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -567,22 +563,21 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Reverse and allocate a curve. </p> <p>dest will be created, and then the contents of source will be copied into it. dest must not have been previously allocated with <a class="el" href="group__curve.html#ga6b3640f0e25bd9d38e46bdc1b2ee58a4" title="Create a new curve.">stp_curve_create()</a>. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the source curve. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the new copy of the curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the new copy of the curve. </dd></dl> </div> </div> -<a class="anchor" id="ga4294b85e848fe421496469e2406ef380"></a><!-- doxytag: member="curve.h::stp_curve_destroy" ref="ga4294b85e848fe421496469e2406ef380" args="(stp_curve_t *curve)" --> +<a class="anchor" id="ga4294b85e848fe421496469e2406ef380"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -594,12 +589,11 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Destroy an curve. </p> <p>It is an error to destroy the curve more than once. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to destroy. </td></tr> </table> @@ -608,7 +602,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="ga63c3386fbfd75da9fe985673bf7b1ca3"></a><!-- doxytag: member="curve.h::stp_curve_get_bounds" ref="ga63c3386fbfd75da9fe985673bf7b1ca3" args="(const stp_curve_t *curve, double *low, double *high)" --> +<a class="anchor" id="ga63c3386fbfd75da9fe985673bf7b1ca3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -636,11 +630,10 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get the lower and upper bounds on a curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">low</td><td>a pointer to a double to store the lower bound in. </td></tr> @@ -651,7 +644,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="gab2208f56694e47e4300d10e057f59ee8"></a><!-- doxytag: member="curve.h::stp_curve_get_data" ref="gab2208f56694e47e4300d10e057f59ee8" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="gab2208f56694e47e4300d10e057f59ee8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -673,22 +666,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get a pointer to the curve's raw data. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This call also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This call also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga79e0d6afa3573917c756af64b56a0d82"></a><!-- doxytag: member="curve.h::stp_curve_get_data_points" ref="ga79e0d6afa3573917c756af64b56a0d82" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="ga79e0d6afa3573917c756af64b56a0d82"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -710,22 +702,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get a pointer to the curve's raw data as points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This call also returns NULL if the curve is a dense (equally-spaced) curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This call also returns NULL if the curve is a dense (equally-spaced) curve. </dd></dl> </div> </div> -<a class="anchor" id="ga251f105cb5f2b126ea02b7908f717c18"></a><!-- doxytag: member="curve.h::stp_curve_get_float_data" ref="ga251f105cb5f2b126ea02b7908f717c18" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="ga251f105cb5f2b126ea02b7908f717c18"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -747,22 +738,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as floats. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga0420a6cfa87aa96e5c9a56142aa0178d"></a><!-- doxytag: member="curve.h::stp_curve_get_gamma" ref="ga0420a6cfa87aa96e5c9a56142aa0178d" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga0420a6cfa87aa96e5c9a56142aa0178d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -774,15 +764,14 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get the gamma value of the curve. </p> -<dl class="return"><dt><b>Returns:</b></dt><dd>the gamma value. A value of 0 indicates that the curve does not have a valid gamma value. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the gamma value. A value of 0 indicates that the curve does not have a valid gamma value. </dd></dl> </div> </div> -<a class="anchor" id="ga6de80e81b64262e0051441f697ae4de4"></a><!-- doxytag: member="curve.h::stp_curve_get_int_data" ref="ga6de80e81b64262e0051441f697ae4de4" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="ga6de80e81b64262e0051441f697ae4de4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -804,22 +793,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as integers. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga42c98a6a6d2512516738b6df9367510e"></a><!-- doxytag: member="curve.h::stp_curve_get_interpolation_type" ref="ga42c98a6a6d2512516738b6df9367510e" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga42c98a6a6d2512516738b6df9367510e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -831,21 +819,20 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get the curve interpolation type. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the interpolation type. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the interpolation type. </dd></dl> </div> </div> -<a class="anchor" id="gaf59bd38c9dfc7beb08a283dc9e400bf2"></a><!-- doxytag: member="curve.h::stp_curve_get_long_data" ref="gaf59bd38c9dfc7beb08a283dc9e400bf2" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="gaf59bd38c9dfc7beb08a283dc9e400bf2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -867,22 +854,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as longs. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga569aae57147ed7681f23e0e60bd8af35"></a><!-- doxytag: member="curve.h::stp_curve_get_point" ref="ga569aae57147ed7681f23e0e60bd8af35" args="(const stp_curve_t *curve, size_t where, double *data)" --> +<a class="anchor" id="ga569aae57147ed7681f23e0e60bd8af35"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -910,11 +896,10 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get a point along the curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">where</td><td>the point to get. </td></tr> @@ -922,11 +907,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if where is outside of the number of valid points. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if where is outside of the number of valid points. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="gacb8e51731b9385556747744a0d4f43fb"></a><!-- doxytag: member="curve.h::stp_curve_get_range" ref="gacb8e51731b9385556747744a0d4f43fb" args="(const stp_curve_t *curve, double *low, double *high)" --> +<a class="anchor" id="gacb8e51731b9385556747744a0d4f43fb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -954,12 +939,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> </div> </div> -<a class="anchor" id="gade323594e84d4380c88ecf122a5a4da8"></a><!-- doxytag: member="curve.h::stp_curve_get_sequence" ref="gade323594e84d4380c88ecf122a5a4da8" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="gade323594e84d4380c88ecf122a5a4da8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -971,22 +955,21 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get the underlying stp_sequence_t data structure which stp_curve_t is derived from. </p> <p>This can be used for fast access to the raw data. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the stp_sequence_t. If the curve is a piecewise curve, the sequence returned is NULL; </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the stp_sequence_t. If the curve is a piecewise curve, the sequence returned is NULL; </dd></dl> </div> </div> -<a class="anchor" id="ga87c5d1904efa58be8a21ab6b2c41d0b9"></a><!-- doxytag: member="curve.h::stp_curve_get_short_data" ref="ga87c5d1904efa58be8a21ab6b2c41d0b9" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="ga87c5d1904efa58be8a21ab6b2c41d0b9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1008,22 +991,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as shorts. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga5cbf7c4b6ad96ecb35fc06f46c0319f0"></a><!-- doxytag: member="curve.h::stp_curve_get_subrange" ref="ga5cbf7c4b6ad96ecb35fc06f46c0319f0" args="(const stp_curve_t *curve, size_t start, size_t count)" --> +<a class="anchor" id="ga5cbf7c4b6ad96ecb35fc06f46c0319f0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1051,12 +1033,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get a curve containing a subrange of data. </p> <p>If the start or count is invalid, the returned curve will compare equal to NULL (i. e. it will be a null pointer). start and count must not exceed the number of points in the curve, and count must be at least 2. The curve must be a dense (equally-spaced) curve </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">start</td><td>the start of the subrange. </td></tr> @@ -1064,11 +1045,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a curve containing the subrange. The returned curve is non-wrapping. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a curve containing the subrange. The returned curve is non-wrapping. </dd></dl> </div> </div> -<a class="anchor" id="ga19b3160a57dc6959fe08c631c7206a8a"></a><!-- doxytag: member="curve.h::stp_curve_get_uint_data" ref="ga19b3160a57dc6959fe08c631c7206a8a" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="ga19b3160a57dc6959fe08c631c7206a8a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1090,22 +1071,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as unsigned integers. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga24a862eda4cdbb626f51aeb7d8ae9a50"></a><!-- doxytag: member="curve.h::stp_curve_get_ulong_data" ref="ga24a862eda4cdbb626f51aeb7d8ae9a50" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="ga24a862eda4cdbb626f51aeb7d8ae9a50"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1127,22 +1107,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as unsigned longs. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="gaa02125af6b9c192e34985851370391b8"></a><!-- doxytag: member="curve.h::stp_curve_get_ushort_data" ref="gaa02125af6b9c192e34985851370391b8" args="(const stp_curve_t *curve, size_t *count)" --> +<a class="anchor" id="gaa02125af6b9c192e34985851370391b8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1164,22 +1143,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get pointer to the curve's raw data as unsigned shorts. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>a pointer to a size_t to store the curve size in. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to the curve data. This data is not guaranteed to be valid beyond the next non-const curve call. If the curve is a pure gamma curve (no associated points), NULL is returned and the count is 0. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga859020827897bac0f4671322ec027dc4"></a><!-- doxytag: member="curve.h::stp_curve_get_wrap" ref="ga859020827897bac0f4671322ec027dc4" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga859020827897bac0f4671322ec027dc4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1191,21 +1169,20 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Get the wrapping mode. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>the wrapping mode. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>the wrapping mode. </dd></dl> </div> </div> -<a class="anchor" id="gab33642ee6c49334f379a4dc185ecd355"></a><!-- doxytag: member="curve.h::stp_curve_interpolate_value" ref="gab33642ee6c49334f379a4dc185ecd355" args="(const stp_curve_t *curve, double where, double *result)" --> +<a class="anchor" id="gab33642ee6c49334f379a4dc185ecd355"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1233,11 +1210,10 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Interpolate a point along the curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">where</td><td>the point to interpolate. </td></tr> @@ -1245,11 +1221,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if 'where' is less than 0 or greater than the number of points, an error is returned. Also returns FALSE if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if 'where' is less than 0 or greater than the number of points, an error is returned. Also returns FALSE if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga29b022a3055afe0b48d1f2736ff2f4da"></a><!-- doxytag: member="curve.h::stp_curve_is_piecewise" ref="ga29b022a3055afe0b48d1f2736ff2f4da" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="ga29b022a3055afe0b48d1f2736ff2f4da"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1261,21 +1237,20 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Determine whether the curve is piecewise. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>whether the curve is piecewise </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>whether the curve is piecewise </dd></dl> </div> </div> -<a class="anchor" id="ga87298cf562468cbcf2c1f76a0ab80b62"></a><!-- doxytag: member="curve.h::stp_curve_resample" ref="ga87298cf562468cbcf2c1f76a0ab80b62" args="(stp_curve_t *curve, size_t points)" --> +<a class="anchor" id="ga87298cf562468cbcf2c1f76a0ab80b62"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1297,23 +1272,22 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Resample a curve (change the number of points). </p> <p>This does not destroy the gamma value of a curve. Points are interpolated as required; any interpolation that would place points outside of the bounds of the curve will be clipped to the bounds. The resulting curve is always dense (equally-spaced). This is the correct way to convert a piecewise curve to an equally-spaced curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use (must not exceed 1048576). </td></tr> <tr><td class="paramname">points</td><td>the number of points. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if the number of points is invalid (less than two, except that zero points is permitted for a gamma curve). </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if the number of points is invalid (less than two, except that zero points is permitted for a gamma curve). </dd></dl> </div> </div> -<a class="anchor" id="gaad611b3ddbd667ec204fa7b42f8d7546"></a><!-- doxytag: member="curve.h::stp_curve_rescale" ref="gaad611b3ddbd667ec204fa7b42f8d7546" args="(stp_curve_t *curve, double scale, stp_curve_compose_t mode, stp_curve_bounds_t bounds_mode)" --> +<a class="anchor" id="gaad611b3ddbd667ec204fa7b42f8d7546"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1347,12 +1321,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Rescale a curve (multiply all points by a scaling constant). </p> <p>This also rescales the bounds. Note that this currently destroys the gamma property of the curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">scale</td><td>the scaling factor. </td></tr> @@ -1361,11 +1334,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if this would exceed floating point limits </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if this would exceed floating point limits </dd></dl> </div> </div> -<a class="anchor" id="ga3416157017287eae136fb928802be234"></a><!-- doxytag: member="curve.h::stp_curve_reverse" ref="ga3416157017287eae136fb928802be234" args="(stp_curve_t *dest, const stp_curve_t *source)" --> +<a class="anchor" id="ga3416157017287eae136fb928802be234"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1387,12 +1360,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Reverse a curve. </p> <p>Both dest and source must be valid curves previously created with <a class="el" href="group__curve.html#ga6b3640f0e25bd9d38e46bdc1b2ee58a4" title="Create a new curve.">stp_curve_create()</a>. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">dest</td><td>the destination curve. </td></tr> <tr><td class="paramname">source</td><td>the source curve. </td></tr> @@ -1402,7 +1374,7 @@ Functions</h2></td></tr> </div> </div> -<a class="anchor" id="gae32fb850963b8694d3739c0ed8475f75"></a><!-- doxytag: member="curve.h::stp_curve_set_bounds" ref="gae32fb850963b8694d3739c0ed8475f75" args="(stp_curve_t *curve, double low, double high)" --> +<a class="anchor" id="gae32fb850963b8694d3739c0ed8475f75"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1430,12 +1402,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the lower and upper bounds on a curve. </p> <p>To change the bounds adjusting data as required, use stp_curve_rescale instead. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">low</td><td>the lower bound. </td></tr> @@ -1443,11 +1414,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if any existing points on the curve are outside the bounds. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if any existing points on the curve are outside the bounds. </dd></dl> </div> </div> -<a class="anchor" id="ga81bceb4cb991cef1cda2298cf7bb9f15"></a><!-- doxytag: member="curve.h::stp_curve_set_data" ref="ga81bceb4cb991cef1cda2298cf7bb9f15" args="(stp_curve_t *curve, size_t count, const double *data)" --> +<a class="anchor" id="ga81bceb4cb991cef1cda2298cf7bb9f15"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1475,12 +1446,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set all data points of the curve. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1488,11 +1458,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="gace09cab4e6ae3d55f75aacae3689e8e6"></a><!-- doxytag: member="curve.h::stp_curve_set_data_points" ref="gace09cab4e6ae3d55f75aacae3689e8e6" args="(stp_curve_t *curve, size_t count, const stp_curve_point_t *data)" --> +<a class="anchor" id="gace09cab4e6ae3d55f75aacae3689e8e6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1520,12 +1490,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set all data points of the curve. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a piecewise curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1533,11 +1502,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="gabd7a39289471607311141c7fc3bbb415"></a><!-- doxytag: member="curve.h::stp_curve_set_float_data" ref="gabd7a39289471607311141c7fc3bbb415" args="(stp_curve_t *curve, size_t count, const float *data)" --> +<a class="anchor" id="gabd7a39289471607311141c7fc3bbb415"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1565,12 +1534,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from float values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1578,11 +1546,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="gacb8a2b9b21f97f32faacb99a6125e152"></a><!-- doxytag: member="curve.h::stp_curve_set_gamma" ref="gacb8a2b9b21f97f32faacb99a6125e152" args="(stp_curve_t *curve, double f_gamma)" --> +<a class="anchor" id="gacb8a2b9b21f97f32faacb99a6125e152"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1604,23 +1572,22 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the gamma of a curve. </p> <p>This replaces all existing points along the curve. The bounds are set to 0..1. If the gamma value is positive, the function is increasing; if negative, the function is decreasing. Count must be either 0 or at least 2. If the count is zero, the gamma of the curve is set for interpolation purposes, but points cannot be assigned to. It is illegal to set gamma on a wrap-mode curve. The resulting curve is treated as a dense (equally-spaced) curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">f_gamma</td><td>the gamma value to set. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if the gamma value is illegal (0, infinity, or NaN), or if the curve wraps around. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if the gamma value is illegal (0, infinity, or NaN), or if the curve wraps around. </dd></dl> </div> </div> -<a class="anchor" id="ga31e76843f4d2f207701755b58766a670"></a><!-- doxytag: member="curve.h::stp_curve_set_int_data" ref="ga31e76843f4d2f207701755b58766a670" args="(stp_curve_t *curve, size_t count, const int *data)" --> +<a class="anchor" id="ga31e76843f4d2f207701755b58766a670"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1648,12 +1615,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from integer values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1661,11 +1627,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="ga82890cef78f5861a88c5789c33693423"></a><!-- doxytag: member="curve.h::stp_curve_set_interpolation_type" ref="ga82890cef78f5861a88c5789c33693423" args="(stp_curve_t *curve, stp_curve_type_t itype)" --> +<a class="anchor" id="ga82890cef78f5861a88c5789c33693423"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1687,22 +1653,21 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the curve interpolation type. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">itype</td><td>the interpolation type. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, or 0 if itype is invalid. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, or 0 if itype is invalid. </dd></dl> </div> </div> -<a class="anchor" id="gae6a435a21a5c4b5e582d42095a7b06fc"></a><!-- doxytag: member="curve.h::stp_curve_set_long_data" ref="gae6a435a21a5c4b5e582d42095a7b06fc" args="(stp_curve_t *curve, size_t count, const long *data)" --> +<a class="anchor" id="gae6a435a21a5c4b5e582d42095a7b06fc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1730,12 +1695,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from long values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1743,11 +1707,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="ga2d3b8372bde3fce699a3b7bb3c9d8582"></a><!-- doxytag: member="curve.h::stp_curve_set_point" ref="ga2d3b8372bde3fce699a3b7bb3c9d8582" args="(stp_curve_t *curve, size_t where, double data)" --> +<a class="anchor" id="ga2d3b8372bde3fce699a3b7bb3c9d8582"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1775,12 +1739,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set a point along the curve. </p> <p>This call destroys any gamma value assigned to the curve. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">where</td><td>the point to set. </td></tr> @@ -1788,11 +1751,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>FALSE if data is outside the valid bounds or if where is outside the number of valid points. This also returns NULL if the curve is a piecewise curve. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>FALSE if data is outside the valid bounds or if where is outside the number of valid points. This also returns NULL if the curve is a piecewise curve. </dd></dl> </div> </div> -<a class="anchor" id="ga2fa5222aab07e85f215e389734b6dbea"></a><!-- doxytag: member="curve.h::stp_curve_set_short_data" ref="ga2fa5222aab07e85f215e389734b6dbea" args="(stp_curve_t *curve, size_t count, const short *data)" --> +<a class="anchor" id="ga2fa5222aab07e85f215e389734b6dbea"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1820,12 +1783,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from short values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1833,11 +1795,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="ga73dfcc4c95734449965227e21deb3037"></a><!-- doxytag: member="curve.h::stp_curve_set_subrange" ref="ga73dfcc4c95734449965227e21deb3037" args="(stp_curve_t *curve, const stp_curve_t *range, size_t start)" --> +<a class="anchor" id="ga73dfcc4c95734449965227e21deb3037"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1865,12 +1827,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> </div> </div> -<a class="anchor" id="ga3ee80f8e4f33691a78b3ad8c3fd7c34f"></a><!-- doxytag: member="curve.h::stp_curve_set_uint_data" ref="ga3ee80f8e4f33691a78b3ad8c3fd7c34f" args="(stp_curve_t *curve, size_t count, const unsigned int *data)" --> +<a class="anchor" id="ga3ee80f8e4f33691a78b3ad8c3fd7c34f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1898,12 +1859,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from unsigned integer values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1911,11 +1871,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="ga723173297f5b67af937205c7d74ac353"></a><!-- doxytag: member="curve.h::stp_curve_set_ulong_data" ref="ga723173297f5b67af937205c7d74ac353" args="(stp_curve_t *curve, size_t count, const unsigned long *data)" --> +<a class="anchor" id="ga723173297f5b67af937205c7d74ac353"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1943,12 +1903,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from unsigned long values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -1956,11 +1915,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="ga0af395eefa7bfe0d19acc1acbaeefe48"></a><!-- doxytag: member="curve.h::stp_curve_set_ushort_data" ref="ga0af395eefa7bfe0d19acc1acbaeefe48" args="(stp_curve_t *curve, size_t count, const unsigned short *data)" --> +<a class="anchor" id="ga0af395eefa7bfe0d19acc1acbaeefe48"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -1988,12 +1947,11 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Set the data points in a curve from unsigned short values. </p> <p>If any of the data points fall outside the bounds, the operation is not performed and FALSE is returned. This creates a curve with equally-spaced points. </p> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> <tr><td class="paramname">count</td><td>the number of the number of points (must be at least two and not more than 1048576). </td></tr> @@ -2001,11 +1959,11 @@ Functions</h2></td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="gac12af55cf0eb2f76db967886f8996313"></a><!-- doxytag: member="curve.h::stp_curve_write" ref="gac12af55cf0eb2f76db967886f8996313" args="(FILE *file, const stp_curve_t *curve)" --> +<a class="anchor" id="gac12af55cf0eb2f76db967886f8996313"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -2027,24 +1985,23 @@ Functions</h2></td></tr> <td></td><td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Write a curve to a file. </p> <p>The printable representation is guaranteed to contain only 7-bit printable ASCII characters, and is null-terminated. The curve will not contain any space, newline, single quote, or comma characters. Furthermore, a printed curve will be read back correctly in all locales. These calls are not guaranteed to provide more than 6 decimal places of precision or +/-0.5e-6 accuracy, whichever is less. </p> -<dl class="warning"><dt><b>Warning:</b></dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="section warning"><dt>Warning:</dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">file</td><td>the file to write. </td></tr> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on failure. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>1 on success, 0 on failure. </dd></dl> </div> </div> -<a class="anchor" id="gaf2f0da590278ff74af1eccb0aa0c7169"></a><!-- doxytag: member="curve.h::stp_curve_write_string" ref="gaf2f0da590278ff74af1eccb0aa0c7169" args="(const stp_curve_t *curve)" --> +<a class="anchor" id="gaf2f0da590278ff74af1eccb0aa0c7169"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> @@ -2056,25 +2013,27 @@ Functions</h2></td></tr> <td></td> </tr> </table> -</div> -<div class="memdoc"> +</div><div class="memdoc"> <p>Write a curve to a string. </p> <p>The printable representation is guaranteed to contain only 7-bit printable ASCII characters, and is null-terminated. The curve will not contain any space, newline, or comma characters. Furthermore, a printed curve will be read back correctly in all locales. These calls are not guaranteed to provide more than 6 decimal places of precision or +/-0.5e-6 accuracy, whichever is less. </p> -<dl class="warning"><dt><b>Warning:</b></dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> -<dl><dt><b>Parameters:</b></dt><dd> +<dl class="section warning"><dt>Warning:</dt><dd>NOTE that these calls are not thread-safe! These routines may manipulate the locale to achieve a safe representation. </dd></dl> +<dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">curve</td><td>the curve to use. </td></tr> </table> </dd> </dl> -<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to a string. This is allocated on the heap, and it is the caller's responsibility to free it. </dd></dl> +<dl class="section return"><dt>Returns:</dt><dd>a pointer to a string. This is allocated on the heap, and it is the caller's responsibility to free it. </dd></dl> </div> </div> -</div> -<hr class="footer"/><address class="footer"><small>Generated by  -<a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.1 +</small></address> </body> </html> |