Searched defs:rect (Results 176 - 200 of 1094) sorted by relevance

1234567891011>>

/external/chromium_org/printing/
H A Demf_win_unittest.cc215 RECT rect = { 5 + i, 5 + i, 5 + i + 1, 5 + i + 2}; local
216 FillRect(emf.context(), &rect, brush);
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_verbatim.cc36 webrtc::DesktopRect rect = local
41 region.AddRect(rect);
43 if (!DoesRectContain(webrtc::DesktopRect::MakeSize(screen_size_), rect)) {
48 int rect_row_size = kBytesPerPixel * rect.width();
49 uint8_t* out = screen_buffer_.get() + rect.top() * stride +
50 rect.left() * kBytesPerPixel;
51 for (int y = rect.top(); y < rect.top() + rect.height(); ++y) {
94 webrtc::DesktopRect rect(
[all...]
/external/chromium_org/remoting/host/chromeos/
H A Daura_desktop_capturer.cc109 const webrtc::DesktopRect& rect = webrtc::DesktopRect::MakeWH( local
114 frame->mutable_updated_region()->SetRect(rect);
/external/chromium_org/remoting/host/
H A Ddesktop_resizer_mac.cc50 CGRect rect = CGDisplayBounds(display); local
52 webrtc::DesktopSize(rect.size.width, rect.size.height),
H A Dsingle_window_input_injector_mac.cc73 LOG(ERROR) << "Window rect is null, so forwarding unmodified MouseEvent";
121 CGRect rect; local
149 if (CGRectMakeWithDictionaryRepresentation(bounds, &rect)) {
150 return rect;
/external/chromium_org/skia/ext/
H A Dplatform_device_mac.cc122 SkRect rect; local
123 rect.setEmpty();
124 CGContextClipToRect(context, gfx::SkRectToCGRect(rect));
127 // unwanted. Inverse-transform the rect before sending it to CG. This only
135 SkRect rect; local
136 rect.set(region.getBounds());
137 t.mapRect(&rect);
139 rect.round(&irect);
H A Dskia_utils_win.cc37 SkRect RECTToSkRect(const RECT& rect) { argument
38 SkRect sk_rect = { SkIntToScalar(rect.left), SkIntToScalar(rect.top),
39 SkIntToScalar(rect.right), SkIntToScalar(rect.bottom) };
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.h126 LayoutRect rect; member in struct:blink::FocusCandidate
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DClipRect.h42 ClipRect(const LayoutRect& rect) argument
43 : m_rect(rect)
47 const LayoutRect& rect() const { return m_rect; } function in class:blink::ClipRect
48 void setRect(const LayoutRect& rect) { m_rect = rect; } argument
53 bool operator==(const ClipRect& other) const { return rect() == other.rect() && hasRadius() == other.hasRadius(); }
54 bool operator!=(const ClipRect& other) const { return rect() != other.rect() || hasRadius() != other.hasRadius(); }
55 bool operator!=(const LayoutRect& otherRect) const { return rect() !
[all...]
H A DRenderListBox.cpp152 void RenderListBox::scrollToRect(const LayoutRect& rect) argument
157 layer()->scrollableArea()->exposeRect(rect, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded);
H A DRenderSelectionInfo.h87 LayoutRect rect() const { return m_rect; } function in class:blink::FINAL
109 // RenderBox::mapRectToPaintInvalidationBacking to get called, which makes rect adjustments even if you pass the same
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DPolygonShape.cpp54 static inline bool overlapsYRange(const FloatRect& rect, float y1, float y2) { return !rect.isEmpty() && y2 >= y1 && y2 >= rect.y() && y1 <= rect.maxY(); } argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGForeignObject.cpp121 void RenderSVGForeignObject::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const argument
123 FloatRect r(rect);
126 rect = enclosingLayoutRect(r);
H A DSVGPathData.cpp104 SVGRectElement* rect = toSVGRectElement(element); local
107 float width = rect->width()->currentValue()->value(lengthContext);
110 float height = rect->height()->currentValue()->value(lengthContext);
115 float x = rect->x()->currentValue()->value(lengthContext);
116 float y = rect->y()->currentValue()->value(lengthContext);
117 float rx = rect->rx()->currentValue()->value(lengthContext);
118 float ry = rect->ry()->currentValue()->value(lengthContext);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGRect.h46 static PassRefPtr<SVGRect> create(const FloatRect& rect) argument
48 return adoptRef(new SVGRect(rect));
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DLayerRect.h49 static LayerRect* create(PassRefPtrWillBeRawPtr<Node> node, const String& layerType, int nodeOffsetX, int nodeOffsetY, PassRefPtrWillBeRawPtr<ClientRect> rect) argument
51 return new LayerRect(node, layerType, nodeOffsetX, nodeOffsetY, rect);
67 LayerRect(PassRefPtrWillBeRawPtr<Node> node, const String& layerName, int nodeOffsetX, int nodeOffsetY, PassRefPtrWillBeRawPtr<ClientRect> rect) argument
72 , m_rect(rect) { }
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatBoxExtent.h69 void expandRect(FloatRect& rect) const
74 rect.move(-left(), -top());
75 rect.expand(left() + right(), top() + bottom());
86 void unite(const FloatRect& rect) argument
88 m_top = std::min(m_top, rect.y());
89 m_right = std::max(m_right, rect.maxX());
90 m_bottom = std::max(m_bottom, rect.maxY());
91 m_left = std::min(m_left, rect.x());
H A DLayoutRect.cpp143 IntRect enclosingIntRect(const LayoutRect& rect) argument
145 IntPoint location = flooredIntPoint(rect.minXMinYCorner());
146 IntPoint maxPoint = ceiledIntPoint(rect.maxXMaxYCorner());
151 LayoutRect enclosingLayoutRect(const FloatRect& rect) argument
153 LayoutPoint location = flooredLayoutPoint(rect.minXMinYCorner());
154 LayoutPoint maxPoint = ceiledLayoutPoint(rect.maxXMaxYCorner());
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDisplayList.h79 void setClip(const IntRect& rect) { m_clip = rect; } argument
80 void setClip(const FloatRect& rect) { m_clip = rect; } argument
H A DGraphicsLayerDebugInfo.cpp67 const LayoutRect& rect = m_currentLayoutRects[i]; local
70 rectArray->pushNumber(rect.x().toFloat());
71 rectArray->pushNumber(rect.y().toFloat());
72 rectArray->pushNumber(rect.maxX().toFloat());
73 rectArray->pushNumber(rect.maxY().toFloat());
107 void GraphicsLayerDebugInfo::appendAnnotatedInvalidateRect(const FloatRect& rect, WebInvalidationDebugAnnotations annotations) argument
110 WebFloatRect(rect),
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEMorphology.cpp82 FloatRect FEMorphology::mapRect(const FloatRect& rect, bool) argument
84 FloatRect result = rect;
133 SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); local
135 return adoptRef(SkDilateImageFilter::Create(radiusX, radiusY, input.get(), &rect));
136 return adoptRef(SkErodeImageFilter::Create(radiusX, radiusY, input.get(), &rect));
H A DFEOffset.cpp68 FloatRect FEOffset::mapRect(const FloatRect& rect, bool forward) argument
70 FloatRect result = rect;
H A DFilter.h59 FloatRect mapLocalRectToAbsoluteRect(const FloatRect& rect) const { return m_absoluteTransform.mapRect(rect); }
60 FloatRect mapAbsoluteRectToLocalRect(const FloatRect& rect) const { return m_inverseTransform.mapRect(rect); }
77 void setFilterRegion(const FloatRect& rect) argument
79 m_filterRegion = rect;
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarThemeAura.cpp72 void ScrollbarThemeAura::paintTrackPiece(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart partType) argument
87 blink::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? blink::WebThemeEngine::PartScrollbarHorizontalTrack : blink::WebThemeEngine::PartScrollbarVerticalTrack, state, blink::WebRect(rect), &extraParams);
90 void ScrollbarThemeAura::paintButton(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) argument
130 blink::Platform::current()->themeEngine()->paint(canvas, paintPart, state, blink::WebRect(rect), 0);
133 void ScrollbarThemeAura::paintThumb(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
143 blink::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? blink::WebThemeEngine::PartScrollbarHorizontalThumb : blink::WebThemeEngine::PartScrollbarVerticalThumb, state, blink::WebRect(rect), 0);
/external/chromium_org/third_party/WebKit/Source/web/
H A DPageWidgetDelegate.cpp84 void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas* canvas, const WebRect& rect, CanvasBackground background, LocalFrame* rootFrame) argument
86 if (rect.isEmpty())
92 IntRect dirtyRect(rect);

Completed in 4017 milliseconds

1234567891011>>