HomeSort by relevance Sort by last modified time
    Searched full:floatpoint (Results 1 - 25 of 360) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/platform/graphics/
FloatPoint.h 67 class FloatPoint {
69 FloatPoint() : m_x(0), m_y(0) { }
70 FloatPoint(float x, float y) : m_x(x), m_y(y) { }
71 FloatPoint(const IntPoint&);
74 static FloatPoint zero() { return FloatPoint(); }
76 static FloatPoint narrowPrecision(double x, double y);
101 float dot(const FloatPoint& a) const
113 FloatPoint(const CGPoint&);
119 FloatPoint(const NSPoint&)
    [all...]
PathTraversalState.h 29 #include "FloatPoint.h"
48 float moveTo(const FloatPoint&);
49 float lineTo(const FloatPoint&);
50 float quadraticBezierTo(const FloatPoint& newControl, const FloatPoint& newEnd);
51 float cubicBezierTo(const FloatPoint& newControl1, const FloatPoint& newControl2, const FloatPoint& newEnd);
57 FloatPoint m_current;
58 FloatPoint m_start
    [all...]
PathTraversalState.cpp 33 static inline FloatPoint midPoint(const FloatPoint& first, const FloatPoint& second)
35 return FloatPoint((first.x() + second.x()) / 2.0f, (first.y() + second.y()) / 2.0f);
38 static inline float distanceLine(const FloatPoint& start, const FloatPoint& end)
45 QuadraticBezier(const FloatPoint& s, const FloatPoint& c, const FloatPoint& e)
62 FloatPoint leftControlToRightControl = midPoint(left.control, right.control)
    [all...]
FloatPoint.cpp 28 #include "FloatPoint.h"
39 FloatPoint::FloatPoint(const IntPoint& p) : m_x(p.x()), m_y(p.y())
43 void FloatPoint::normalize()
53 float FloatPoint::length() const
58 FloatPoint FloatPoint::matrixTransform(const AffineTransform& transform) const
65 FloatPoint FloatPoint::matrixTransform(const TransformationMatrix& transform) const
72 FloatPoint FloatPoint::narrowPrecision(double x, double y
    [all...]
Path.h 78 class FloatPoint;
99 FloatPoint* points;
113 bool contains(const FloatPoint&, WindRule rule = RULE_NONZERO) const;
114 bool strokeContains(StrokeStyleApplier*, const FloatPoint&) const;
119 FloatPoint pointAtLength(float length, bool& ok) const;
127 FloatPoint currentPoint() const;
129 void moveTo(const FloatPoint&);
130 void addLineTo(const FloatPoint&);
131 void addQuadCurveTo(const FloatPoint& controlPoint, const FloatPoint& endPoint)
    [all...]
Path.cpp 32 #include "FloatPoint.h"
50 FloatPoint* points = element->points;
93 FloatPoint Path::pointAtLength(float length, bool& ok) const
130 moveTo(FloatPoint(rect.x() + radius.width(), rect.y()));
133 addLineTo(FloatPoint(rect.x() + rect.width() - roundingRadii.width(), rect.y()));
135 addBezierCurveTo(FloatPoint(rect.x() + rect.width() - radius.width() * gCircleControlPoint, rect.y()), FloatPoint(rect.x() + rect.width(), rect.y() + radius.height() * gCircleControlPoint), FloatPoint(rect.x() + rect.width(), rect.y() + radius.height()));
138 addLineTo(FloatPoint(rect.x() + rect.width(), rect.y() + rect.height() - radius.height()));
140 addBezierCurveTo(FloatPoint(rect.x() + rect.width(), rect.y() + rect.height() - radius.height() * gCircleControlPoint), FloatP (…)
    [all...]
  /external/webkit/Source/WebCore/svg/
SVGPathSegListSource.h 24 #include "FloatPoint.h"
48 virtual bool parseMoveToSegment(FloatPoint&);
49 virtual bool parseLineToSegment(FloatPoint&);
52 virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&);
53 virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&);
54 virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&)
    [all...]
SVGPathStringBuilder.h 24 #include "FloatPoint.h"
40 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
41 virtual void lineTo(const FloatPoint&, PathCoordinateMode);
42 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode);
48 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode);
49 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode)
    [all...]
SVGPathStringSource.h 24 #include "FloatPoint.h"
46 virtual bool parseMoveToSegment(FloatPoint&);
47 virtual bool parseLineToSegment(FloatPoint&);
50 virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&);
51 virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&);
52 virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&)
    [all...]
SVGPathTraversalStateBuilder.h 25 #include "FloatPoint.h"
44 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
45 virtual void lineTo(const FloatPoint&, PathCoordinateMode);
46 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode);
53 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED(); }
54 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED();
    [all...]
SVGPathSource.h 39 virtual bool parseMoveToSegment(FloatPoint&) = 0;
40 virtual bool parseLineToSegment(FloatPoint&) = 0;
43 virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&) = 0;
44 virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&) = 0;
45 virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&) = 0;
46 virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&) = 0
    [all...]
