/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | Touch.h | 31 #include "platform/geometry/FloatPoint.h" 47 unsigned identifier, const FloatPoint& screenPos, const FloatPoint& pagePos, 73 const FloatPoint& screenLocation() const { return m_screenPos; } 80 const FloatPoint& screenPos, const FloatPoint& pagePos, 83 Touch(EventTarget*, unsigned identifier, const FloatPoint& clientPos, 84 const FloatPoint& screenPos, const FloatPoint& pagePos, 90 FloatPoint m_clientPo [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatQuad.h | 32 #include "platform/geometry/FloatPoint.h" 47 FloatQuad(const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3, const FloatPoint& p4) 63 FloatPoint p1() const { return m_p1; } 64 FloatPoint p2() const { return m_p2; } 65 FloatPoint p3() const { return m_p3; } 66 FloatPoint p4() const { return m_p4; } 68 void setP1(const FloatPoint [all...] |
H A D | FloatRect.h | 30 #include "platform/geometry/FloatPoint.h" 55 FloatRect(const FloatPoint& location, const FloatSize& size) 58 : m_location(FloatPoint(x, y)), m_size(FloatSize(width, height)) { } 65 FloatPoint location() const { return m_location; } 68 void setLocation(const FloatPoint& location) { m_location = location; } 87 FloatPoint center() const { return FloatPoint(x() + width() / 2, y() + height() / 2); } 90 void moveBy(const FloatPoint& delta) { m_location.move(delta.x(), delta.y()); } 121 FloatPoint minXMinYCorner() const { return m_location; } // typically topLeft 122 FloatPoint maxXMinYCorne [all...] |
H A D | FloatPolygon.h | 34 #include "platform/geometry/FloatPoint.h" 52 FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule); 54 const FloatPoint& vertexAt(unsigned index) const { return (*m_vertices)[index]; } 64 bool contains(const FloatPoint&) const; 71 bool containsNonZero(const FloatPoint&) const; 72 bool containsEvenOdd(const FloatPoint&) const; 74 OwnPtr<Vector<FloatPoint> > m_vertices; 87 virtual const FloatPoint& vertex1() const = 0; 88 virtual const FloatPoint& vertex2() const = 0; 95 bool intersection(const VertexPair&, FloatPoint [all...] |
H A D | FloatPolygon.cpp | 42 static inline bool areCollinearPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2) 47 static inline bool areCoincidentPoints(const FloatPoint& p0, const FloatPoint& p1) 52 static inline bool isPointOnLineSegment(const FloatPoint& vertex1, const FloatPoint& vertex2, const FloatPoint& point) 82 FloatPolygon::FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) 98 const FloatPoint [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | BasicShapeFunctions.h | 42 class FloatPoint; 48 FloatPoint floatPointForCenterCoordinate(const BasicShapeCenterCoordinate&, const BasicShapeCenterCoordinate&, FloatSize);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
H A D | CompositedSelectionBound.h | 34 #include "platform/geometry/FloatPoint.h" 58 FloatPoint edgeTopInLayer; 59 FloatPoint edgeBottomInLayer;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | Gradient.h | 33 #include "platform/geometry/FloatPoint.h" 48 static PassRefPtr<Gradient> create(const FloatPoint& p0, const FloatPoint& p1) 52 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1) 73 const FloatPoint& p0() const { return m_p0; } 74 const FloatPoint& p1() const { return m_p1; } 76 void setP0(const FloatPoint& p) 84 void setP1(const FloatPoint& p) 123 Gradient(const FloatPoint [all...] |
H A D | PathTraversalState.cpp | 28 static inline FloatPoint midPoint(const FloatPoint& first, const FloatPoint& second) 30 return FloatPoint((first.x() + second.x()) / 2.0f, (first.y() + second.y()) / 2.0f); 33 static inline float distanceLine(const FloatPoint& start, const FloatPoint& end) 40 QuadraticBezier(const FloatPoint& s, const FloatPoint& c, const FloatPoint& e) 63 FloatPoint leftControlToRightContro [all...] |
/external/chromium_org/ppapi/cpp/ |
H A D | point.h | 155 class FloatPoint { class in namespace:pp 158 FloatPoint() { function in class:pp::FloatPoint 164 /// FloatPoint. 171 FloatPoint(float in_x, float in_y) { function in class:pp::FloatPoint 180 FloatPoint(const PP_FloatPoint& point) { // Implicit. function in class:pp::FloatPoint 185 ~FloatPoint() { 188 /// A function allowing implicit conversion of a FloatPoint to a 238 FloatPoint operator+(const FloatPoint& other) const { 239 return FloatPoint( [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPathBlender.h | 55 FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint& to); 61 FloatPoint m_fromCurrentPoint; 62 FloatPoint m_toCurrentPoint;
|
H A D | SVGPathBuilder.cpp | 36 void SVGPathBuilder::moveTo(const FloatPoint& targetPoint, bool closed, PathCoordinateMode mode) 45 void SVGPathBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) 52 void SVGPathBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
|
H A D | SVGPathParser.h | 47 bool decomposeArcToCubic(float, float, float, FloatPoint&, FloatPoint&, bool largeArcFlag, bool sweepFlag); 65 FloatPoint m_controlPoint; 66 FloatPoint m_currentPoint; 67 FloatPoint m_subPathPoint;
|
H A D | SVGPathTraversalStateBuilder.cpp | 35 void SVGPathTraversalStateBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode) 41 void SVGPathTraversalStateBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode) 47 void SVGPathTraversalStateBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode) 90 FloatPoint SVGPathTraversalStateBuilder::currentPoint()
|
H A D | SVGPathStringBuilder.cpp | 50 static void appendPoint(StringBuilder& stringBuilder, const FloatPoint& point) 63 static void emitCommand1Arg(StringBuilder& stringBuilder, char commandChar, const FloatPoint& argumentPoint) 70 static void emitCommand2Arg(StringBuilder& stringBuilder, char commandChar, const FloatPoint& argument1Point, const FloatPoint& argument2Point) 78 void SVGPathStringBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) 83 void SVGPathStringBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) 98 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 107 void SVGPathStringBuilder::curveToCubicSmooth(const FloatPoint [all...] |
H A D | SVGParserUtilities.h | 35 class FloatPoint; 52 bool parseFloatPoint(const CharType*& current, const CharType* end, FloatPoint&); 54 bool parseFloatPoint2(const CharType*& current, const CharType* end, FloatPoint&, FloatPoint&); 56 bool parseFloatPoint3(const CharType*& current, const CharType* end, FloatPoint&, FloatPoint&, FloatPoint&);
|
H A D | SVGPathByteStreamBuilder.cpp | 57 void writeFloatPoint(const FloatPoint& point) 68 unsigned char m_bytes[sizeof(unsigned short) + sizeof(FloatPoint) * 3]; 77 void SVGPathByteStreamBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) 84 void SVGPathByteStreamBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) 105 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 114 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 122 void SVGPathByteStreamBuilder::curveToQuadratic(const FloatPoint [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGEllipse.h | 46 virtual bool shapeDependentStrokeContains(const FloatPoint&) OVERRIDE; 47 virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const OVERRIDE; 51 FloatPoint m_center;
|
H A D | SVGMarkerData.h | 36 MarkerPosition(SVGMarkerType useType, const FloatPoint& useOrigin, float useAngle) 44 FloatPoint origin; 84 FloatPoint inSlope(m_inslopePoints[1] - m_inslopePoints[0]); 85 FloatPoint outSlope(m_outslopePoints[1] - m_outslopePoints[0]); 108 void updateOutslope(const FloatPoint& point) 116 FloatPoint* points = element->points; 137 m_subpathStart = FloatPoint(); 141 void updateInslope(const FloatPoint& point) 149 FloatPoint m_origin; 150 FloatPoint m_subpathStar [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | ViewportAnchor.h | 63 IntPoint& mainFrameOffset, FloatPoint& pinchViewportOffset) const; 66 FloatPoint getInnerOrigin(const FloatSize& innerSize) const; 72 FloatPoint m_pinchViewportInDocument;
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasGradient.cpp | 37 CanvasGradient::CanvasGradient(const FloatPoint& p0, const FloatPoint& p1) 42 CanvasGradient::CanvasGradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1)
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | ProgrammaticScrollAnimator.h | 8 #include "platform/geometry/FloatPoint.h" 29 void animateToOffset(FloatPoint); 40 FloatPoint m_targetOffset;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | PinchViewportTest.cpp | 241 pinchViewport.setLocation(FloatPoint(0, 300)); 242 EXPECT_FLOAT_POINT_EQ(FloatPoint(0, 300), pinchViewport.location()); 254 EXPECT_FLOAT_POINT_EQ(FloatPoint(0, 75), pinchViewport.location()); 301 pinchViewport.setLocation(FloatPoint(150, 0)); 302 EXPECT_FLOAT_POINT_EQ(FloatPoint(150, 0), pinchViewport.location()); 313 EXPECT_FLOAT_POINT_EQ(FloatPoint(150, 0), pinchViewport.location()); 361 FloatRect expectedRect(FloatPoint(0, 0), size); 369 expectedRect.setLocation(FloatPoint(5, 7)); 373 expectedRect.setLocation(FloatPoint(200, 100)); 378 FloatPoint oldLocatio [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | HitTestLocation.h | 43 HitTestLocation(const FloatPoint&); 44 HitTestLocation(const FloatPoint&, const FloatQuad&); 69 bool containsPoint(const FloatPoint&) const; 71 const FloatPoint& transformedPoint() const { return m_transformedPoint; } 83 FloatPoint m_transformedPoint;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | PolygonShape.h | 47 virtual const FloatPoint& vertex1() const OVERRIDE { return m_vertex1; } 48 virtual const FloatPoint& vertex2() const OVERRIDE { return m_vertex2; } 56 FloatPoint m_vertex1; 57 FloatPoint m_vertex2; 63 PolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule)
|