Searched refs:rect (Results 1 - 25 of 936) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/dom/
H A DClientRect.cpp36 ClientRect::ClientRect(const IntRect& rect) argument
37 : m_rect(rect)
41 ClientRect::ClientRect(const FloatRect& rect) argument
42 : m_rect(rect)
/external/webkit/Source/WebCore/platform/graphics/
H A DPath.cpp112 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii) argument
114 if (rect.isEmpty())
118 FloatSize halfSize(rect.width() / 2, rect.height() / 2);
130 moveTo(FloatPoint(rect.x() + radius.width(), rect.y()));
133 addLineTo(FloatPoint(rect.x() + rect.width() - roundingRadii.width(), rect.y()));
135 addBezierCurveTo(FloatPoint(rect
155 addRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DFloatRectHaiku.cpp37 FloatRect::FloatRect(const BRect& rect) argument
38 : m_location(rect.LeftTop())
39 , m_size(rect.Width() + 1, rect.Height() + 1)
H A DIntRectHaiku.cpp36 IntRect::IntRect(const BRect& rect) argument
37 : m_location(rect.LeftTop())
38 , m_size(rect.IntegerWidth() + 1, rect.IntegerHeight() + 1)
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DIntRectSkia.cpp40 SkIRect rect = { x(), y(), maxX(), maxY() }; local
41 return rect;
46 SkRect rect; local
47 rect.set(SkIntToScalar(x()), SkIntToScalar(y()), SkIntToScalar(maxX()), SkIntToScalar(maxY()));
48 return rect;
/external/webkit/Source/WebKit2/Shared/win/
H A DUpdateChunk.cpp42 UpdateChunk::UpdateChunk(const IntRect& rect) argument
43 : m_rect(rect)
46 unsigned memorySize = rect.height() * rect.width() * 4;
50 UpdateChunk::UpdateChunk(const IntRect& rect, HANDLE bitmapSharedMemory) argument
51 : m_rect(rect)
64 IntRect rect; local
65 if (!decoder->decode(rect))
67 updateChunk.m_rect = rect;
/external/skia/legacy/src/images/
H A DSkBitmapRegionDecoder.cpp3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect, argument
6 return fDecoder->decodeRegion(bitmap, rect, pref);
/external/skia/src/images/
H A DSkBitmapRegionDecoder.cpp3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect, argument
6 return fDecoder->decodeRegion(bitmap, rect, pref);
/external/skia/legacy/src/animator/
H A DSkDrawClip.cpp21 SK_MEMBER(rect, Rect)
28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) {
32 if (rect != NULL)
33 maker.fCanvas->clipRect(rect->fRect);
H A DSkDrawPoint.cpp41 void SkDrawPoint::getBounds(SkRect* rect ) {
42 rect->fLeft = rect->fRight = fPoint.fX;
43 rect->fTop = rect->fBottom = fPoint.fY;
H A DSkDisplayBounds.cpp35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local
37 if (rect.isEmpty())
38 rect = fBounds;
40 rect.join(fBounds);
/external/skia/src/animator/
H A DSkDrawClip.cpp21 SK_MEMBER(rect, Rect)
28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) {
32 if (rect != NULL)
33 maker.fCanvas->clipRect(rect->fRect);
H A DSkDrawPoint.cpp41 void SkDrawPoint::getBounds(SkRect* rect ) {
42 rect->fLeft = rect->fRight = fPoint.fX;
43 rect->fTop = rect->fBottom = fPoint.fY;
H A DSkDisplayBounds.cpp35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local
37 if (rect.isEmpty())
38 rect = fBounds;
40 rect.join(fBounds);
/external/webkit/Source/WebKit/android/plugins/
H A DPluginViewBridgeAndroid.cpp32 const IntRect& rect) {}
31 draw(GraphicsContext* gc, const IntRect& rect) argument
/external/webkit/Source/WebKit2/UIProcess/win/
H A DChunkedUpdateDrawingAreaProxyWin.cpp68 bool ChunkedUpdateDrawingAreaProxy::platformPaint(const IntRect& rect, HDC hdc) argument
74 ::BitBlt(hdc, rect.x(), rect.y(), rect.width(), rect.height(), m_backingStoreDC.get(), rect.x(), rect.y(), SRCCOPY);
85 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(updateChunk->rect().size());
97 ::BitBlt(m_backingStoreDC.get(), updateChunk->rect().x(), updateChunk->rect()
103 RECT rect = updateChunk->rect(); local
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DIntRectCG.cpp40 IntRect enclosingIntRect(const CGRect& rect) argument
42 int l = static_cast<int>(floorf(rect.origin.x));
43 int t = static_cast<int>(floorf(rect.origin.y));
44 int r = static_cast<int>(ceilf(CGRectGetMaxX(rect)));
45 int b = static_cast<int>(ceilf(CGRectGetMaxY(rect)));
/external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/
H A DChunkedUpdateDrawingAreaGtk.cpp50 IntRect rect = updateChunk->rect(); local
51 gc.translate(-rect.x(), -rect.y());
52 m_webPage->drawRect(gc, updateChunk->rect());
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/
H A DChunkedUpdateDrawingAreaMac.cpp48 RetainPtr<CGContextRef> bitmapContext(AdoptCF, CGBitmapContextCreate(updateChunk->data(), updateChunk->rect().width(), updateChunk->rect().height(), 8, updateChunk->rect().width() * 4, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
51 CGContextTranslateCTM(bitmapContext.get(), 0.0, updateChunk->rect().height());
56 graphicsContext.translate(-updateChunk->rect().x(), -updateChunk->rect().y());
58 m_webPage->drawRect(graphicsContext, updateChunk->rect());
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/
H A DChunkedUpdateDrawingAreaWin.cpp43 BitmapInfo bmp = BitmapInfo::createBottomUp(updateChunk->rect().size());
52 RECT rect = updateChunk->rect(); local
53 ::FillRect(hdc.get(), &rect, (HBRUSH)::GetStockObject(WHITE_BRUSH));
54 gc.translate(-updateChunk->rect().x(), -updateChunk->rect().y());
56 m_webPage->drawRect(gc, updateChunk->rect());
/external/webkit/Source/WebCore/platform/chromium/
H A DPlatformThemeChromiumGtk.cpp100 void PlatformThemeChromiumGtk::paintArrowButton(GraphicsContext* gc, const IntRect& rect, ArrowDirection direction, ControlStates states) argument
106 widthMiddle = rect.width() / 2 + 1;
107 lengthMiddle = rect.height() / 2 + 1;
109 lengthMiddle = rect.width() / 2 + 1;
110 widthMiddle = rect.height() / 2 + 1;
129 skrect.set(rect.x(), rect.y(), rect.x() + rect.width(), rect
[all...]
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DIntRectMac.mm38 IntRect enclosingIntRect(const NSRect& rect)
40 int l = static_cast<int>(floorf(rect.origin.x));
41 int t = static_cast<int>(floorf(rect.origin.y));
42 int r = static_cast<int>(ceilf(NSMaxX(rect)));
43 int b = static_cast<int>(ceilf(NSMaxY(rect)));
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
H A DWindowGeometryInitializedBeforeSetWindow.cpp55 RECT rect; local
56 if (!::GetClientRect(hwnd, &rect)) {
61 if (::IsRectEmpty(&rect)) {
73 if (!::MapWindowPoints(hwnd, parent, reinterpret_cast<POINT*>(&rect), 2)) {
78 if (rect.left != window->x || rect.top != window->y || (rect.right - rect.left) != window->width || (rect.bottom - rect
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderOverflow.h122 inline void RenderOverflow::addLayoutOverflow(const IntRect& rect) argument
124 m_minYLayoutOverflow = std::min(rect.y(), m_minYLayoutOverflow);
125 m_maxYLayoutOverflow = std::max(rect.maxY(), m_maxYLayoutOverflow);
126 m_minXLayoutOverflow = std::min(rect.x(), m_minXLayoutOverflow);
127 m_maxXLayoutOverflow = std::max(rect.maxX(), m_maxXLayoutOverflow);
130 inline void RenderOverflow::addVisualOverflow(const IntRect& rect) argument
132 m_minYVisualOverflow = std::min(rect.y(), m_minYVisualOverflow);
133 m_maxYVisualOverflow = std::max(rect.maxY(), m_maxYVisualOverflow);
134 m_minXVisualOverflow = std::min(rect.x(), m_minXVisualOverflow);
135 m_maxXVisualOverflow = std::max(rect
138 setLayoutOverflow(const IntRect& rect) argument
146 setVisualOverflow(const IntRect& rect) argument
154 resetLayoutOverflow(const IntRect& rect) argument
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DChunkedUpdateDrawingAreaQt.cpp46 graphicsContext.translate(-updateChunk->rect().x(), -updateChunk->rect().y());
48 m_webPage->drawRect(graphicsContext, updateChunk->rect());

Completed in 435 milliseconds

1234567891011>>