Searched refs:rects (Results 1 - 25 of 94) sorted by relevance

1234

/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/
H A DHoverMenu.js56 present: function(rects)
61 this._drawOutline(rects);
107 _drawOutline: function(rects)
113 var lastRect = rects.pop();
115 rects.push(lastRect);
117 if (rects.length === 1)
118 this._drawSingleLine(rects[0]);
119 else if (rects.length === 2 && rects[0].minX() >= rects[
[all...]
/macosx-10.10/WebCore-7600.1.25/editing/
H A DSelectionRectGatherer.cpp54 void SelectionRectGatherer::addGapRects(RenderLayerModelObject *repaintContainer, const GapRects& rects) argument
58 absoluteGapRects.uniteLeft(LayoutRect(repaintContainer->localToAbsoluteQuad(FloatQuad(rects.left())).boundingBox()));
59 absoluteGapRects.uniteCenter(LayoutRect(repaintContainer->localToAbsoluteQuad(FloatQuad(rects.center())).boundingBox()));
60 absoluteGapRects.uniteRight(LayoutRect(repaintContainer->localToAbsoluteQuad(FloatQuad(rects.right())).boundingBox()));
63 m_gapRects.append(rects);
/macosx-10.10/WebCore-7600.1.25/page/
H A DGestureTapHighlighter.cpp117 // The rounding check depends on the rects not intersecting eachother,
145 Vector<IntRect> rects; local
147 o->addFocusRingRects(rects, frameOffset);
149 if (rects.isEmpty())
159 // in the test expression, in case of empty rects vector.
160 int end = rects.size() - 1;
162 mid.uniteIfNonZero(rects.at(i));
168 if (rects.size() && !rects.first().isEmpty()) {
173 if (mid.isEmpty() || mid.intersects(rects
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/
H A DGeometryUtilities.cpp70 IntRect unionRect(const Vector<IntRect>& rects) argument
74 size_t count = rects.size();
76 result.unite(rects[i]);
81 FloatRect unionRect(const Vector<FloatRect>& rects) argument
85 size_t count = rects.size();
87 result.unite(rects[i]);
H A DLayoutRect.cpp119 LayoutRect unionRect(const Vector<LayoutRect>& rects) argument
123 size_t count = rects.size();
125 result.unite(rects[i]);
132 // Empty rects with fractional x, y values turn into non-empty rects when converting to enclosing.
133 // We need to ensure that empty rects stay empty after the conversion, because the selection code expects them to be empty.
/macosx-10.10/WebKit-7600.1.25/win/Interfaces/
H A DDOMExtensions.idl47 HRESULT lineBoxRects([in, size_is(cRects)] RECT* rects, [in] int cRects);
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/mac/
H A DServicesOverlayController.mm65 SOFT_LINK(DataDetectors, DDHighlightCreateWithRectsInVisibleRectWithStyleAndDirection, DDHighlightRef, (CFAllocatorRef allocator, CGRect* rects, CFIndex count, CGRect globalVisibleRect, DDHighlightStyle style, Boolean withArrow, NSWritingDirection writingDirection, Boolean endsWithEOL, Boolean flipped), (allocator, rects, count, globalVisibleRect, style, withArrow, writingDirection, endsWithEOL, flipped))
252 static void expandForGap(Vector<LayoutRect>& rects, uint8_t* alignments, const GapRects& gap)
256 for (unsigned i = 0; i < rects.size(); ++i) {
258 rects[i].shiftXEdgeTo(leftEdge);
264 for (unsigned i = 0; i < rects.size(); ++i) {
266 rects[i].shiftMaxXEdgeTo(rightEdge);
271 static inline void stitchRects(Vector<LayoutRect>& rects)
273 if (rects.size() <= 1)
279 // First stitch together all the rects o
[all...]
/macosx-10.10/WebKit-7600.1.25/ios/WebCoreSupport/
H A DWebSelectionRect.m47 + (CGRect)startEdge:(NSArray *)rects
49 if (rects.count == 0)
53 for (WebSelectionRect *srect in rects) {
60 selectionRect = [rects objectAtIndex:0];
95 + (CGRect)endEdge:(NSArray *)rects
97 if (rects.count == 0)
101 for (WebSelectionRect *srect in rects) {
108 selectionRect = [rects lastObject];
H A DWebSelectionRect.h56 + (CGRect)startEdge:(NSArray *)rects;
57 + (CGRect)endEdge:(NSArray *)rects;
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/CoordinatedGraphics/
H A DCoordinatedDrawingArea.cpp519 static bool shouldPaintBoundsRect(const IntRect& bounds, const Vector<IntRect>& rects) argument
524 if (rects.size() <= 1 || rects.size() > rectThreshold)
527 // Attempt to guess whether or not we should use the region bounds rect or the individual rects.
532 for (size_t i = 0; i < rects.size(); ++i)
533 rectsArea += rects[i].width() * rects[i].height();
569 Vector<IntRect> rects = m_dirtyRegion.rects();
571 if (shouldPaintBoundsRect(bounds, rects)) {
[all...]
/macosx-10.10/WebKit2-7600.1.25/WebProcess/InjectedBundle/API/mac/
H A DWKDOMNode.mm112 Vector<WebCore::IntRect> rects;
113 _impl->textRects(rects);
114 return WebKit::toNSArray(rects);
H A DWKDOMRange.mm144 Vector<WebCore::IntRect> rects;
145 _impl->textRects(rects);
146 return WebKit::toNSArray(rects);
/macosx-10.10/tcl-105/tk/tk/macosx/
H A DtkMacOSXEntry.c198 XRectangle rects[1];
251 rects[0].x = bounds.origin.x;
252 rects[0].y = 0; local
253 rects[0].width = Tk_Width(tkwin);
254 rects[0].height = Tk_Height(tkwin);
255 XFillRectangles(Tk_Display(tkwin), d, bgGC, rects, 1);
195 XRectangle rects[1]; local
/macosx-10.10/tcl-105/tk84/tk/macosx/
H A DtkMacOSXEntry.c255 XRectangle rects[1]; local
306 rects[0].x = inBounds.left;
307 rects[0].y = 0;
308 rects[0].width = Tk_Width(tkwin);
309 rects[0].height = Tk_Height(tkwin);
310 XFillRectangles(Tk_Display(tkwin), d, bgGC, rects, 1); local
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DRenderSelectionInfo.h81 const Vector<LayoutRect>& rects() const { return m_rects; } function in class:WebCore::RenderSelectionInfo
105 GapRects rects() const { return m_rects; } function in class:WebCore::RenderBlockSelectionInfo
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/
H A DDrawingAreaImpl.cpp592 static bool shouldPaintBoundsRect(const IntRect& bounds, const Vector<IntRect>& rects) argument
597 if (rects.size() <= 1 || rects.size() > rectThreshold)
600 // Attempt to guess whether or not we should use the region bounds rect or the individual rects.
605 for (size_t i = 0; i < rects.size(); ++i)
606 rectsArea += rects[i].width() * rects[i].height();
642 Vector<IntRect> rects = m_dirtyRegion.rects();
644 if (shouldPaintBoundsRect(bounds, rects)) {
[all...]
/macosx-10.10/tcl-105/tk/tk/generic/
H A DtkUtil.c554 XRectangle rects[4];
556 rects[0].x = padding;
557 rects[0].y = padding;
558 rects[0].width = Tk_Width(tkwin) - (2 * padding);
559 rects[0].height = width;
560 rects[1].x = padding;
561 rects[1].y = Tk_Height(tkwin) - width - padding;
562 rects[1].width = Tk_Width(tkwin) - (2 * padding);
563 rects[1].height = width; local
564 rects[
545 XRectangle rects[4]; local
[all...]
/macosx-10.10/tcl-105/tk84/tk/generic/
H A DtkUtil.c556 XRectangle rects[4];
558 rects[0].x = padding;
559 rects[0].y = padding;
560 rects[0].width = Tk_Width(tkwin) - (2 * padding);
561 rects[0].height = width;
562 rects[1].x = padding;
563 rects[1].y = Tk_Height(tkwin) - width - padding;
564 rects[1].width = Tk_Width(tkwin) - (2 * padding); local
565 rects[1].height = width;
566 rects[
546 XRectangle rects[4]; local
[all...]
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Controllers/
H A DCodeMirrorEditingController.js122 popoverTargetFrameWithRects: function(rects)
124 return WebInspector.Rect.unionOfRects(rects);
131 this._rects = this._marker.rects;
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cgremoteoperation.py39 def callbackRefresh(count, rects, info):
41 self.failUnlessIsInstance(rects, tuple)
43 for i in rects:
57 #err, rects, count = CGWaitForScreenRefreshRects(None, None)
59 #self.failUnlessIsInstance(rects, tuple)
61 #for i in rects:
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cgremoteoperation.py39 def callbackRefresh(count, rects, info):
41 self.assertIsInstance(rects, tuple)
43 for i in rects:
57 #err, rects, count = CGWaitForScreenRefreshRects(None, None)
59 #self.assertIsInstance(rects, tuple)
61 #for i in rects:
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/PyObjCTest/
H A Dtest_cgremoteoperation.py44 def callbackRefresh(count, rects, info):
46 self.assertIsInstance(rects, tuple)
48 for i in rects:
62 #err, rects, count = CGWaitForScreenRefreshRects(None, None)
64 #self.assertIsInstance(rects, tuple)
66 #for i in rects:
/macosx-10.10/WebCore-7600.1.25/platform/graphics/mac/
H A DGraphicsContextMac.mm88 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, double timeOffset, bool& needsRedraw)
96 for (auto& rect : rects)
103 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color&)
112 for (auto& rect : rects)
117 UNUSED_PARAM(rects);
/macosx-10.10/ruby-106/ruby/tool/
H A Dtranscode-tblgen.rb116 rects = []
123 rects << ['', '', action]
127 rects << [hex, hex, action]
167 rects << [min, max, action]
174 rects
191 def self.build_tree(rects)
192 expand(rects) {|prefix, actions|
198 rects = parse_to_rects(mapping)
199 tree = build_tree(rects)
209 rects_list.each_with_index {|rects,
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/ca/win/
H A DLegacyCACFLayerTreeHost.cpp272 Vector<D3DRECT, 64> rects; local
280 rects.append(rect);
286 if (rects.isEmpty())
289 m_d3dDevice->Clear(rects.size(), rects.data(), D3DCLEAR_TARGET, 0, 1.0f, 0);

Completed in 246 milliseconds

1234