SVGPathByteStreamSource.h 24 #include "FloatPoint.h"
46 virtual bool parseMoveToSegment(FloatPoint&);
47 virtual bool parseLineToSegment(FloatPoint&);
50 virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&);
51 virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&);
52 virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&)
    [all...]
SVGPathBuilder.h 28 #include "FloatPoint.h"
46 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
47 virtual void lineTo(const FloatPoint&, PathCoordinateMode);
48 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode);
54 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED(); }
55 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED();
    [all...]
SVGPathByteStreamBuilder.h 24 #include "FloatPoint.h"
44 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
45 virtual void lineTo(const FloatPoint&, PathCoordinateMode);
46 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode);
52 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode);
53 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode)
    [all...]
SVGPathConsumer.h 28 #include "FloatPoint.h"
53 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) = 0;
54 virtual void lineTo(const FloatPoint&, PathCoordinateMode) = 0;
55 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode) = 0;
61 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) = 0;
62 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) = 0
    [all...]
SVGPathSegListBuilder.h 28 #include "FloatPoint.h"
54 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
55 virtual void lineTo(const FloatPoint&, PathCoordinateMode);
56 virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode);
62 virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode);
63 virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode)
    [all...]
SVGPathByteStreamBuilder.cpp 37 void SVGPathByteStreamBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode)
44 void SVGPathByteStreamBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode)
65 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
74 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
82 void SVGPathByteStreamBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint, PathCoordinateMode mode)
90 void SVGPathByteStreamBuilder::curveToQuadraticSmooth(const FloatPoint& targetPoint, PathCoordinateMode mode
    [all...]
SVGPathByteStreamSource.cpp 51 bool SVGPathByteStreamSource::parseMoveToSegment(FloatPoint& targetPoint)
57 bool SVGPathByteStreamSource::parseLineToSegment(FloatPoint& targetPoint)
75 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
83 bool SVGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint)
90 bool SVGPathByteStreamSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint)
97 bool SVGPathByteStreamSource::parseCurveToQuadraticSmoothSegment(FloatPoint& targetPoint
    [all...]
SVGPathSegListSource.cpp 62 bool SVGPathSegListSource::parseMoveToSegment(FloatPoint& targetPoint)
67 targetPoint = FloatPoint(moveTo->x(), moveTo->y());
71 bool SVGPathSegListSource::parseLineToSegment(FloatPoint& targetPoint)
76 targetPoint = FloatPoint(lineTo->x(), lineTo->y());
98 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
103 point1 = FloatPoint(cubic->x1(), cubic->y1());
104 point2 = FloatPoint(cubic->x2(), cubic->y2());
105 targetPoint = FloatPoint(cubic->x(), cubic->y())
    [all...]
SVGPathStringSource.cpp 130 bool SVGPathStringSource::parseMoveToSegment(FloatPoint& targetPoint)
136 targetPoint = FloatPoint(toX, toY);
140 bool SVGPathStringSource::parseLineToSegment(FloatPoint& targetPoint)
146 targetPoint = FloatPoint(toX, toY);
160 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
175 point1 = FloatPoint(x1, y1);
176 point2 = FloatPoint(x2, y2);
177 targetPoint = FloatPoint(toX, toY)
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderDetailsMarker.cpp 45 static Path createPath(const FloatPoint* path)
48 result.moveTo(FloatPoint(path[0].x(), path[0].y()));
50 result.addLineTo(FloatPoint(path[i].x(), path[i].y()));
56 FloatPoint points[4] = { FloatPoint(0.0f, 0.07f), FloatPoint(0.5f, 0.93f), FloatPoint(1.0f, 0.07f), FloatPoint(0.0f, 0.07f) };
62 FloatPoint points[4] = { FloatPoint(0.0f, 0.93f), FloatPoint(0.5f, 0.07f), FloatPoint(1.0f, 0.93f), FloatPoint(0.0f, 0.93f) }
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
LoopBlinnMathUtils.h 29 #include "FloatPoint.h"
39 bool approxEqual(const FloatPoint& v0, const FloatPoint& v1);
45 bool linesIntersect(const FloatPoint& p1,
46 const FloatPoint& q1,
47 const FloatPoint& p2,
48 const FloatPoint& q2);
53 bool pointInTriangle(const FloatPoint& point,
54 const FloatPoint& a,
55 const FloatPoint& b
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/haiku/
PathHaiku.cpp 68 FloatPoint Path::currentPoint() const
73 return FloatPoint(quietNaN, quietNaN);
76 bool Path::contains(const FloatPoint& point, WindRule rule) const
91 void Path::moveTo(const FloatPoint& point)
97 void Path::addLineTo(const FloatPoint& p)
102 void Path::addQuadCurveTo(const FloatPoint& cp, const FloatPoint& p)
107 void Path::addBezierCurveTo(const FloatPoint& cp1, const FloatPoint& cp2, const FloatPoint& p
    [all...]