Home
last modified time | relevance | path

Searched refs:point1 (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
DSVGPathParser.cpp122 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 …]
DSVGPathStringBuilder.cpp70 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()
DSVGPathSegListBuilder.cpp92 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()
DSVGPathByteStreamSource.cpp75 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()
DSVGPathByteStreamBuilder.cpp65 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()
DSVGPathBuilder.cpp52 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()
DSVGPathSegListSource.cpp98 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()
DSVGPathStringSource.cpp160 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()
DSVGPathTraversalStateBuilder.cpp48 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/bullet/com/jme3/bullet/collision/shapes/
DSimplexCollisionShape.java27 … 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/jbullet/com/jme3/bullet/collision/shapes/
DSimplexCollisionShape.java27 … 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/
DPathOpenVG.cpp229 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/
Dcvmorphcontours.cpp553 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 …]
Dcvepilines.cpp76 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/webkit/Source/WebCore/platform/graphics/wince/
DPlatformPathWinCE.cpp333 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/
DPathWx.cpp172 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()
DGraphicsContextWx.cpp206 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/
Dcvaux.h559 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/
DPlatformGraphicsContextSkia.cpp357 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()
DGraphicsContextAndroid.cpp168 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument
174 platformContext()->drawLine(point1, point2); in drawLine()
DPlatformGraphicsContextSkia.h88 virtual void drawLine(const IntPoint& point1, const IntPoint& point2);
DPlatformGraphicsContextRecording.cpp841 void PlatformGraphicsContextRecording::drawLine(const IntPoint& point1, in drawLine() argument
844 FloatRect bounds = FloatQuad(point1, point1, point2, point2).boundingBox(); in drawLine()
848 appendDrawingOperation(NEW_OP(DrawLine)(point1, point2), bounds); in drawLine()
/external/webkit/Source/WebKit/mac/WebView/
DWebWindowAnimation.m47 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/
DLoopBlinnLocalTriangulator.cpp76 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/
DGraphicsContextHaiku.cpp102 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument
110 m_data->m_view->StrokeLine(point1, point2, getHaikuStrokeStyle()); in drawLine()

12