summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/TensorProductPatch.hpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-12 03:01:29 +0000
committerNorbert Preining <norbert@preining.info>2023-01-12 03:01:29 +0000
commit6a7900c93acc16d1bbd2f1e26286c7dd7387e6c0 (patch)
tree76196287351cba68a51934c49468bf1a7846aa76 /dviware/dvisvgm/src/TensorProductPatch.hpp
parentc1c19023b4b1d43cb874f84df5102b485853e672 (diff)
CTAN sync 202301120301
Diffstat (limited to 'dviware/dvisvgm/src/TensorProductPatch.hpp')
-rw-r--r--dviware/dvisvgm/src/TensorProductPatch.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dviware/dvisvgm/src/TensorProductPatch.hpp b/dviware/dvisvgm/src/TensorProductPatch.hpp
index 47a7d840a5..7150d189c8 100644
--- a/dviware/dvisvgm/src/TensorProductPatch.hpp
+++ b/dviware/dvisvgm/src/TensorProductPatch.hpp
@@ -2,7 +2,7 @@
** TensorProductPatch.hpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2022 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2023 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -49,8 +49,8 @@ class TensorProductPatch : public ShadingPatch {
virtual DPair valueAt (double u, double v) const;
Color colorAt (double u, double v) const;
Color averageColor () const override;
- void horizontalCurve (double v, Bezier &bezier) const;
- void verticalCurve (double u, Bezier &bezier) const;
+ void horizontalCurve (double v, CubicBezier &bezier) const;
+ void verticalCurve (double u, CubicBezier &bezier) const;
GraphicsPath<double> getBoundaryPath () const override;
void subpatch (double u1, double u2, double v1, double v2, TensorProductPatch &patch) const;
DPair blossomValue (double u1, double u2, double u3, double v1, double v2, double v3) const;
@@ -62,7 +62,7 @@ class TensorProductPatch : public ShadingPatch {
protected:
Color averageColor (const Color &c1, const Color &c2, const Color &c3, const Color &c4) const;
- void approximateRow (double v1, double inc, bool overlap, double delta, const std::vector<Bezier> &beziers, Callback &callback) const;
+ void approximateRow (double v1, double inc, bool overlap, double delta, const std::vector<CubicBezier> &beziers, Callback &callback) const;
void setFirstMatrixColumn (const DPair source[4], bool reverse);
void setFirstMatrixColumn (DPair source[4][4], int col, bool reverse);