Searched refs:pt4 (Results 1 - 6 of 6) sorted by relevance
/external/fonttools/Lib/fontTools/misc/ |
H A D | 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 a [all...] |
/external/fonttools/Tools/fontTools/misc/ |
H A D | 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 a [all...] |
/external/opencv/cv/src/ |
H A D | 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/mesa3d/src/gallium/state_trackers/vega/ |
H A D | bezier.c | 191 float *pt4) 202 bez->x4 = pt4[0]; 203 bez->y4 = pt4[1]; 187 bezier_init2v(struct bezier *bez, float *pt1, float *pt2, float *pt3, float *pt4) argument
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_Utils.cpp | 232 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom); 250 px = pt3.x - pt4.x; 251 py = pt3.y - pt4.y; 254 << pt4.x + px * PWL_BEZIER << " " << pt4.y << " " 255 << pt4.x << " " << pt4.y << " c\n"; 257 px = pt4.x - pt1.x; 258 py = pt1.y - pt4.y; 260 csAP << pt4 [all...] |
/external/skia/tests/ |
H A D | CanvasTest.cpp | 156 SkPoint pt4 = { SkIntToScalar(1), SK_ScalarNearlyZero/2 }; local 160 path.lineTo(pt4);
|
Completed in 145 milliseconds