/external/webkit/Source/WebCore/svg/ |
D | SVGPathParser.cpp | 122 FloatPoint point1; in parseCurveToCubicSegment() local 125 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint)) in parseCurveToCubicSegment() 130 point1 += m_currentPoint; in parseCurveToCubicSegment() 134 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSegment() 139 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode); in parseCurveToCubicSegment() 157 FloatPoint point1 = m_currentPoint; in parseCurveToCubicSmoothSegment() local 158 point1.scale(2, 2); in parseCurveToCubicSmoothSegment() 159 point1.move(-m_controlPoint.x(), -m_controlPoint.y()); in parseCurveToCubicSmoothSegment() 165 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSmoothSegment() 176 FloatPoint point1; in parseCurveToQuadraticSegment() local [all …]
|
D | SVGPathStringBuilder.cpp | 70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const F… in curveToCubic() argument 73 …er.append(String::format("C %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.… in curveToCubic() 75 …er.append(String::format("c %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.… in curveToCubic() 86 void SVGPathStringBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint… in curveToQuadratic() argument 89 …m_stringBuilder.append(String::format("Q %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), target… in curveToQuadratic() 91 …m_stringBuilder.append(String::format("q %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), target… in curveToQuadratic()
|
D | SVGPathSegListBuilder.cpp | 92 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const … in curveToCubic() argument 97 …>createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.… in curveToCubic() 99 …>createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.… in curveToCubic() 112 void SVGPathSegListBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoin… in curveToQuadratic() argument 117 …ateSVGPathSegCurvetoQuadraticAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), m_pathS… in curveToQuadratic() 119 …ateSVGPathSegCurvetoQuadraticRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), m_pathS… in curveToQuadratic()
|
D | SVGPathByteStreamSource.cpp | 75 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, Floa… in parseCurveToCubicSegment() argument 77 point1 = readFloatPoint(); in parseCurveToCubicSegment() 90 bool SVGPathByteStreamSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPo… in parseCurveToQuadraticSegment() argument 92 point1 = readFloatPoint(); in parseCurveToQuadraticSegment()
|
D | SVGPathByteStreamBuilder.cpp | 65 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, con… in curveToCubic() argument 69 writeFloatPoint(point1); in curveToCubic() 82 void SVGPathByteStreamBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetP… in curveToQuadratic() argument 86 writeFloatPoint(point1); in curveToQuadratic()
|
D | SVGPathBuilder.cpp | 52 void SVGPathBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPo… in curveToCubic() argument 56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint); in curveToCubic() 60 m_path->addBezierCurveTo(point1, point2, m_current); in curveToCubic()
|
D | SVGPathSegListSource.cpp | 98 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPo… in parseCurveToCubicSegment() argument 103 point1 = FloatPoint(cubic->x1(), cubic->y1()); in parseCurveToCubicSegment() 119 bool SVGPathSegListSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument 124 point1 = FloatPoint(quadratic->x1(), quadratic->y1()); in parseCurveToQuadraticSegment()
|
D | SVGPathStringSource.cpp | 160 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoi… in parseCurveToCubicSegment() argument 175 point1 = FloatPoint(x1, y1); in parseCurveToCubicSegment() 181 bool SVGPathStringSource::parseCurveToCubicSmoothSegment(FloatPoint& point1, FloatPoint& targetPoin… in parseCurveToCubicSmoothSegment() argument 192 point1 = FloatPoint(x1, y1); in parseCurveToCubicSmoothSegment()
|
D | SVGPathTraversalStateBuilder.cpp | 48 void SVGPathTraversalStateBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2,… in curveToCubic() argument 51 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint); in curveToCubic()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | SimplexCollisionShape.java | 27 … public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) { in SimplexCollisionShape() argument 28 vector1 = point1; in SimplexCollisionShape() 35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) { in SimplexCollisionShape() argument 36 vector1 = point1; in SimplexCollisionShape() 42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) { in SimplexCollisionShape() argument 43 vector1 = point1; in SimplexCollisionShape() 48 public SimplexCollisionShape(Vector3f point1) { in SimplexCollisionShape() argument 49 vector1 = point1; in SimplexCollisionShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | SimplexCollisionShape.java | 27 … public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) { in SimplexCollisionShape() argument 28 vector1 = point1; in SimplexCollisionShape() 35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) { in SimplexCollisionShape() argument 36 vector1 = point1; in SimplexCollisionShape() 42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) { in SimplexCollisionShape() argument 43 vector1 = point1; in SimplexCollisionShape() 48 public SimplexCollisionShape(Vector3f point1) { in SimplexCollisionShape() argument 49 vector1 = point1; in SimplexCollisionShape()
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
D | PathOpenVG.cpp | 229 void Path::addArcTo(const FloatPoint& point1, const FloatPoint& point2, float radius) in addArcTo() argument 234 if (!radius || point0 == point1 || point1 == point2) { in addArcTo() 235 addLineTo(point1); in addArcTo() 239 FloatSize v01 = point0 - point1; in addArcTo() 240 FloatSize v21 = point2 - point1; in addArcTo() 247 addLineTo(point1); in addArcTo() 256 FloatPoint startPoint = FloatPoint(point1.x() + v01.width() * rate, in addArcTo() 257 point1.y() + v01.height() * rate); in addArcTo() 259 FloatPoint endPoint = FloatPoint(point1.x() + v21.width() * rate, in addArcTo() 260 point1.y() + v21.height() * rate); in addArcTo()
|
/external/opencv/cvaux/src/ |
D | cvmorphcontours.cpp | 553 CvPoint* point1; // array of first contour point in icvBlendContours() local 570 point1 = (CvPoint* )malloc( Ni*sizeof(CvPoint) ); in icvBlendContours() 574 cvCvtSeqToArray( contour1, point1, CV_WHOLE_SEQ ); in icvBlendContours() 578 point1[Ni-1] = point1[0]; in icvBlendContours() 596 point_output.x = cvRound(point1[i].x + param*( point2[corr_point].x - point1[i].x )); in icvBlendContours() 597 point_output.y = cvRound(point1[i].y + param*( point2[corr_point].y - point1[i].y )); in icvBlendContours() 633 CvPoint* point1; // array of first contour point in icvCalcContoursCorrespondence() local 658 point1 = (CvPoint* )malloc( Ni*sizeof(CvPoint) ); in icvCalcContoursCorrespondence() 664 cvCvtSeqToArray( contour1, point1, CV_WHOLE_SEQ ); in icvCalcContoursCorrespondence() 667 point1[Ni-1] = point1[0]; in icvCalcContoursCorrespondence() [all …]
|
D | cvepilines.cpp | 76 CvPoint3D64d point1, in icvGetSymPoint3D() argument 82 icvGetPieceLength3D(pointCorner,point1,&len1); in icvGetSymPoint3D() 90 pointSym2->x = pointCorner.x + alpha*(point1.x - pointCorner.x); in icvGetSymPoint3D() 91 pointSym2->y = pointCorner.y + alpha*(point1.y - pointCorner.y); in icvGetSymPoint3D() 92 pointSym2->z = pointCorner.z + alpha*(point1.z - pointCorner.z); in icvGetSymPoint3D() 210 CvPoint2D64d point1; in icvComputeCoeffForStereoV3() local 222 point1.x = (1.0 - alpha) * quad1[0][0] + alpha * quad1[3][0]; in icvComputeCoeffForStereoV3() 223 point1.y = (1.0 - alpha) * quad1[0][1] + alpha * quad1[3][1]; in icvComputeCoeffForStereoV3() 235 icvComCoeffForLine( point1, in icvComputeCoeffForStereoV3() 339 int icvComCoeffForLine( CvPoint2D64d point1, in icvComCoeffForLine() argument [all …]
|
/external/skia/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 119 { beziers->point1.x, beziers->point1.y }, in AddBeziers() 127 fPath->cubicTo(SkFloatToScalar(beziers->point1.x), SkFloatToScalar(beziers->point1.y), in AddBeziers()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | PlatformPathWinCE.cpp | 333 const PathPoint* point1 = &last(); in contains() local 339 if (point1->x() != point.x()) { in contains() 342 wasNegative = point1->x() < point.x() ? 1 : 0; in contains() 343 } else if (point2.x() < point.x() != point1->x() < point.x()) { in contains() 344 …float y = (point2.y() - point1->y()) / (point2.x() - point1->x()) * (point.x() - point1->x()) + po… in contains() 352 if (point1->y() == point.y()) in contains() 355 if (point1->y() > point.y()) { in contains() 392 point1 = &point2; in contains()
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | PathWx.cpp | 172 void Path::addArcTo(const FloatPoint& point1, const FloatPoint& point2, float radius) in addArcTo() argument 176 m_path->AddArcToPoint(point1.x(), point1.y(), point2.x(), point2.y(), radius); in addArcTo()
|
D | GraphicsContextWx.cpp | 206 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument 211 FloatPoint p1 = point1; in drawLine() 215 m_data->context->DrawLine(point1.x(), point1.y(), point2.x(), point2.y()); in drawLine()
|
/external/opencv/cvaux/include/ |
D | cvaux.h | 559 CvPoint3D64f point1, 563 CVAPI(void) icvGetPieceLength3D(CvPoint3D64f point1,CvPoint3D64f point2,double* dist); 586 CVAPI(float) icvDefinePointPosition(CvPoint2D32f point1,CvPoint2D32f point2,CvPoint2D32f point); 601 CVAPI(int) icvComCoeffForLine( CvPoint2D64f point1, 638 CVAPI(int) icvGetAngleLine( CvPoint2D64f startPoint, CvSize imageSize,CvPoint2D64f *point1,CvPoint2… 654 CvPoint2D32f point1, 660 CvPoint2D32f* point1, 675 CVAPI(void) icvGetPieceLength(CvPoint2D64f point1,CvPoint2D64f point2,double* dist); 713 CvPoint2D64f point1,CvPoint2D64f point2, 718 CVAPI(double) icvGetVect(CvPoint2D64f basePoint,CvPoint2D64f point1,CvPoint2D64f point2);
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
D | PlatformGraphicsContextSkia.cpp | 357 void PlatformGraphicsContextSkia::drawLine(const IntPoint& point1, in drawLine() argument 366 const int idx = SkAbs32(point2.x() - point1.x()); in drawLine() 367 const int idy = SkAbs32(point2.y() - point1.y()); in drawLine() 373 SkScalar x = SkIntToScalar(SkMin32(point1.x(), point2.x())); in drawLine() 374 SkScalar y = SkIntToScalar(SkMin32(point1.y(), point2.y())); in drawLine() 426 SkPoint pts[2] = { point1, point2 }; in drawLine()
|
D | GraphicsContextAndroid.cpp | 166 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument 172 platformContext()->drawLine(point1, point2); in drawLine()
|
D | PlatformGraphicsContextSkia.h | 88 virtual void drawLine(const IntPoint& point1, const IntPoint& point2);
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebWindowAnimation.m | 47 static CGFloat squaredDistance(NSPoint point1, NSPoint point2) 49 CGFloat deltaX = point1.x - point2.x; 50 CGFloat deltaY = point1.y - point2.y;
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
D | LoopBlinnLocalTriangulator.cpp | 76 FloatPoint3D point1(m_vertices[1]->xyCoordinates()); in makeCounterClockwise() local 78 FloatPoint3D crossProduct = (point1 - point0).cross(point2 - point0); in makeCounterClockwise()
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | GraphicsContextHaiku.cpp | 102 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument 110 m_data->m_view->StrokeLine(point1, point2, getHaikuStrokeStyle()); in drawLine()
|