Home
last modified time | relevance | path

Searched refs:targetPoint (Results 1 – 12 of 12) sorted by relevance

/external/webkit/Source/WebCore/svg/
DSVGPathStringBuilder.cpp38 void SVGPathStringBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) in moveTo() argument
41 m_stringBuilder.append(String::format("M %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); in moveTo()
43 m_stringBuilder.append(String::format("m %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); in moveTo()
46 void SVGPathStringBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument
49 m_stringBuilder.append(String::format("L %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); in lineTo()
51 m_stringBuilder.append(String::format("l %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); in lineTo()
70 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument
73 … %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); in curveToCubic()
75 … %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); in curveToCubic()
78 …uilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubicSmooth() argument
[all …]
DSVGPathSegListBuilder.cpp52 void SVGPathSegListBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) in moveTo() argument
57 …m_pathSegList->append(m_pathElement->createSVGPathSegMovetoAbs(targetPoint.x(), targetPoint.y(), m… in moveTo()
59 …m_pathSegList->append(m_pathElement->createSVGPathSegMovetoRel(targetPoint.x(), targetPoint.y(), m… in moveTo()
62 void SVGPathSegListBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument
67 …m_pathSegList->append(m_pathElement->createSVGPathSegLinetoAbs(targetPoint.x(), targetPoint.y(), m… in lineTo()
69 …m_pathSegList->append(m_pathElement->createSVGPathSegLinetoRel(targetPoint.x(), targetPoint.y(), m… in lineTo()
92 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument
97 …egList->append(m_pathElement->createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), po… in curveToCubic()
99 …egList->append(m_pathElement->createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), po… in curveToCubic()
102 …uilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubicSmooth() argument
[all …]
DSVGPathParser.cpp52 FloatPoint targetPoint; in parseMoveToSegment() local
53 if (!m_source->parseMoveToSegment(targetPoint)) in parseMoveToSegment()
58 m_currentPoint += targetPoint; in parseMoveToSegment()
60 m_currentPoint = targetPoint; in parseMoveToSegment()
64 m_consumer->moveTo(targetPoint, m_closePath, m_mode); in parseMoveToSegment()
71 FloatPoint targetPoint; in parseLineToSegment() local
72 if (!m_source->parseLineToSegment(targetPoint)) in parseLineToSegment()
77 m_currentPoint += targetPoint; in parseLineToSegment()
79 m_currentPoint = targetPoint; in parseLineToSegment()
82 m_consumer->lineTo(targetPoint, m_mode); in parseLineToSegment()
[all …]
DSVGPathByteStreamSource.cpp51 bool SVGPathByteStreamSource::parseMoveToSegment(FloatPoint& targetPoint) in parseMoveToSegment() argument
53 targetPoint = readFloatPoint(); in parseMoveToSegment()
57 bool SVGPathByteStreamSource::parseLineToSegment(FloatPoint& targetPoint) in parseLineToSegment() argument
59 targetPoint = readFloatPoint(); in parseLineToSegment()
75 …amSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSegment() argument
79 targetPoint = readFloatPoint(); in parseCurveToCubicSegment()
83 …VGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSmoothSegment() argument
86 targetPoint = readFloatPoint(); in parseCurveToCubicSmoothSegment()
90 … SVGPathByteStreamSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument
93 targetPoint = readFloatPoint(); in parseCurveToQuadraticSegment()
[all …]
DSVGPathByteStreamBuilder.cpp37 void SVGPathByteStreamBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) in moveTo() argument
41 writeFloatPoint(targetPoint); in moveTo()
44 void SVGPathByteStreamBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument
48 writeFloatPoint(targetPoint); in lineTo()
65 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument
71 writeFloatPoint(targetPoint); in curveToCubic()
74 …uilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubicSmooth() argument
79 writeFloatPoint(targetPoint); in curveToCubicSmooth()
82 …mBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint, PathCoordinate… in curveToQuadratic() argument
87 writeFloatPoint(targetPoint); in curveToQuadratic()
[all …]
DSVGPathBuilder.cpp36 void SVGPathBuilder::moveTo(const FloatPoint& targetPoint, bool closed, PathCoordinateMode mode) in moveTo() argument
39 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; in moveTo()
45 void SVGPathBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument
48 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; in lineTo()
52 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument
56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint); in curveToCubic()
57 m_current += targetPoint; in curveToCubic()
59 m_current = targetPoint; in curveToCubic()
DSVGPathSegListSource.cpp62 bool SVGPathSegListSource::parseMoveToSegment(FloatPoint& targetPoint) in parseMoveToSegment() argument
67 targetPoint = FloatPoint(moveTo->x(), moveTo->y()); in parseMoveToSegment()
71 bool SVGPathSegListSource::parseLineToSegment(FloatPoint& targetPoint) in parseLineToSegment() argument
76 targetPoint = FloatPoint(lineTo->x(), lineTo->y()); in parseLineToSegment()
98 …stSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSegment() argument
105 targetPoint = FloatPoint(cubic->x(), cubic->y()); in parseCurveToCubicSegment()
109 …l SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSmoothSegment() argument
115 targetPoint = FloatPoint(cubicSmooth->x(), cubicSmooth->y()); in parseCurveToCubicSmoothSegment()
119 bool SVGPathSegListSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument
125 targetPoint = FloatPoint(quadratic->x(), quadratic->y()); in parseCurveToQuadraticSegment()
[all …]
DSVGPathStringSource.cpp130 bool SVGPathStringSource::parseMoveToSegment(FloatPoint& targetPoint) in parseMoveToSegment() argument
136 targetPoint = FloatPoint(toX, toY); in parseMoveToSegment()
140 bool SVGPathStringSource::parseLineToSegment(FloatPoint& targetPoint) in parseLineToSegment() argument
146 targetPoint = FloatPoint(toX, toY); in parseLineToSegment()
160 …ngSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSegment() argument
177 targetPoint = FloatPoint(toX, toY); in parseCurveToCubicSegment()
181 …ol SVGPathStringSource::parseCurveToCubicSmoothSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToCubicSmoothSegment() argument
193 targetPoint = FloatPoint(toX, toY); in parseCurveToCubicSmoothSegment()
197 bool SVGPathStringSource::parseCurveToQuadraticSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument
209 targetPoint = FloatPoint(toX, toY); in parseCurveToQuadraticSegment()
[all …]
DSVGPathTraversalStateBuilder.cpp36 void SVGPathTraversalStateBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode) in moveTo() argument
39 m_traversalState->m_totalLength += m_traversalState->moveTo(targetPoint); in moveTo()
42 void SVGPathTraversalStateBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode) in lineTo() argument
45 m_traversalState->m_totalLength += m_traversalState->lineTo(targetPoint); in lineTo()
48 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument
51 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint); in curveToCubic()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_controller_unittest.mm2012 NSPoint targetPoint = [targetButton center];
2016 [dragInfo setDropLocation:targetPoint];
2090 NSPoint targetPoint = [targetButton left];
2092 const CGFloat baseOffset = targetPoint.x;
2094 CGFloat actual = [bar_ indicatorPosForDragToPoint:targetPoint];
2102 targetPoint = [targetButton right];
2103 targetPoint.x += 100; // Somewhere off to the right.
2105 actual = [bar_ indicatorPosForDragToPoint:targetPoint];
Dbookmark_bar_folder_controller_unittest.mm1491 NSPoint targetPoint = [targetButton top];
1492 CGFloat pos = [folder indicatorPosForDragToPoint:targetPoint];
1493 EXPECT_CGFLOAT_EQ(targetPoint.y + yOffset, pos);
/external/webkit/Source/WebCore/rendering/
DRenderLayer.cpp2926 FloatPoint targetPoint = transformState.mappedPoint(); in computeZOffset() local
2929 …oint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint)); in computeZOffset()