Kaydet (Commit) d6841c12 authored tarafından Regina Henschel's avatar Regina Henschel

i117986 Adapt spline implementation to ODF1.2

Author: Regina Henschel
üst 7c9964d1
......@@ -241,7 +241,7 @@ ModalDialog DLG_SPLINE_PROPERTIES
{
Pos = MAP_APPFONT ( POS_X_SPLINE_EXTRAS , POS_Y_SPLINES_3 ) ;
Size = MAP_APPFONT ( SPLINES_WIDTH_METRIC_TEXT , 10 ) ;
Text [ en-US ] = "~Data points order" ;
Text [ en-US ] = "~Degree of polynomials" ;
};
MetricField MF_SPLINE_ORDER
{
......
......@@ -41,13 +41,13 @@ public:
static void CalculateCubicSplines(
const ::com::sun::star::drawing::PolyPolygonShape3D& rPoints
, ::com::sun::star::drawing::PolyPolygonShape3D& rResult
, sal_Int32 nGranularity );
, sal_uInt32 nGranularity );
static void CalculateBSplines(
const ::com::sun::star::drawing::PolyPolygonShape3D& rPoints
, ::com::sun::star::drawing::PolyPolygonShape3D& rResult
, sal_Int32 nGranularity
, sal_Int32 nSplineDepth );
, sal_uInt32 nGranularity
, sal_uInt32 nSplineDepth );
};
......
......@@ -45,9 +45,8 @@ enum CurveStyle
*/
CUBIC_SPLINES,
/** Data points are connected via a smoothed B-spline curve. The
data points themselves are not necessarily part of to the
curve.
/** Data points are connected via a parametric, interpolating
B-spline curve.
*/
B_SPLINES,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment