Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPathParser.cpp122 FloatPoint point2; in parseCurveToCubicSegment() local
124 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint)) in parseCurveToCubicSegment()
130 point2 += m_currentPoint; in parseCurveToCubicSegment()
133 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSegment()
135 m_controlPoint = point2; in parseCurveToCubicSegment()
138 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode); in parseCurveToCubicSegment()
144 FloatPoint point2; in parseCurveToCubicSmoothSegment() local
146 if (!m_source->parseCurveToCubicSmoothSegment(point2, targetPoint)) in parseCurveToCubicSmoothSegment()
160 point2 += m_currentPoint; in parseCurveToCubicSmoothSegment()
164 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSmoothSegment()
[all …]
DSVGPathSegListBuilder.cpp99 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const … in curveToCubic() argument
104 …CubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathS… in curveToCubic()
106 …CubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathS… in curveToCubic()
109 void SVGPathSegListBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPo… in curveToCubicSmooth() argument
114 …eSVGPathSegCurvetoCubicSmoothAbs(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathS… in curveToCubicSmooth()
116 …eSVGPathSegCurvetoCubicSmoothRel(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathS… in curveToCubicSmooth()
DSVGPathStringBuilder.cpp70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const F… in curveToCubic() argument
74 + ' ' + String::number(point2.x()) + ' ' + String::number(point2.y()) in curveToCubic()
80 + ' ' + String::number(point2.x()) + ' ' + String::number(point2.y()) in curveToCubic()
84 void SVGPathStringBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoi… in curveToCubicSmooth() argument
87 m_stringBuilder.append("S " + String::number(point2.x()) + ' ' + String::number(point2.y()) in curveToCubicSmooth()
92 m_stringBuilder.append("s " + String::number(point2.x()) + ' ' + String::number(point2.y()) in curveToCubicSmooth()
DSVGPathByteStreamSource.cpp73 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, Floa… in parseCurveToCubicSegment() argument
76 point2 = readFloatPoint(); in parseCurveToCubicSegment()
81 bool SVGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& target… in parseCurveToCubicSmoothSegment() argument
83 point2 = readFloatPoint(); in parseCurveToCubicSmoothSegment()
DSVGPathByteStreamBuilder.cpp62 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, con… in curveToCubic() argument
67 writeFloatPoint(point2); in curveToCubic()
71 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targe… in curveToCubicSmooth() argument
75 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()
DSVGPathStringSource.cpp198 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoi… in parseCurveToCubicSegment() argument
201 … return parseFloatPoint3(m_current.m_character8, m_end.m_character8, point1, point2, targetPoint); in parseCurveToCubicSegment()
202 …return parseFloatPoint3(m_current.m_character16, m_end.m_character16, point1, point2, targetPoint); in parseCurveToCubicSegment()
212 bool SVGPathStringSource::parseCurveToQuadraticSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument
215 return parseFloatPoint2(m_current.m_character8, m_end.m_character8, point2, targetPoint); in parseCurveToQuadraticSegment()
216 return parseFloatPoint2(m_current.m_character16, m_end.m_character16, point2, targetPoint); in parseCurveToQuadraticSegment()
DSVGPathSegListSource.cpp97 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPo… in parseCurveToCubicSegment() argument
103 point2 = FloatPoint(cubic->x2(), cubic->y2()); in parseCurveToCubicSegment()
108 bool SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoi… in parseCurveToCubicSmoothSegment() argument
113 point2 = FloatPoint(cubicSmooth->x2(), cubicSmooth->y2()); in parseCurveToCubicSmoothSegment()
DSVGPathTraversalStateBuilder.cpp47 void SVGPathTraversalStateBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2,… in curveToCubic() argument
50 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint); in curveToCubic()
DSVGParserUtilities.cpp520 …eFloatPoint2(const CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint& point2) in parseFloatPoint2() argument
532 point2 = FloatPoint(x2, y2); in parseFloatPoint2()
536 … parseFloatPoint2(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPoint& point2);
537 … parseFloatPoint2(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPoint& point2);
540 …CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point… in parseFloatPoint3() argument
556 point2 = FloatPoint(x2, y2); in parseFloatPoint3()
561 …const LChar*& current, const LChar* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point…
562 …const UChar*& current, const UChar* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point…
/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/chromium_org/third_party/WebKit/Source/web/tests/
DWebPluginContainerTest.cpp118 WebPoint point2 = pluginContainerOne->windowToLocalPoint(WebPoint(100, 100)); in TEST_F() local
119 ASSERT_EQ(90, point2.x); in TEST_F()
120 ASSERT_EQ(90, point2.y); in TEST_F()
148 WebPoint point2 = pluginContainerOne->localToWindowPoint(WebPoint(90, 90)); in TEST_F() local
149 ASSERT_EQ(100, point2.x); in TEST_F()
150 ASSERT_EQ(100, point2.y); in TEST_F()
/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/chromium_org/third_party/skia/src/utils/win/
DSkDWriteGeometrySink.cpp120 { beziers->point2.x, beziers->point2.y }, in AddBeziers()
128 beziers->point2.x, beziers->point2.y, in AddBeziers()
/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp120 { beziers->point2.x, beziers->point2.y }, in AddBeziers()
128 beziers->point2.x, beziers->point2.y, in AddBeziers()
/external/chromium_org/ui/gfx/
Dbox_unittest.cc87 Point3F point2(-0.5f, -0.5f, -0.5f); in TEST() local
100 box1.ExpandTo(point2); in TEST()
105 box2.ExpandTo(point2); in TEST()
110 box3.ExpandTo(point2); in TEST()
/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/chromium_org/ash/wm/
Dwindow_manager_unittest.cc501 gfx::Point point2(kWindowLeft + 1, kWindowTop + 1); in TEST_F() local
502 aura::Window::ConvertPointToTarget(window->parent(), root_window, &point2); in TEST_F()
519 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0); in TEST_F()
535 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0); in TEST_F()
549 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0); in TEST_F()
564 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0); in TEST_F()
/external/chromium_org/ui/events/gestures/
Dgesture_sequence.cc1286 const GesturePoint* point2 = GetPointByPointId(1); in PinchStart() local
1291 AppendPinchGestureBegin(*point1, *point2, gestures); in PinchStart()
1342 GesturePoint* point2 = GetPointByPointId(1); in PinchEnd() local
1345 AppendPinchGestureEnd(*point1, *point2, in PinchEnd()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp750 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument
761 FloatPoint p2 = point2; in drawLine()
/external/chromium_org/ui/views/
Dview_unittest.cc2055 gfx::Point point2(110, 320); in TEST_F() local
2056 ui::MouseEvent p2(ui::ET_MOUSE_PRESSED, point2, point2, in TEST_F()
/external/chromium_org/third_party/WebKit/PerformanceTests/Parser/resources/
Dfinal-url-en45305 http://www.gospelcom.net/rbc/ds/q1208/point2.html