Home
last modified time | relevance | path

Searched refs:FloatQuad (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatQuad.h41 class PLATFORM_EXPORT FloatQuad {
43 FloatQuad() in FloatQuad() function
47FloatQuad(const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3, const FloatPoint& p4) in FloatQuad() function
55 FloatQuad(const FloatRect& inRect) in FloatQuad() function
89 bool containsQuad(const FloatQuad&) const;
148 inline FloatQuad& operator+=(FloatQuad& a, const FloatSize& b)
154 inline FloatQuad& operator-=(FloatQuad& a, const FloatSize& b)
160 inline bool operator==(const FloatQuad& a, const FloatQuad& b)
168 inline bool operator!=(const FloatQuad& a, const FloatQuad& b)
DTransformState.h44 TransformState(TransformDirection mappingDirection, const FloatPoint& p, const FloatQuad& quad) in TransformState()
63 TransformState(TransformDirection mappingDirection, const FloatQuad& quad) in TransformState()
76 void setQuad(const FloatQuad& quad) in setQuad()
97 FloatQuad lastPlanarQuad() const { return m_lastPlanarQuad; } in lastPlanarQuad()
101 FloatQuad mappedQuad(bool* wasClamped = 0) const;
110 FloatQuad m_lastPlanarQuad;
DFloatQuad.cpp82 FloatRect FloatQuad::boundingBox() const in boundingBox()
98 bool FloatQuad::isRectilinear() const in isRectilinear()
104 bool FloatQuad::containsPoint(const FloatPoint& p) const in containsPoint()
110 bool FloatQuad::containsQuad(const FloatQuad& other) const in containsQuad()
138 bool FloatQuad::intersectsRect(const FloatRect& rect) const in intersectsRect()
206 bool FloatQuad::intersectsCircle(const FloatPoint& center, float radius) const in intersectsCircle()
215 bool FloatQuad::intersectsEllipse(const FloatPoint& center, const FloatSize& radii) const in intersectsEllipse()
219 FloatQuad transformedQuad(*this); in intersectsEllipse()
228 bool FloatQuad::isCounterclockwise() const in isCounterclockwise()
DTransformState.cpp172 FloatQuad TransformState::mappedQuad(bool* wasClamped) const in mappedQuad()
177 FloatQuad quad = m_lastPlanarQuad; in mappedQuad()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DRenderGeometryMapTest.cpp115 static const FloatRect rectFromQuad(const FloatQuad& quad) in rectFromQuad()
151 EXPECT_EQ(FloatQuad(FloatRect(8.0f, 8.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F()
155 EXPECT_EQ(FloatQuad(FloatRect(0.0f, 0.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F()
159 …EXPECT_EQ(FloatQuad(FloatRect(21.0f, 6.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, getRenderBox(web… in TEST_F()
163 …EXPECT_EQ(FloatQuad(FloatRect(22.0f, 12.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, getRenderBox(we… in TEST_F()
166 …EXPECT_EQ(FloatQuad(FloatRect(1.0f, 6.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, getRenderBox(webV… in TEST_F()
169 EXPECT_EQ(FloatQuad(FloatRect(50.0f, 44.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F()
194 EXPECT_EQ(FloatQuad(FloatRect(8.0f, 8.0f, 15.0f, 25.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F()
198 EXPECT_EQ(FloatQuad(FloatRect(0.0f, 0.0f, 15.0f, 25.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F()
202 …EXPECT_EQ(FloatQuad(FloatRect(523.0f - rectWidth, 6.0f, 15.0f, 25.0f)), rgm.mapToContainer(rect, g… in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestingTransformState.h45 …HitTestingTransformState> create(const FloatPoint& p, const FloatQuad& quad, const FloatQuad& area) in create()
60 FloatQuad mappedQuad() const;
61 FloatQuad mappedArea() const;
66 FloatQuad m_lastPlanarQuad;
67 FloatQuad m_lastPlanarArea;
72 HitTestingTransformState(const FloatPoint& p, const FloatQuad& quad, const FloatQuad& area) in HitTestingTransformState()
DHitTestLocation.h44 HitTestLocation(const FloatPoint&, const FloatQuad&);
72 const FloatQuad& transformedRect() const { return m_transformedRect; } in transformedRect()
84 FloatQuad m_transformedRect;
DHitTestingTransformState.cpp73 FloatQuad HitTestingTransformState::mappedQuad() const in mappedQuad()
78 FloatQuad HitTestingTransformState::mappedArea() const in mappedArea()
DRenderText.h69 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRIDE FINAL;
70 …void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, unsigned endOffset = INT_…
73 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed = 0, ClippingOption = NoClipping) const;
DHitTestLocation.cpp53 HitTestLocation::HitTestLocation(const FloatPoint& point, const FloatQuad& quad) in HitTestLocation()
70 m_transformedRect = FloatQuad(m_boundingBox); in HitTestLocation()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp51 SubtargetGeometry(Node* node, const FloatQuad& quad) in SubtargetGeometry()
58 FloatQuad quad() const { return m_quad; } in quad()
63 FloatQuad m_quad;
140 static inline void appendQuadsToSubtargetList(Vector<FloatQuad>& quads, Node* node, SubtargetGeomet… in appendQuadsToSubtargetList()
142 Vector<FloatQuad>::const_iterator it = quads.begin(); in appendQuadsToSubtargetList()
143 const Vector<FloatQuad>::const_iterator end = quads.end(); in appendQuadsToSubtargetList()
153 Vector<FloatQuad> quads; in appendBasicSubtargetsForNode()
181 Vector<FloatQuad> quads; in appendContextSubtargetsForNode()
212 Vector<FloatQuad> quads; in appendContextSubtargetsForNode()
223 Vector<FloatQuad> quads; in appendZoomableSubtargets()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DLinkHighlight.cpp145 …adToCompositedLayer(const FloatQuad& targetSpaceQuad, RenderObject* targetRenderer, RenderObject* … in convertTargetSpaceQuadToCompositedLayer()
172 static void addQuadToPath(const FloatQuad& quad, Path& path) in addQuadToPath()
182 void LinkHighlight::computeQuads(RenderObject& renderer, Vector<FloatQuad>& outQuads) const in computeQuads()
205 Vector<FloatQuad> quads; in computeHighlightLayerPathAndPosition()
214 FloatQuad absoluteQuad = quads[quadIndex]; in computeHighlightLayerPathAndPosition()
218 FloatQuad transformedQuad; in computeHighlightLayerPathAndPosition()
DExternalPopupMenu.h42 class FloatQuad; variable
71 virtual void show(const FloatQuad& controlPosition, const IntSize&, int index) OVERRIDE;
DPopupContainer.h86 …void showInRect(const FloatQuad& controlPosition, const IntSize& controlSize, FrameView*, int inde…
162 FloatQuad m_controlPosition;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.cpp154 static Path quadToPath(const FloatQuad& quad) in quadToPath()
165 void drawOutlinedQuad(GraphicsContext* context, const FloatQuad& quad, const Color& fillColor, cons… in drawOutlinedQuad()
208 …void appendQuad(const FloatQuad& quad, const Color& fillColor, const Color& outlineColor = Color::… in appendQuad()
244 static void contentsQuadToScreen(const FrameView* view, FloatQuad& quad) in contentsQuadToScreen()
252 …ol buildNodeQuads(RenderObject* renderer, FloatQuad* content, FloatQuad* padding, FloatQuad* borde… in buildNodeQuads()
316 Vector<FloatQuad> quads; in buildNodeHighlight()
323 FloatQuad content, padding, border, margin; in buildNodeHighlight()
444 void InspectorOverlay::highlightQuad(PassOwnPtr<FloatQuad> quad, const HighlightConfig& highlightCo… in highlightQuad()
560 static RefPtr<TypeBuilder::Array<double> > buildArrayForQuad(const FloatQuad& quad) in buildArrayForQuad()
574 …hapeOutsideInfo* shapeOutsideInfoForNode(Node* node, Shape::DisplayPaths* paths, FloatQuad* bounds) in shapeOutsideInfoForNode()
[all …]
DTimelineRecordFactory.h43 class FloatQuad; variable
82 …static void setPaintData(JSONObject* data, const FloatQuad&, long long layerRootNodeId, int graphi…
83 static void setLayoutRoot(JSONObject* data, const FloatQuad&, long long rootNodeId);
DInspectorOverlay.h99 void highlightQuad(PassOwnPtr<FloatQuad>, const HighlightConfig&);
137 OwnPtr<FloatQuad> m_highlightQuad;
DInspectorTraceEvents.cpp77 static void createQuad(TracedValue* value, const char* name, const FloatQuad& quad) in createQuad()
105 Vector<FloatQuad> quads; in endData()
275 static void localToPageQuad(const RenderObject& renderer, const LayoutRect& rect, FloatQuad* quad) in localToPageQuad()
279 FloatQuad absolute = renderer.localToAbsoluteQuad(FloatQuad(rect)); in localToPageQuad()
308 FloatQuad quad; in data()
/external/chromium_org/third_party/WebKit/Source/platform/
DPopupMenu.h30 class FloatQuad; variable
37 virtual void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) = 0;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DClientRectList.h49 static PassRefPtrWillBeRawPtr<ClientRectList> create(const Vector<FloatQuad>& quads) in create()
60 explicit ClientRectList(const Vector<FloatQuad>&);
DRange.h45 class FloatQuad; variable
126 …void textQuads(Vector<FloatQuad>&, bool useSelectionHeight = false, RangeInFixedPosition* = 0) con…
127 void getBorderAndTextQuads(Vector<FloatQuad>&) const;
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformationMatrix.h43 class FloatQuad; variable
141 FloatQuad mapQuad(const FloatQuad&) const;
150 FloatQuad projectQuad(const FloatQuad&, bool* clamped = 0) const;
153 LayoutRect clampedBoundsOfProjectedQuad(const FloatQuad&) const;
DAffineTransform.h38 class FloatQuad; variable
70 FloatQuad mapQuad(const FloatQuad&) const;
DAffineTransform.cpp281 FloatQuad result; in mapRect()
289 FloatQuad AffineTransform::mapQuad(const FloatQuad& q) const in mapQuad()
292 FloatQuad mappedQuad(q); in mapQuad()
297 FloatQuad result; in mapQuad()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGModelObject.cpp81 void RenderSVGModelObject::absoluteQuads(Vector<FloatQuad>& quads, bool* wasFixed) const in absoluteQuads()
125 …return localToAbsoluteQuad(FloatQuad(paintInvalidationRectInLocalCoordinates())).enclosingBounding… in absoluteFocusRingBoundingBoxRect()

1234