Home
last modified time | relevance | path

Searched refs:cubics (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/utils/
H A DSkPatchGrid.cpp42 fCornerPts[cornerPos] = cubics[SkPatchUtils::kTopP0_CubicCtrlPts]; in setPatch()
49 fHrzCtrlPts[hrzPos] = cubics[SkPatchUtils::kTopP1_CubicCtrlPts]; in setPatch()
56 fVrtCtrlPts[vrtPos] = cubics[SkPatchUtils::kLeftP1_CubicCtrlPts]; in setPatch()
88 cubics[SkPatchUtils::kTopP0_CubicCtrlPts] = fCornerPts[cornerPos]; in getPatch()
94 cubics[SkPatchUtils::kTopP1_CubicCtrlPts] = fHrzCtrlPts[hrzPos]; in getPatch()
100 cubics[SkPatchUtils::kLeftP1_CubicCtrlPts] = fVrtCtrlPts[vrtPos]; in getPatch()
161 SkPoint cubics[12]; in draw() local
162 this->getPatch(x, y, cubics, nullptr, nullptr); in draw()
172 SkPoint cubics[12]; in draw() local
175 this->getPatch(x, y, cubics, colors, texCoords); in draw()
[all …]
H A DSkPatchUtils.cpp121 SkPatchUtils::getTopCubic(cubics, pts); in GetLevelOfDetail()
129 SkPatchUtils::getLeftCubic(cubics, pts); in GetLevelOfDetail()
133 SkPatchUtils::getRightCubic(cubics, pts); in GetLevelOfDetail()
145 points[0] = cubics[kTopP0_CubicCtrlPts]; in getTopCubic()
146 points[1] = cubics[kTopP1_CubicCtrlPts]; in getTopCubic()
147 points[2] = cubics[kTopP2_CubicCtrlPts]; in getTopCubic()
148 points[3] = cubics[kTopP3_CubicCtrlPts]; in getTopCubic()
159 points[0] = cubics[kLeftP0_CubicCtrlPts]; in getLeftCubic()
160 points[1] = cubics[kLeftP1_CubicCtrlPts]; in getLeftCubic()
222 SkPatchUtils::getTopCubic(cubics, pts); in getVertexData()
[all …]
H A DSkPatchUtils.h85 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
90 static void getTopCubic(const SkPoint cubics[12], SkPoint points[4]);
95 static void getBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
100 static void getLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
105 static void getRightCubic(const SkPoint cubics[12], SkPoint points[4]);
116 static bool getVertexData(SkPatchUtils::VertexData* data, const SkPoint cubics[12],
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/utils/
H A DSkPatchUtils.cpp164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
206 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
207 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
294 SkPatchUtils::GetTopCubic(cubics, pts); in MakeVertices()
[all …]
H A DSkPatchUtils.h30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/utils/
H A DSkPatchUtils.cpp164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
206 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
207 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
294 SkPatchUtils::GetTopCubic(cubics, pts); in MakeVertices()
[all …]
H A DSkPatchUtils.h30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/utils/
H A DSkPatchUtils.cpp166 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
174 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
178 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
194 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
195 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
196 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
197 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
208 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
209 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
296 SkPatchUtils::GetTopCubic(cubics, pts); in MakeVertices()
[all …]
H A DSkPatchUtils.h30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/utils/
H A DSkPatchUtils.cpp164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
206 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
207 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
294 SkPatchUtils::GetTopCubic(cubics, pts); in MakeVertices()
[all …]
H A DSkPatchUtils.h30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/utils/
H A DSkPatchUtils.cpp164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
206 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
207 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
294 SkPatchUtils::GetTopCubic(cubics, pts); in MakeVertices()
[all …]
H A DSkPatchUtils.h30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/utils/
H A DSkPatchUtils.cpp164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
206 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
207 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
294 SkPatchUtils::GetTopCubic(cubics, pts); in MakeVertices()
[all …]
H A DSkPatchUtils.h30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/utils/
H A DSkPatchUtils.cpp161 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail()
169 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail()
173 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail()
185 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic()
186 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic()
187 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic()
188 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic()
199 points[0] = cubics[kLeftP0_CubicCtrlPts]; in GetLeftCubic()
200 points[1] = cubics[kLeftP1_CubicCtrlPts]; in GetLeftCubic()
201 points[2] = cubics[kLeftP2_CubicCtrlPts]; in GetLeftCubic()
[all …]
H A DSkPatchUtils.h28 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]);
33 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
38 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
43 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]);
48 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
50 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
/dports/math/eclib/eclib-20210318/progs/out_ntl/
H A Dcubics.out1 1 reduced cubics with discriminant 1 (up to GL(2,Z)-equivalence) : [ [0,1,1,0] ]
2 2 irreducible reduced cubics with discriminant 49 (up to SL(2,Z)-equivalence) : [ [1,2,-1,-1] [1,1,…
3 1 irreducible reduced cubics with discriminant 49 (up to GL(2,Z)-equivalence) : [ [1,2,-1,-1] ]
4 3 reduced cubics with discriminant 49 (up to SL(2,Z)-equivalence) : [ [0,1,1,-12] [1,2,-1,-1] [1,1,…
5 2 reduced cubics with discriminant 49 (up to GL(2,Z)-equivalence) : [ [0,1,1,-12] [1,2,-1,-1] ]
6 2 reduced cubics with discriminant 148 (up to GL(2,Z)-equivalence) : [ [0,1,0,-37] [1,-1,-3,1] ]
7 2 reduced cubics with discriminant -23 (up to GL(2,Z)-equivalence) : [ [0,1,1,6] [1,-1,0,1] ]
8 2 reduced cubics with discriminant -199 (up to GL(2,Z)-equivalence) : [ [0,1,1,50] [1,1,4,1] ]
9 1 irreducible reduced cubics with discriminant 69564 (up to GL(2,Z)-equivalence) : [ [1,11,-12,-6] ]
/dports/math/eclib/eclib-20210318/progs/out_no_ntl/
H A Dcubics.out1 1 reduced cubics with discriminant 1 (up to GL(2,Z)-equivalence) : [ [0,1,1,0] ]
2 2 irreducible reduced cubics with discriminant 49 (up to SL(2,Z)-equivalence) : [ [1,2,-1,-1] [1,1,…
3 1 irreducible reduced cubics with discriminant 49 (up to GL(2,Z)-equivalence) : [ [1,2,-1,-1] ]
4 3 reduced cubics with discriminant 49 (up to SL(2,Z)-equivalence) : [ [0,1,1,-12] [1,2,-1,-1] [1,1,…
5 2 reduced cubics with discriminant 49 (up to GL(2,Z)-equivalence) : [ [0,1,1,-12] [1,2,-1,-1] ]
6 2 reduced cubics with discriminant 148 (up to GL(2,Z)-equivalence) : [ [0,1,0,-37] [1,-1,-3,1] ]
7 2 reduced cubics with discriminant -23 (up to GL(2,Z)-equivalence) : [ [0,1,1,6] [1,-1,0,1] ]
8 2 reduced cubics with discriminant -199 (up to GL(2,Z)-equivalence) : [ [0,1,1,50] [1,1,4,1] ]
9 1 irreducible reduced cubics with discriminant 69564 (up to GL(2,Z)-equivalence) : [ [1,11,-12,-6] ]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/docs/examples/
H A DCanvas_drawPatch_2_a.cpp10 SkPoint cubics[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 },
16 canvas->drawPatch(cubics, colors, nullptr, paint);
28 canvas->drawPoints(SkCanvas::kPolygon_PointMode, 12, cubics, paint);
29 canvas->drawLine(cubics[11].fX, cubics[11].fY, cubics[0].fX, cubics[0].fY, paint);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DPuckerBloat.cpp58 std::vector<CubicInfo> cubics; in onRevalidateEffect() local
62 for (const auto& c : cubics) { in onRevalidateEffect()
69 cubics.clear(); in onRevalidateEffect()
88 cubics.push_back({ in onRevalidateEffect()
96 cubics.push_back({pts[1], pts[2], pts[3]}); in onRevalidateEffect()
105 const auto conic_start = cubics.empty() ? contour_start in onRevalidateEffect()
106 : cubics.back().pt, in onRevalidateEffect()
109 cubics.push_back({ in onRevalidateEffect()
116 cubics.push_back({pts[1], pts[2], pts[3]}); in onRevalidateEffect()
/dports/graphics/rawstudio/rawstudio-2.0/librawstudio/
H A Drs-spline.c45 gfloat *cubics; member
70 g_free(spline->cubics); in rs_spline_dispose()
312 #define _a(w) (spline->cubics[4*(w)])
313 #define _b(w) (spline->cubics[4*(w)+1])
446 if (spline->cubics != NULL) { in spline_compute_cubics()
448 g_free(spline->cubics); in spline_compute_cubics()
449 spline->cubics = NULL; in spline_compute_cubics()
521 if (spline->cubics != NULL) { in spline_compute_cubics()
523 g_free(spline->cubics); in spline_compute_cubics()
524 spline->cubics = NULL; in spline_compute_cubics()
[all …]
/dports/x11-toolkits/p5-Prima/Prima-1.63/Prima/PS/
H A DPDF.pm738 my $content = "@{ $cubics->[0] }[0,1] m\n";
739 $content .= "@{$_}[2..7] c\n" for @$cubics;
749 my $content = "@{ $cubics->[0] }[0,1] m\n";
750 $content .= "@{$_}[2..7] c\n" for @$cubics;
760 my $content = "@{ $cubics->[0] }[0,1] m\n";
761 $content .= "@{$_}[2..7] c\n" for @$cubics;
771 my $content = "@{ $cubics->[0] }[0,1] m\n";
772 $content .= "@{$_}[2..7] c\n" for @$cubics;
783 my $content = "@{ $cubics->[0] }[0,1] m\n";
784 $content .= "@{$_}[2..7] c\n" for @$cubics;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/
H A Dpatch.cpp36 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { in draw_control_points()
40 SkPatchUtils::GetBottomCubic(cubics, bottom); in draw_control_points()
42 SkPatchUtils::GetTopCubic(cubics, top); in draw_control_points()
44 SkPatchUtils::GetLeftCubic(cubics, left); in draw_control_points()
46 SkPatchUtils::GetRightCubic(cubics, right); in draw_control_points()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dpatch.cpp36 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { in draw_control_points()
40 SkPatchUtils::GetBottomCubic(cubics, bottom); in draw_control_points()
42 SkPatchUtils::GetTopCubic(cubics, top); in draw_control_points()
44 SkPatchUtils::GetLeftCubic(cubics, left); in draw_control_points()
46 SkPatchUtils::GetRightCubic(cubics, right); in draw_control_points()

12345678910>>...17