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

/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShape.cpp189 IntRect imageRect = pixelSnappedIntRect(imageR); local
193 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(imageRect.size());
197 graphicsContext->drawImage(image, IntRect(IntPoint(), imageRect.size()));
199 RefPtr<Uint8ClampedArray> pixelArray = imageBuffer->getImageData(Unmultiplied, IntRect(IntPoint(), imageRect.size()));
203 ASSERT(static_cast<unsigned>(imageRect.width() * imageRect.height() * 4) == pixelArray->length());
205 int minBufferY = std::max(0, marginRect.y() - imageRect.y());
206 int maxBufferY = std::min(imageRect.height(), marginRect.maxY() - imageRect.y());
210 for (int x = 0; x < imageRect
[all...]
H A DShape.h76 static PassOwnPtr<Shape> createRasterShape(Image*, float threshold, const LayoutRect& imageRect, const LayoutRect& marginRect, WritingMode, float margin);
H A DShapeOutsideInfo.cpp125 const LayoutRect& imageRect = (m_renderer.isRenderImage()) local
129 if (!isValidRasterShapeRect(marginRect) || !isValidRasterShapeRect(imageRect)) {
137 return Shape::createRasterShape(image.get(), shapeImageThreshold, imageRect, marginRect, writingMode, margin);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DSourceAlpha.cpp65 FloatRect imageRect(FloatPoint(), absolutePaintRect().size());
67 filterContext->fillRect(imageRect, Color::black);
/external/chromium_org/ui/file_manager/gallery/js/
H A Dmosaic_mode.js570 var imageRect = tile.getImageRect();
572 if (imageRect && !imageRect.intersects(renderableRect))
583 var imageRect = tile.getImageRect();
585 if (!tile.isLoading(loadMode) && !tile.isLoaded(loadMode) && imageRect &&
586 imageRect.intersects(visibleRect)) {
596 var imageRect = tile.getImageRect();
598 if (!tile.isLoading() && !tile.isLoaded() && imageRect &&
599 imageRect.intersects(renderableRect)) {
610 * @param {Rect} imageRect Larg
[all...]
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dimage_view.js161 * @param {Rect} imageRect Rectangle region of the canvas to be rendered.
163 ImageView.prototype.paintDeviceRect = function(canvas, imageRect) {
170 imageRect.left * scaleX,
171 imageRect.top * scaleY,
172 imageRect.width * scaleX,
173 imageRect.height * scaleY);
176 this.screenImage_.getContext('2d'), canvas, deviceRect, imageRect);
H A Dcommands.js367 * @param {Rect} imageRect Crop rectangle in image coordinates.
371 Command.Crop = function(imageRect) {
372 Command.call(this, 'crop' + imageRect.toString());
373 this.imageRect_ = imageRect;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCursor.cpp37 IntRect imageRect = image->rect();
38 if (imageRect.contains(specifiedHotSpot))
44 if (imageHasIntrinsicHotSpot && imageRect.contains(intrinsicHotSpot))
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DHitTestResult.h111 IntRect imageRect() const;
H A DHitTestResult.cpp278 IntRect HitTestResult::imageRect() const function in class:blink::HitTestResult
H A DRenderLayerScrollableArea.cpp1286 IntRect imageRect(resizerCornerRect.maxXMaxYCorner() - cornerResizerSize, cornerResizerSize);
1287 context->drawImage(resizeCornerImage.get(), imageRect);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
H A DNativeImageSkia.cpp60 // scaledImageWidth = round(scaleX * imageRect.width())
61 // approximateScaleX = scaledImageWidth / imageRect.width()
88 SkRect imageRect = SkRect::MakeWH(imageSize.width(), imageSize.height()); local
92 scaleTransform.setRectToRect(imageRect, scaledImageRect, SkMatrix::kFill_ScaleToFit);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DDragController.cpp803 static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, const IntPoint& dragOrigin, const IntRect& imageRect, IntPoint& dragLocation)
810 IntSize originalSize = imageRect.size();
811 origin = imageRect.location();
813 dragImage->fitToMaxSize(imageRect.size(), maxDragImageSize());
894 dragImage = dragImageForImage(element, image, dragOrigin, hitTestResult.imageRect(), dragLocation);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp1441 static inline void clipRectsToImageRect(const FloatRect& imageRect, FloatRect* srcRect, FloatRect* dstRect) argument
1443 if (imageRect.contains(*srcRect))
1452 srcRect->intersect(imageRect);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 435 milliseconds