OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pt4
(Results
1 - 5
of
5
) sorted by null
/external/fonttools/Lib/fontTools/misc/
bezierTools.py
45
def calcCubicBounds(pt1, pt2, pt3,
pt4
):
47
pt1 and
pt4
are the "anchor" points, pt2 and pt3 are the "handles".
56
(ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3,
pt4
)
66
points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1,
pt4
]
141
def splitCubic(pt1, pt2, pt3,
pt4
, where, isHorizontal):
142
"""Split the cubic curve between pt1, pt2, pt3 and
pt4
at position 'where',
156
a, b, c, d = calcCubicParameters(pt1, pt2, pt3,
pt4
)
161
return [(pt1, pt2, pt3,
pt4
)]
181
def splitCubicAtT(pt1, pt2, pt3,
pt4
, *ts):
182
"""Split the cubic curve between pt1, pt2, pt3 and
pt4
at one or mor
[
all
...]
/external/opencv/cv/src/
cvpgh.cpp
236
CvPoint pt3,
pt4
;
local
238
CV_READ_EDGE( pt3,
pt4
, reader2 );
243
int d2 = (
pt4
.y - pt1.y) * dx - (pt2.x - pt1.x) * dy;
249
int dp = (
pt4
.x - pt3.x) * dx + (
pt4
.y - pt3.y) * dy;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
bezier.c
191
float *
pt4
)
202
bez->x4 =
pt4
[0];
203
bez->y4 =
pt4
[1];
/external/mesa3d/src/gallium/state_trackers/vega/
bezier.c
191
float *
pt4
)
202
bez->x4 =
pt4
[0];
203
bez->y4 =
pt4
[1];
/external/chromium_org/third_party/skia/tests/
CanvasTest.cpp
226
SkPoint
pt4
= { SkIntToScalar(1), SK_ScalarNearlyZero/2 };
local
230
path.lineTo(
pt4
);
[
all
...]
Completed in 317 milliseconds