Home
last modified time | relevance | path

Searched refs:point2 (Results 1 – 25 of 35) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
DSVGPathParser.cpp123 FloatPoint point2; in parseCurveToCubicSegment() local
125 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint)) in parseCurveToCubicSegment()
131 point2 += m_currentPoint; in parseCurveToCubicSegment()
134 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSegment()
136 m_controlPoint = point2; in parseCurveToCubicSegment()
139 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode); in parseCurveToCubicSegment()
145 FloatPoint point2; in parseCurveToCubicSmoothSegment() local
147 if (!m_source->parseCurveToCubicSmoothSegment(point2, targetPoint)) in parseCurveToCubicSmoothSegment()
161 point2 += m_currentPoint; in parseCurveToCubicSmoothSegment()
165 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSmoothSegment()
[all …]
DSVGPathStringBuilder.cpp70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const F… in curveToCubic() argument
73 …("C %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetP… in curveToCubic()
75 …("c %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetP… in curveToCubic()
78 void SVGPathStringBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoi… in curveToCubicSmooth() argument
81 …m_stringBuilder.append(String::format("S %.6lg %.6lg %.6lg %.6lg ", point2.x(), point2.y(), target… in curveToCubicSmooth()
83 …m_stringBuilder.append(String::format("s %.6lg %.6lg %.6lg %.6lg ", point2.x(), point2.y(), target… in curveToCubicSmooth()
DSVGPathSegListBuilder.cpp92 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const … in curveToCubic() argument
97 …CubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathS… in curveToCubic()
99 …CubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathS… in curveToCubic()
102 void SVGPathSegListBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPo… in curveToCubicSmooth() argument
107 …eSVGPathSegCurvetoCubicSmoothAbs(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathS… in curveToCubicSmooth()
109 …eSVGPathSegCurvetoCubicSmoothRel(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathS… in curveToCubicSmooth()
DSVGPathByteStreamSource.cpp75 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, Floa… in parseCurveToCubicSegment() argument
78 point2 = readFloatPoint(); in parseCurveToCubicSegment()
83 bool SVGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& target… in parseCurveToCubicSmoothSegment() argument
85 point2 = readFloatPoint(); in parseCurveToCubicSmoothSegment()
DSVGPathByteStreamBuilder.cpp65 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, con… in curveToCubic() argument
70 writeFloatPoint(point2); in curveToCubic()
74 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targe… in curveToCubicSmooth() argument
78 writeFloatPoint(point2); in curveToCubicSmooth()
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
104 point2 = FloatPoint(cubic->x2(), cubic->y2()); in parseCurveToCubicSegment()
109 bool SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoi… in parseCurveToCubicSmoothSegment() argument
114 point2 = FloatPoint(cubicSmooth->x2(), cubicSmooth->y2()); in parseCurveToCubicSmoothSegment()
DSVGPathStringSource.cpp160 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoi… in parseCurveToCubicSegment() argument
176 point2 = FloatPoint(x2, y2); in parseCurveToCubicSegment()
197 bool SVGPathStringSource::parseCurveToQuadraticSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument
208 point2 = FloatPoint(x2, y2); in parseCurveToQuadraticSegment()
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
29 vector2 = point2; in SimplexCollisionShape()
35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) { in SimplexCollisionShape() argument
37 vector2 = point2; in SimplexCollisionShape()
42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) { in SimplexCollisionShape() argument
44 vector2 = point2; 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
29 vector2 = point2; in SimplexCollisionShape()
35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) { in SimplexCollisionShape() argument
37 vector2 = point2; in SimplexCollisionShape()
42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) { in SimplexCollisionShape() argument
44 vector2 = point2; in SimplexCollisionShape()
/external/opencv/cvaux/src/
Dcvmorphcontours.cpp554 CvPoint* point2; // array of second contour point in icvBlendContours() local
571 point2 = (CvPoint* )malloc( Nj*sizeof(CvPoint) ); in icvBlendContours()
575 cvCvtSeqToArray( contour2, point2, CV_WHOLE_SEQ ); in icvBlendContours()
579 point2[Nj-1] = point2[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()
634 CvPoint* point2; // array of second contour point in icvCalcContoursCorrespondence() local
659 point2 = (CvPoint* )malloc( Nj*sizeof(CvPoint) ); in icvCalcContoursCorrespondence()
665 cvCvtSeqToArray( contour2, point2, CV_WHOLE_SEQ ); in icvCalcContoursCorrespondence()
668 point2[Nj-1] = point2[0]; in icvCalcContoursCorrespondence()
[all …]
Dcvepilines.cpp77 CvPoint3D64d point2, in icvGetSymPoint3D() argument
87 icvGetPieceLength3D(pointCorner,point2,&len2); in icvGetSymPoint3D()
211 CvPoint2D64d point2; in icvComputeCoeffForStereoV3() local
225 point2.x = (1.0 - alpha) * quad1[1][0] + alpha * quad1[2][0]; in icvComputeCoeffForStereoV3()
226 point2.y = (1.0 - alpha) * quad1[1][1] + alpha * quad1[2][1]; in icvComputeCoeffForStereoV3()
236 point2, in icvComputeCoeffForStereoV3()
340 CvPoint2D64d point2, in icvComCoeffForLine() argument
369 icvGetDirectionForPoint( point2, in icvComCoeffForLine()
667 …vGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *point2) in icvGetAngleLine() argument
695 *point2 = pc; in icvGetAngleLine()
[all …]
/external/webkit/Source/WebCore/platform/graphics/wince/
DPlatformPathWinCE.cpp338 const PathPoint& point2 = *i; in contains() local
340 if (point2.x() == point.x()) { 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()
356 if (point2.x() == point.x()) { in contains()
358 if (point2.y() <= point.y()) in contains()
386 if (wasNegative ? point2.x() > point.x() : point2.x() < point.x()) in contains()
389 } else if (point2.x() == point.x() && point2.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
212 FloatPoint p2 = point2; in drawLine()
215 m_data->context->DrawLine(point1.x(), point1.y(), point2.x(), point2.y()); in drawLine()
/external/opencv/cvaux/include/
Dcvaux.h560 CvPoint3D64f point2,
563 CVAPI(void) icvGetPieceLength3D(CvPoint3D64f point1,CvPoint3D64f point2,double* dist);
586 CVAPI(float) icvDefinePointPosition(CvPoint2D32f point1,CvPoint2D32f point2,CvPoint2D32f point);
602 CvPoint2D64f point2,
638 …GetAngleLine( CvPoint2D64f startPoint, CvSize imageSize,CvPoint2D64f *point1,CvPoint2D64f *point2);
655 CvPoint2D32f *point2);
661 CvPoint2D32f point2);
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/clang/test/CodeGen/
Dstruct.c18 } point2; variable
21 point2.p1.a = 42; in fn2()
/external/webkit/Source/WebCore/platform/graphics/android/context/
DPlatformGraphicsContextSkia.cpp358 const IntPoint& point2) 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);
/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.cpp77 FloatPoint3D point2(m_vertices[2]->xyCoordinates()); in makeCounterClockwise() local
78 FloatPoint3D crossProduct = (point1 - point0).cross(point2 - point0); in makeCounterClockwise()
/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()
240 FloatSize v21 = point2 - point1; in addArcTo()
/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