Searched refs:FloatPoint (Results 26 - 50 of 329) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTouch.h31 #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 DFloatQuad.h32 #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 DFloatRect.h30 #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 DFloatPolygon.h34 #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 DFloatPolygon.cpp42 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 DBasicShapeFunctions.h42 class FloatPoint;
48 FloatPoint floatPointForCenterCoordinate(const BasicShapeCenterCoordinate&, const BasicShapeCenterCoordinate&, FloatSize);
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositedSelectionBound.h34 #include "platform/geometry/FloatPoint.h"
58 FloatPoint edgeTopInLayer;
59 FloatPoint edgeBottomInLayer;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGradient.h33 #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 DPathTraversalState.cpp28 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 Dpoint.h155 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 DSVGPathBlender.h55 FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint& to);
61 FloatPoint m_fromCurrentPoint;
62 FloatPoint m_toCurrentPoint;
H A DSVGPathBuilder.cpp36 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 DSVGPathParser.h47 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 DSVGPathTraversalStateBuilder.cpp35 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 DSVGPathStringBuilder.cpp50 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 DSVGParserUtilities.h35 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 DSVGPathByteStreamBuilder.cpp57 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 DRenderSVGEllipse.h46 virtual bool shapeDependentStrokeContains(const FloatPoint&) OVERRIDE;
47 virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const OVERRIDE;
51 FloatPoint m_center;
H A DSVGMarkerData.h36 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 DViewportAnchor.h63 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 DCanvasGradient.cpp37 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 DProgrammaticScrollAnimator.h8 #include "platform/geometry/FloatPoint.h"
29 void animateToOffset(FloatPoint);
40 FloatPoint m_targetOffset;
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DPinchViewportTest.cpp241 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 DHitTestLocation.h43 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 DPolygonShape.h47 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)

Completed in 1272 milliseconds

1234567891011>>