/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...] |
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...] |
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...] |
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);
|
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();
|
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);
|
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);
|
/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));
|
/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...] |
cvlee.cpp | [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);
|
GraphicsContextWx.cpp | 206 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 211 FloatPoint p1 = point1; 215 m_data->context->DrawLine(point1.x(), point1.y(), point2.x(), point2.y());
|
/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLTest.java | 74 "http://www.yahoo1.com:8080/dir1/dir2/test.cgi?point1.html#anchor1"); 79 "/dir1/dir2/test.cgi?point1.html", u.getFile()); 92 "http://www.yahoo3.com/dir1/dir2/test.cgi?point1.html#anchor1"); 97 "/dir1/dir2/test.cgi?point1.html", u2.getFile()); 138 "http://www.yahoo5.com/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html#anchor1"); 143 "/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html", u4.getFile()); 215 "http:www.yahoo5.com::22/dir1/di:::r2/test.cgi?point1.html#anchor1"); 220 "http://www.yahoo5.com::22/dir1/di:::r2/test.cgi?point1.html#anchor1"); [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
GraphicsContextAndroid.cpp | 549 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 560 const int idx = SkAbs32(point2.x() - point1.x()); 561 const int idy = SkAbs32(point2.y() - point1.y()); 567 SkScalar x = SkIntToScalar(SkMin32(point1.x(), point2.x())); 568 SkScalar y = SkIntToScalar(SkMin32(point1.y(), point2.y())); 620 SkPoint pts[2] = { point1, point2 }; [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnLocalTriangulator.cpp | 76 FloatPoint3D point1(m_vertices[1]->xyCoordinates()); 78 FloatPoint3D crossProduct = (point1 - point0).cross(point2 - point0);
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GraphicsContextHaiku.cpp | 102 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 110 m_data->m_view->StrokeLine(point1, point2, getHaikuStrokeStyle());
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextCairo.cpp | 281 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 297 FloatPoint p1 = point1; 335 int distance = (isVerticalLine ? (point2.y() - point1.y()) : (point2.x() - point1.x())) - 2*static_cast<int>(width); [all...] |