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

/external/webkit/Source/WebCore/css/
H A DCSSBorderImageValue.cpp29 CSSBorderImageValue::CSSBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<Rect> imageRect, int horizontalRule, int verticalRule) argument
31 , m_imageSliceRect(imageRect)
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DSourceAlpha.cpp66 FloatRect imageRect(FloatPoint(), absolutePaintRect().size());
69 filterContext->clipToImageBuffer(filter->sourceImage(), imageRect);
70 filterContext->fillRect(imageRect, Color::black, ColorSpaceDeviceRGB);
H A DFEColorMatrix.cpp174 IntRect imageRect(IntPoint(), absolutePaintRect().size());
175 RefPtr<ByteArray> pixelArray = resultImage->getUnmultipliedImageData(imageRect);
195 resultImage->putUnmultipliedImageData(pixelArray.get(), imageRect.size(), imageRect, IntPoint());
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
H A DInjectedBundleHitTestResult.cpp103 WebCore::IntRect InjectedBundleHitTestResult::imageRect() const function in class:WebKit::InjectedBundleHitTestResult
105 return m_hitTestResult.imageRect();
H A DInjectedBundleHitTestResult.h59 WebCore::IntRect imageRect() const;
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DCairoUtilities.cpp135 IntRect imageRect = enclosingIntRect(tileRect); local
136 clippedImageSurface = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, imageRect.width(), imageRect.height()));
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
H A DWKBundleHitTestResult.cpp74 return toAPI(toImpl(hitTestResultRef)->imageRect());
/external/webkit/Source/WebCore/loader/cache/
H A DCachedImage.h61 IntRect imageRect(float multiplier) const; // The size of the currently decoded portion of the image.
H A DCachedImage.cpp192 IntRect CachedImage::imageRect(float multiplier) const function in class:WebCore::CachedImage
/external/webkit/Source/WebCore/platform/mac/
H A DClipboardMac.mm410 NSRect imageRect;
412 result = m_frame->snapshotDragImage(m_dragImageElement.get(), &imageRect, &elementRect);
415 loc.x = elementRect.origin.x - imageRect.origin.x + m_dragLoc.x();
416 loc.y = elementRect.origin.y - imageRect.origin.y + m_dragLoc.y();
417 loc.y = imageRect.size.height - loc.y;
/external/webkit/Source/WebCore/page/mac/
H A DFrameMac.mm297 NSImage* Frame::snapshotDragImage(Node* node, NSRect* imageRect, NSRect* elementRect) const
317 if (imageRect)
318 *imageRect = paintingRect;
/external/webkit/Source/WebCore/platform/
H A DCursor.cpp36 IntRect imageRect = image->rect(); local
37 if (imageRect.contains(specifiedHotSpot))
43 if (imageHasIntrinsicHotSpot && imageRect.contains(intrinsicHotSpot))
/external/webkit/Source/WebCore/platform/chromium/
H A DPopupMenuChromium.cpp981 IntRect imageRect = image->rect(); local
982 remainingWidth -= (imageRect.width() + kLabelToIconPadding);
983 imageRect.setX(rowRect.width() - rightPadding - imageRect.width());
984 imageRect.setY(rowRect.y() + (rowRect.height() - imageRect.height()) / 2);
985 gc->drawImage(image.get(), ColorSpaceDeviceRGB, imageRect);
/external/webkit/Source/WebCore/rendering/
H A DHitTestResult.h84 IntRect imageRect() const;
H A DRenderMediaControlsChromium.cpp66 IntRect imageRect = image->rect(); local
H A DHitTestResult.cpp291 IntRect HitTestResult::imageRect() const function in class:WebCore::HitTestResult
H A DRenderBox.cpp1067 FloatRect imageRect(tx + x(), rootRect.y(), width(), rootRect.height());
1068 page->chrome()->client()->paintCustomHighlight(node(), type, imageRect, rootRect, behindText, false); local
1070 FloatRect imageRect(tx + x(), ty + y(), width(), height());
1071 page->chrome()->client()->paintCustomHighlight(node(), type, imageRect, imageRect, behindText, false); local
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DGraphicsContextQt.cpp619 QRect imageRect(0, 0, w, h);
620 if (imageRect.intersects(r)) {
628 QRect imageRect(r.x(), 0, r.width(), h);
629 if (imageRect.intersects(r)) {
637 QRect imageRect(0, r.y(), w, r.height());
638 if (imageRect.intersects(r)) {
652 QRect imageRect(x, y, w, h);
653 QRect intersectRect = imageRect.intersected(r);
655 QRect sourceRect(intersectRect.x() - imageRect.x(), intersectRect.y() - imageRect
[all...]
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DFrameLoaderClientAndroid.cpp1110 IntRect imageRect(x(), y(), image->width(), image->height());
1112 int xOffset = (width() - imageRect.width()) >> 1;
1113 int yOffset = (height() - imageRect.height()) >> 1;
1115 imageRect.move(xOffset, yOffset);
1117 if (!rect.intersects(imageRect))
1130 if (frameRect().contains(imageRect)) {
1141 ctx->drawImage(image.get(), ColorSpaceDeviceRGB, imageRect.location());
/external/webkit/Source/WebCore/page/
H A DDragController.cpp724 IntRect imageRect = dragSource.imageRect(); local
725 imageRect.setLocation(m_page->mainFrame()->view()->windowToContents(src->view()->contentsToWindow(imageRect.location())));
726 doImageDrag(element, dragOrigin, dragSource.imageRect(), clipboard, src, m_dragOffset);
H A DFrame.h203 NSImage* snapshotDragImage(Node*, NSRect* imageRect, NSRect* elementRect) const;
/external/webkit/Source/WebCore/plugins/
H A DPluginView.cpp1330 IntRect imageRect(frameRect().x(), frameRect().y(), nullPluginImage->width(), nullPluginImage->height());
1332 int xOffset = (frameRect().width() - imageRect.width()) / 2;
1333 int yOffset = (frameRect().height() - imageRect.height()) / 2;
1335 imageRect.move(xOffset, yOffset);
1337 if (!rect.intersects(imageRect))
1342 context->drawImage(nullPluginImage.get(), ColorSpaceDeviceRGB, imageRect.location());
/external/webkit/Source/WebKit/mac/Misc/
H A DWebElementDictionary.mm211 IntRect rect = _result->imageRect();
/external/webkit/Source/WebKit/qt/tests/qwebelement/
H A Dtst_qwebelement.cpp970 QRect imageRect(0, 0, resource.width(), resource.height());
974 painter0.fillRect(imageRect, Qt::white);
983 painter1.fillRect(imageRect, Qt::white);
992 painter2.fillRect(imageRect, Qt::white);
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasRenderingContext2D.cpp1267 FloatRect imageRect = FloatRect(FloatPoint(), size(image)); local
1268 if (!imageRect.contains(normalizedSrcRect) || !srcRect.width() || !srcRect.height()) {

Completed in 374 milliseconds