Searched defs:rect (Results 426 - 450 of 1054) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderGeometryMap.cpp139 // Handy function to call from gdb while debugging mismatched point/rect errors.
152 FloatQuad RenderGeometryMap::mapToContainer(const FloatRect& rect, const RenderLayerModelObject* container) const argument
157 result = rect;
160 TransformState transformState(TransformState::ApplyTransformDirection, rect.center(), rect);
174 FloatRect rendererMappedResult = lastRenderer->localToContainerQuad(rect, container, m_mapCoordinatesFlags).boundingBox();
H A DRenderLineBoxList.cpp148 bool RenderLineBoxList::rangeIntersectsRect(RenderBoxModelObject* renderer, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect& rect, const LayoutPoint& offset) const argument
162 if (physicalStart >= rect.maxY() || physicalStart + physicalExtent <= rect.y())
166 if (physicalStart >= rect.maxX() || physicalStart + physicalExtent <= rect.x())
173 bool RenderLineBoxList::anyLineIntersectsRect(RenderBoxModelObject* renderer, const LayoutRect& rect, const LayoutPoint& offset) const argument
184 return rangeIntersectsRect(renderer, firstLineTop, lastLineBottom, rect, offset);
193 return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, offset);
210 if (!anyLineIntersectsRect(renderer, paintInfo.rect, paintOffset))
217 // See if our root lines intersect with the dirty rect
249 LayoutRect rect = firstLineBox()->isHorizontal() ? local
[all...]
H A DRenderScrollbar.cpp268 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect) argument
273 partRenderer->paintIntoRect(graphicsContext, location(), rect);
340 IntRect rect = oldRect; local
342 rect.setX(rect.x() + partRenderer->marginLeft());
343 rect.setWidth(rect.width() - partRenderer->marginWidth());
345 rect.setY(rect.y() + partRenderer->marginTop());
346 rect
[all...]
H A DRenderVideo.cpp120 void RenderVideo::imageChanged(WrappedImagePtr newImage, const IntRect* rect) argument
122 RenderMedia::imageChanged(newImage, rect);
156 LayoutRect rect = videoBox();
157 if (rect.isEmpty())
159 rect.moveBy(paintOffset);
164 bool clip = !contentRect.contains(rect);
171 paintIntoRect(context, rect);
173 mediaPlayer->paint(context, pixelSnappedIntRect(rect));
H A DRenderWidget.cpp94 static inline IntRect roundedIntRect(const LayoutRect& rect) argument
96 return IntRect(roundedIntPoint(rect.location()), roundedIntSize(rect.size()));
166 IntRect paintRect = paintInfo.rect;
240 layer()->scrollableArea()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGInlineText.cpp116 // Use the edge of the selection rect to determine the caret rect.
118 LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1); local
119 LayoutUnit x = box->isLeftToRightDirection() ? rect.x() : rect.maxX();
120 return LayoutRect(x, rect.y(), caretWidth, rect.height());
123 LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset); local
124 LayoutUnit x = box->isLeftToRightDirection() ? rect.maxX() : rect
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatQuad.cpp117 static inline FloatPoint rightMostCornerToVector(const FloatRect& rect, const FloatSize& vector) argument
130 point.setY(rect.maxY());
132 point.setY(rect.y());
134 point.setX(rect.x());
136 point.setX(rect.maxX());
140 bool FloatQuad::intersectsRect(const FloatRect& rect) const
160 FloatPoint p = rightMostCornerToVector(rect, v1);
164 p = rightMostCornerToVector(rect, v2);
168 p = rightMostCornerToVector(rect, v3);
172 p = rightMostCornerToVector(rect, v
[all...]
H A DFloatRect.cpp228 IntRect enclosingIntRect(const FloatRect& rect) argument
230 IntPoint location = flooredIntPoint(rect.minXMinYCorner());
231 IntPoint maxPoint = ceiledIntPoint(rect.maxXMaxYCorner());
236 IntRect enclosedIntRect(const FloatRect& rect) argument
238 IntPoint location = ceiledIntPoint(rect.minXMinYCorner());
239 IntPoint maxPoint = flooredIntPoint(rect.maxXMaxYCorner());
246 IntRect roundedIntRect(const FloatRect& rect) argument
248 return IntRect(roundedIntPoint(rect.location()), roundedIntSize(rect.size()));
H A DFloatRoundedRect.h88 const FloatRect& rect() const { return m_rect; } function in class:WebCore::FloatRoundedRect
93 void setRect(const FloatRect& rect) { m_rect = rect; } argument
132 return a.rect() == b.rect() && a.radii() == b.radii();
H A DRoundedRect.cpp142 RoundedRect::RoundedRect(const IntRect& rect, const Radii& radii) argument
143 : m_rect(rect)
148 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
149 : m_rect(rect)
198 FloatRect rect(m_rect);
199 if (!quad.intersectsRect(rect))
204 FloatRect rect(m_rect.x(), m_rect.y(), topLeft.width(), topLeft.height());
205 if (quad.intersectsRect(rect)) {
215 FloatRect rect(m_rect.maxX() - topRight.width(), m_rect.y(), topRight.width(), topRight.height());
216 if (quad.intersectsRect(rect)) {
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImage.cpp105 FloatRect Image::adjustForNegativeSize(const FloatRect& rect) argument
107 FloatRect norm = rect;
H A DImage.h85 IntRect rect() const { return IntRect(IntPoint(), size()); } function in class:WebCore::Image
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEDisplacementMap.cpp52 FloatRect FEDisplacementMap::mapPaintRect(const FloatRect& rect, bool) argument
54 FloatRect result = rect;
H A DFEGaussianBlur.cpp89 // inflates the absolute paint rect to much. This is compatible with Firefox' behavior.
110 FloatRect FEGaussianBlur::mapRect(const FloatRect& rect, bool) argument
112 FloatRect result = rect;
174 SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); local
175 return adoptRef(SkBlurImageFilter::Create(SkFloatToScalar(stdX), SkFloatToScalar(stdY), input.get(), &rect));
H A DFETurbulence.cpp427 SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); local
428 return adoptRef(SkRectShaderImageFilter::Create(shader, &rect));
/external/chromium_org/third_party/WebKit/Source/web/
H A DScrollbarGroup.cpp111 void ScrollbarGroup::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) argument
114 m_horizontalScrollbar->invalidateScrollbarRect(rect);
116 m_verticalScrollbar->invalidateScrollbarRect(rect);
H A DWebPagePopupImpl.cpp80 virtual void setWindowRect(const FloatRect& rect) OVERRIDE
82 m_popup->m_windowRectInScreen = IntRect(rect);
304 void WebPagePopupImpl::paint(WebCanvas* canvas, const WebRect& rect) argument
307 PageWidgetDelegate::paint(m_page.get(), 0, canvas, rect, PageWidgetDelegate::Opaque);
H A DWebPopupMenuImpl.cpp215 void WebPopupMenuImpl::paintContents(WebCanvas* canvas, const WebRect& rect, bool, WebFloatRect&, argument
221 if (!rect.isEmpty()) {
224 m_widget->paint(&context, rect);
228 void WebPopupMenuImpl::paint(WebCanvas* canvas, const WebRect& rect) argument
233 if (!rect.isEmpty()) {
236 m_widget->paint(&context, rect);
402 IntRect WebPopupMenuImpl::rootViewToScreen(const IntRect& rect) const
/external/chromium_org/third_party/WebKit/Source/web/painting/
H A DPaintAggregator.cpp43 // We attempt to maintain a scroll rect in the presence of invalidations that
44 // are contained within the scroll rect. If an invalidation crosses a scroll
45 // rect, then we just treat the scroll rect as an invalidation rect.
48 // scroll rect, we offset the invalidation rects to account for the fact that
55 // If the combined area of paint rects contained within the scroll rect grows
56 // too large, then we might as well just treat the scroll rect as a paint rect.
57 // This constant sets the max ratio of paint rect are
71 calculateArea(const IntRect& rect) argument
199 invalidateRect(const IntRect& rect) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/
H A DSwapChain9.cpp129 RECT rect = local
135 if (rect.right > static_cast<LONG>(backbufferWidth))
137 rect.right = backbufferWidth;
140 if (rect.bottom > static_cast<LONG>(backbufferHeight))
142 rect.bottom = backbufferHeight;
147 result = device->StretchRect(oldRenderTarget, &rect, mRenderTarget, &rect, D3DTEXF_NONE);
304 RECT rect = local
310 HRESULT result = mSwapChain->Present(&rect, &rect, NUL
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnv30_miptree.c90 struct nv30_rect *rect)
95 rect->w = u_minify(pt->width0, level) << mt->ms_x;
96 rect->w = util_format_get_nblocksx(pt->format, rect->w);
97 rect->h = u_minify(pt->height0, level) << mt->ms_y;
98 rect->h = util_format_get_nblocksy(pt->format, rect->h);
99 rect->d = 1;
100 rect->z = 0;
103 rect
88 define_rect(struct pipe_resource *pt, unsigned level, unsigned z, unsigned x, unsigned y, unsigned w, unsigned h, struct nv30_rect *rect) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_transfer.c10 struct nv50_m2mf_rect rect[2]; member in struct:nv50_transfer
16 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect, argument
24 rect->bo = mt->base.bo;
25 rect->domain = mt->base.domain;
26 rect->base = mt->level[l].offset;
27 rect->pitch = mt->level[l].pitch;
29 rect->width = w << mt->ms_x;
30 rect->height = h << mt->ms_y;
31 rect->x = x << mt->ms_x;
32 rect
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_transfer.c10 struct nv50_m2mf_rect rect[2]; member in struct:nvc0_transfer
368 nv50_m2mf_rect_setup(&tx->rect[0], res, level, box->x, box->y, box->z);
373 size * tx->nlayers, NULL, &tx->rect[1].bo);
379 tx->rect[1].cpp = tx->rect[0].cpp;
380 tx->rect[1].width = tx->nblocksx;
381 tx->rect[1].height = tx->nblocksy;
382 tx->rect[1].depth = 1;
383 tx->rect[1].pitch = tx->base.stride;
384 tx->rect[
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c170 SVGA3dRect rect; local
284 rect.x = fx;
285 rect.y = fy;
286 rect.w = fw;
287 rect.h = fh;
291 fabs((float)rect.x - fx),
292 fabs((float)rect.y - fy),
293 fabs((float)rect.w - fw),
294 fabs((float)rect.h - fh));
298 rect
465 SVGA3dRect rect; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/gdi/
H A Dnative_gdi.c83 RECT rect; local
86 GetClientRect(gsurf->hWnd, &rect);
87 w = rect.right - rect.left;
88 h = rect.bottom - rect.top;

Completed in 2784 milliseconds

<<11121314151617181920>>