Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPathParser.cpp121 FloatPoint point1; in parseCurveToCubicSegment() local
124 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint)) in parseCurveToCubicSegment()
129 point1 += m_currentPoint; in parseCurveToCubicSegment()
133 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSegment()
138 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode); in parseCurveToCubicSegment()
156 FloatPoint point1 = m_currentPoint; in parseCurveToCubicSmoothSegment() local
157 point1.scale(2, 2); in parseCurveToCubicSmoothSegment()
158 point1.move(-m_controlPoint.x(), -m_controlPoint.y()); in parseCurveToCubicSmoothSegment()
164 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); in parseCurveToCubicSmoothSegment()
175 FloatPoint point1; in parseCurveToQuadraticSegment() local
[all …]
DSVGPathSegListBuilder.cpp99 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const … in curveToCubic() argument
104 …>createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.… in curveToCubic()
106 …>createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.… in curveToCubic()
119 void SVGPathSegListBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoin… in curveToQuadratic() argument
124 …ateSVGPathSegCurvetoQuadraticAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), m_pathS… in curveToQuadratic()
126 …ateSVGPathSegCurvetoQuadraticRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), m_pathS… in curveToQuadratic()
DSVGPathStringBuilder.cpp70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const F… in curveToCubic() argument
73 m_stringBuilder.append("C " + String::number(point1.x()) + ' ' + String::number(point1.y()) in curveToCubic()
79 m_stringBuilder.append("c " + String::number(point1.x()) + ' ' + String::number(point1.y()) in curveToCubic()
96 void SVGPathStringBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint… in curveToQuadratic() argument
99 m_stringBuilder.append("Q " + String::number(point1.x()) + ' ' + String::number(point1.y()) in curveToQuadratic()
104 m_stringBuilder.append("q " + String::number(point1.x()) + ' ' + String::number(point1.y()) in curveToQuadratic()
DSVGPathByteStreamSource.cpp73 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, Floa… in parseCurveToCubicSegment() argument
75 point1 = readFloatPoint(); in parseCurveToCubicSegment()
88 bool SVGPathByteStreamSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPo… in parseCurveToQuadraticSegment() argument
90 point1 = readFloatPoint(); in parseCurveToQuadraticSegment()
DSVGPathByteStreamBuilder.cpp62 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, con… in curveToCubic() argument
66 writeFloatPoint(point1); in curveToCubic()
79 void SVGPathByteStreamBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetP… in curveToQuadratic() argument
83 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()
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()
205 bool SVGPathStringSource::parseCurveToCubicSmoothSegment(FloatPoint& point1, FloatPoint& targetPoin… in parseCurveToCubicSmoothSegment() argument
208 return parseFloatPoint2(m_current.m_character8, m_end.m_character8, point1, targetPoint); in parseCurveToCubicSmoothSegment()
209 return parseFloatPoint2(m_current.m_character16, m_end.m_character16, point1, targetPoint); in parseCurveToCubicSmoothSegment()
DSVGPathSegListSource.cpp97 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPo… in parseCurveToCubicSegment() argument
102 point1 = FloatPoint(cubic->x1(), cubic->y1()); in parseCurveToCubicSegment()
118 bool SVGPathSegListSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument
123 point1 = FloatPoint(quadratic->x1(), quadratic->y1()); in parseCurveToQuadraticSegment()
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.cpp516 template bool parseFloatPoint(const LChar*& current, const LChar* end, FloatPoint& point1);
517 template bool parseFloatPoint(const UChar*& current, const UChar* end, FloatPoint& point1);
520 inline bool parseFloatPoint2(const CharType*& current, const CharType* end, FloatPoint& point1, Flo… in parseFloatPoint2() argument
531 point1 = FloatPoint(x1, y1); in parseFloatPoint2()
536 template bool parseFloatPoint2(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPo…
537 template bool parseFloatPoint2(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPo…
540 bool parseFloatPoint3(const CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint… in parseFloatPoint3() argument
555 point1 = FloatPoint(x1, y1); in parseFloatPoint3()
561 template bool parseFloatPoint3(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPo…
562 template bool parseFloatPoint3(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPo…
/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/chromium_org/third_party/WebKit/Source/web/tests/
DWebPluginContainerTest.cpp115 WebPoint point1 = pluginContainerOne->windowToLocalPoint(WebPoint(10, 10)); in TEST_F() local
116 ASSERT_EQ(0, point1.x); in TEST_F()
117 ASSERT_EQ(0, point1.y); in TEST_F()
145 WebPoint point1 = pluginContainerOne->localToWindowPoint(WebPoint(0, 0)); in TEST_F() local
146 ASSERT_EQ(10, point1.x); in TEST_F()
147 ASSERT_EQ(10, point1.y); in TEST_F()
/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/chromium_org/third_party/skia/src/utils/win/
DSkDWriteGeometrySink.cpp119 { beziers->point1.x, beziers->point1.y }, in AddBeziers()
127 fPath->cubicTo(beziers->point1.x, beziers->point1.y, in AddBeziers()
/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp119 { beziers->point1.x, beziers->point1.y }, in AddBeziers()
127 fPath->cubicTo(beziers->point1.x, beziers->point1.y, in AddBeziers()
/external/chromium_org/ui/gfx/
Dbox_unittest.cc86 Point3F point1(0.5f, 0.5f, 0.5f); in TEST() local
98 box1.ExpandTo(point1); in TEST()
103 box2.ExpandTo(point1); in TEST()
108 box3.ExpandTo(point1); in TEST()
/external/chromium_org/ash/wm/
Dwindow_manager_unittest.cc498 gfx::Point point1(kWindowLeft, kWindowTop); in TEST_F() local
499 aura::Window::ConvertPointToTarget(window->parent(), root_window, &point1); in TEST_F()
512 ui::MouseEvent move1(ui::ET_MOUSE_MOVED, point1, point1, 0x0); in TEST_F()
527 ui::MouseEvent move1(ui::ET_MOUSE_MOVED, point1, point1, 0x0); in TEST_F()
542 ui::MouseEvent move1(ui::ET_MOUSE_MOVED, point1, point1, 0x0); in TEST_F()
556 ui::MouseEvent move1(ui::ET_MOUSE_MOVED, point1, point1, 0x0); in TEST_F()
573 ui::MouseEvent move1(ui::ET_MOUSE_MOVED, point1, point1, 0x0); in TEST_F()
/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/chromium_org/ui/events/gestures/
Dgesture_sequence.cc1285 const GesturePoint* point1 = GetPointByPointId(0); in PinchStart() local
1291 AppendPinchGestureBegin(*point1, *point2, gestures); in PinchStart()
1341 GesturePoint* point1 = GetPointByPointId(0); in PinchEnd() local
1345 AppendPinchGestureEnd(*point1, *point2, in PinchEnd()
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
Driva_mmio.h290 U032 point1; /* y_x S16_S16 in pixels 4- 7*/ member
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp750 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) in drawLine() argument
760 FloatPoint p1 = point1; in drawLine()