/external/webkit/Source/WebCore/dom/ |
H A D | ClientRect.cpp | 36 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 D | Path.cpp | 112 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 D | FloatRectHaiku.cpp | 37 FloatRect::FloatRect(const BRect& rect) argument 38 : m_location(rect.LeftTop()) 39 , m_size(rect.Width() + 1, rect.Height() + 1)
|
H A D | IntRectHaiku.cpp | 36 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 D | IntRectSkia.cpp | 40 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 D | UpdateChunk.cpp | 42 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/tests/ |
H A D | RegionTest.cpp | 12 static void rand_rect(SkIRect* rect, SkRandom& rand) { argument 15 rect->set(rand.nextU() >> shift, rand.nextU() >> shift, 17 rect->sort(); 20 static bool test_rects(const SkIRect rect[], int count) { argument 24 rgn0.op(rect[i], SkRegion::kUnion_Op); 26 rgn1.setRects(rect, count); 32 rect[i].fLeft, rect[i].fTop, 33 rect[i].fRight, rect[ 61 SkIRect rect[N]; local [all...] |
/external/skia/src/images/ |
H A D | SkBitmapRegionDecoder.cpp | 3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect, argument 6 return fDecoder->decodeRegion(bitmap, rect, pref);
|
/external/skia/src/animator/ |
H A D | SkDrawClip.cpp | 21 SK_MEMBER(rect, Rect) 28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) { 32 if (rect != NULL) 33 maker.fCanvas->clipRect(rect->fRect);
|
H A D | SkDrawPoint.cpp | 41 void SkDrawPoint::getBounds(SkRect* rect ) { 42 rect->fLeft = rect->fRight = fPoint.fX; 43 rect->fTop = rect->fBottom = fPoint.fY;
|
H A D | SkDisplayBounds.cpp | 35 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 D | PluginViewBridgeAndroid.cpp | 32 const IntRect& rect) {} 31 draw(GraphicsContext* gc, const IntRect& rect) argument
|
/external/webkit/Source/WebKit2/UIProcess/win/ |
H A D | ChunkedUpdateDrawingAreaProxyWin.cpp | 68 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 D | IntRectCG.cpp | 40 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 D | ChunkedUpdateDrawingAreaGtk.cpp | 50 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 D | ChunkedUpdateDrawingAreaMac.cpp | 48 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 D | ChunkedUpdateDrawingAreaWin.cpp | 43 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 D | PlatformThemeChromiumGtk.cpp | 100 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/android/rendering/ |
H A D | InspectorCanvas.cpp | 57 // the picture, replace the picture with simple draw rect info 62 const SkIRect* rect, 84 void InspectorCanvas::drawRect(const SkRect& rect, const SkPaint& paint) argument 86 if (rect.fLeft == 0 87 && rect.fTop == 0 88 && rect.width() >= m_picture->width() 89 && rect.height() >= m_picture->height()) { 90 // rect same size as canvas, treat layer as a single color rect until 94 // regular rect drawin 61 commonDrawBitmap(const SkBitmap& bitmap, const SkIRect* rect, const SkMatrix&, const SkPaint&) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | IntRectMac.mm | 38 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 D | WindowGeometryInitializedBeforeSetWindow.cpp | 55 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 D | RenderOverflow.h | 122 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 D | ChunkedUpdateDrawingAreaQt.cpp | 46 graphicsContext.translate(-updateChunk->rect().x(), -updateChunk->rect().y()); 48 m_webPage->drawRect(graphicsContext, updateChunk->rect());
|
/external/webkit/Source/WebCore/platform/wx/ |
H A D | ScreenWx.cpp | 39 FloatRect scaleScreenRectToWidget(FloatRect rect, Widget*) argument 41 return rect; 44 FloatRect scaleWidgetRectToScreen(FloatRect rect, Widget*) argument 46 return rect;
|
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | WidgetRenderingContext.cpp | 147 void WidgetRenderingContext::gtkPaintBox(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, const gchar* detail) argument 149 GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.height() }; 163 void WidgetRenderingContext::gtkPaintFlatBox(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, const gchar* detail) argument 165 GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect 170 gtkPaintFocus(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, const gchar* detail) argument 177 gtkPaintSlider(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, const gchar* detail, GtkOrientation orientation) argument 184 gtkPaintCheck(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, const gchar* detail) argument 191 gtkPaintOption(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, const gchar* detail) argument 198 gtkPaintShadow(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, const gchar* detail) argument 205 gtkPaintArrow(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, GtkShadowType shadowType, int arrowDirection, const gchar* detail) argument 212 gtkPaintVLine(const IntRect& rect, GtkWidget* widget, GtkStateType stateType, const gchar* detail) argument [all...] |