/external/webkit/Source/WebCore/svg/ |
SVGPathParser.cpp | 122 FloatPoint point1; local 125 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint)) 130 point1 += m_currentPoint; 134 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); 139 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode); 157 FloatPoint point1 = m_currentPoint; local 158 point1.scale(2, 2); 159 point1.move(-m_controlPoint.x(), -m_controlPoint.y()); 165 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); 176 FloatPoint point1; local 183 FloatPoint point1 = m_currentPoint; local 266 FloatPoint point1 = m_currentPoint; local [all...] |
SVGPathByteStreamSource.cpp | 75 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) 77 point1 = readFloatPoint(); 90 bool SVGPathByteStreamSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) 92 point1 = readFloatPoint();
|
SVGPathStringBuilder.cpp | 70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 73 m_stringBuilder.append(String::format("C %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 75 m_stringBuilder.append(String::format("c %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 86 void SVGPathStringBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint, PathCoordinateMode mode) 89 m_stringBuilder.append(String::format("Q %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), targetPoint.x(), targetPoint.y())); 91 m_stringBuilder.append(String::format("q %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), targetPoint.x(), targetPoint.y())) [all...] |
SVGPathBuilder.cpp | 52 void SVGPathBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint); 60 m_path->addBezierCurveTo(point1, point2, m_current);
|
SVGPathSegListBuilder.cpp | 92 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 97 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathSegRole)); 99 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathSegRole)); 112 void SVGPathSegListBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint, PathCoordinateMode mode) 117 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoQuadraticAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), m_pathSegRole)); 119 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoQuadraticRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), m_pathSegRole)) [all...] |
SVGPathByteStreamBuilder.cpp | 65 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 69 writeFloatPoint(point1); 82 void SVGPathByteStreamBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint, PathCoordinateMode mode) 86 writeFloatPoint(point1);
|
SVGPathTraversalStateBuilder.cpp | 48 void SVGPathTraversalStateBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode) 51 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint);
|
SVGPathSegListSource.cpp | 98 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) 103 point1 = FloatPoint(cubic->x1(), cubic->y1()); 119 bool SVGPathSegListSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) 124 point1 = FloatPoint(quadratic->x1(), quadratic->y1());
|
SVGPathStringSource.cpp | 160 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) 175 point1 = FloatPoint(x1, y1); 181 bool SVGPathStringSource::parseCurveToCubicSmoothSegment(FloatPoint& point1, FloatPoint& targetPoint) 192 point1 = FloatPoint(x1, y1);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
SimplexCollisionShape.java | 27 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) { 28 vector1 = point1; 35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) { 36 vector1 = point1; 42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) { 43 vector1 = point1; 48 public SimplexCollisionShape(Vector3f point1) { 49 vector1 = point1;
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
SimplexCollisionShape.java | 27 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) { 28 vector1 = point1; 35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) { 36 vector1 = point1; 42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) { 43 vector1 = point1; 48 public SimplexCollisionShape(Vector3f point1) { 49 vector1 = point1;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutPointTest.java | 27 LayoutPoint point1 = LayoutPoint.create(mCanvas, 1, 1); local 39 assertFalse(point1.equals(point2)); 40 assertFalse(point1.equals(point3)); 42 assertFalse(point1.equals(point2));
|
ControlPointTest.java | 56 ControlPoint point1 = ControlPoint.create(mCanvas, 1, 1); local 68 assertFalse(point1.equals(point2)); 69 assertFalse(point1.equals(point3)); 71 assertFalse(point1.equals(point2));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMath.java | 94 public static float[] getVectorFromPoints(float[] point1, float[] point2) { 96 point2[0] - point1[0], point2[1] - point1[1] 101 public static float[] getUnitVectorFromPoints(float[] point1, float[] point2) { 103 point2[0] - point1[0], point2[1] - point1[1]
|
/external/skia/src/utils/win/ |
SkDWriteGeometrySink.cpp | 119 { beziers->point1.x, beziers->point1.y }, 127 fPath->cubicTo(SkFloatToScalar(beziers->point1.x), SkFloatToScalar(beziers->point1.y),
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
PathOpenVG.cpp | 229 void Path::addArcTo(const FloatPoint& point1, const FloatPoint& point2, float radius) 234 if (!radius || point0 == point1 || point1 == point2) { 235 addLineTo(point1); 239 FloatSize v01 = point0 - point1; 240 FloatSize v21 = point2 - point1; 247 addLineTo(point1); 256 FloatPoint startPoint = FloatPoint(point1.x() + v01.width() * rate, 257 point1.y() + v01.height() * rate); 259 FloatPoint endPoint = FloatPoint(point1.x() + v21.width() * rate [all...] |
/external/opencv/cvaux/src/ |
cvmorphcontours.cpp | 553 CvPoint* point1; // array of first contour point local 570 point1 = (CvPoint* )malloc( Ni*sizeof(CvPoint) ); 574 cvCvtSeqToArray( contour1, point1, CV_WHOLE_SEQ ); 578 point1[Ni-1] = point1[0]; 596 point_output.x = cvRound(point1[i].x + param*( point2[corr_point].x - point1[i].x )); 597 point_output.y = cvRound(point1[i].y + param*( point2[corr_point].y - point1[i].y )); 633 CvPoint* point1; // array of first contour poin local [all...] |
cvepilines.cpp | 76 CvPoint3D64d point1, 82 icvGetPieceLength3D(pointCorner,point1,&len1); 90 pointSym2->x = pointCorner.x + alpha*(point1.x - pointCorner.x); 91 pointSym2->y = pointCorner.y + alpha*(point1.y - pointCorner.y); 92 pointSym2->z = pointCorner.z + alpha*(point1.z - pointCorner.z); 210 CvPoint2D64d point1; local 222 point1.x = (1.0 - alpha) * quad1[0][0] + alpha * quad1[3][0]; 223 point1.y = (1.0 - alpha) * quad1[0][1] + alpha * quad1[3][1]; 235 icvComCoeffForLine( point1, 339 int icvComCoeffForLine( CvPoint2D64d point1, 2051 CvPoint2D64d point1,point2; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/wx/ |
PathWx.cpp | 172 void Path::addArcTo(const FloatPoint& point1, const FloatPoint& point2, float radius) 176 m_path->AddArcToPoint(point1.x(), point1.y(), point2.x(), point2.y(), radius);
|
/external/webkit/Source/WebKit/mac/WebView/ |
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/wince/ |
PlatformPathWinCE.cpp | 333 const PathPoint* point1 = &last(); local 339 if (point1->x() != point.x()) { 342 wasNegative = point1->x() < point.x() ? 1 : 0; 343 } else if (point2.x() < point.x() != point1->x() < point.x()) { 344 float y = (point2.y() - point1->y()) / (point2.x() - point1->x()) * (point.x() - point1->x()) + point1->y(); 352 if (point1->y() == point.y()) 355 if (point1->y() > point.y()) [all...] |
/external/opencv/cvaux/include/ |
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,CvPoint2D64f *point2); 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) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
PlatformGraphicsContextSkia.cpp | 357 void PlatformGraphicsContextSkia::drawLine(const IntPoint& point1, 366 const int idx = SkAbs32(point2.x() - point1.x()); 367 const int idy = SkAbs32(point2.y() - point1.y()); 373 SkScalar x = SkIntToScalar(SkMin32(point1.x(), point2.x())); 374 SkScalar y = SkIntToScalar(SkMin32(point1.y(), point2.y())); 426 SkPoint pts[2] = { point1, point2 };
|
PlatformGraphicsContextSkia.h | 88 virtual void drawLine(const IntPoint& point1, const IntPoint& point2);
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnLocalTriangulator.cpp | 76 FloatPoint3D point1(m_vertices[1]->xyCoordinates()); 78 FloatPoint3D crossProduct = (point1 - point0).cross(point2 - point0);
|