/external/webkit/Source/WebKit2/Shared/API/c/cg/ |
H A D | WKImageCG.cpp | 44 IntSize imageSize(CGImageGetWidth(imageRef), CGImageGetHeight(imageRef)); 45 RefPtr<WebImage> webImage = WebImage::create(imageSize, toImageOptions(options)); 47 CGContextDrawImage(graphicsContext->platformContext(), CGRectMake(0, 0, imageSize.width(), imageSize.height()), imageRef);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
H A D | TestEventPrinter.cpp | 45 void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const; 57 void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const; 94 void DRTPrinter::handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char*) const argument 100 if (imageData && imageSize) { 103 printf("Content-Length: %d\n", static_cast<int>(imageSize)); 104 if (fwrite(imageData, 1, imageSize, stdout) != imageSize) { 140 void TestShellPrinter::handleImage(const char* actualHash, const char*, const unsigned char* imageData, size_t imageSize, const char* fileName) const argument 143 if (imageData && imageSize) { 150 if (fwrite(imageData, 1, imageSize, f [all...] |
H A D | TestEventPrinter.h | 43 virtual void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const = 0;
|
/external/webkit/Source/WebCore/platform/image-encoders/skia/ |
H A D | PNGImageEncoder.cpp | 74 IntSize imageSize(inputSize); 75 imageSize.clampNegativeToZero(); 98 png_set_IHDR(png, info, imageSize.width(), imageSize.height(), 103 row.resize(imageSize.width() * sizeof(SkPMColor)); 104 for (int y = 0; y < imageSize.height(); ++y) { 106 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); 110 pixels += imageSize.width() * 4; 124 IntSize imageSize(bitmap.width(), bitmap.height()); 125 return encodePixels(imageSize, static_cas [all...] |
H A D | JPEGImageEncoder.cpp | 105 IntSize imageSize(inputSize); 106 imageSize.clampNegativeToZero(); 128 cinfo.image_height = imageSize.height(); 129 cinfo.image_width = imageSize.width(); 159 IntSize imageSize(bitmap.width(), bitmap.height()); 161 return encodePixels(imageSize, static_cast<unsigned char *>(bitmap.getPixels()),
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | ImageCGWin.cpp | 77 IntSize imageSize = BitmapImage::size(); local 81 draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy); 104 IntSize imageSize = BitmapImage::size(); local 105 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), styleColorSpace, compositeOp);
|
H A D | ImageCairoWin.cpp | 83 IntSize imageSize = BitmapImage::size(); local 87 draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy); 110 IntSize imageSize = BitmapImage::size(); local 111 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, compositeOp);
|
/external/webkit/Source/WebCore/rendering/style/ |
H A D | StyleCachedImage.cpp | 52 IntSize StyleCachedImage::imageSize(const RenderObject* /*renderer*/, float multiplier) const function in class:WebCore::StyleCachedImage 54 return m_image->imageSize(multiplier);
|
H A D | StyleCachedImage.h | 48 virtual IntSize imageSize(const RenderObject*, float multiplier) const;
|
H A D | StyleGeneratedImage.cpp | 37 IntSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const function in class:WebCore::StyleGeneratedImage
|
H A D | StyleGeneratedImage.h | 47 virtual IntSize imageSize(const RenderObject*, float multiplier) const;
|
H A D | StylePendingImage.h | 49 virtual IntSize imageSize(const RenderObject*, float /*multiplier*/) const { return IntSize(); } function in class:WebCore::StylePendingImage
|
/external/webkit/Source/WebCore/html/ |
H A D | ImageDocument.cpp | 158 IntSize size = cachedImage->imageSize(1.0f); 238 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); 241 float widthScale = (float)windowSize.width() / imageSize.width(); 242 float heightScale = (float)windowSize.height() / imageSize.height(); 252 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); 255 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 256 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); 292 if (m_imageElement->cachedImage()->imageSize(pageZoomFacto [all...] |
/external/webkit/Source/WebCore/svg/graphics/filters/ |
H A D | SVGFEImage.cpp | 85 IntSize imageSize = m_image->size(); local 89 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n";
|
/external/webkit/Source/WebCore/platform/win/ |
H A D | DragImageWin.cpp | 168 IntSize imageSize(labelSize.width() + DragLabelBorderX * 2, labelSize.height() + DragLabelBorderY * 2); 173 imageSize.setHeight(imageSize.height() + urlStringSize.height()); 175 imageSize.setWidth(MaxDragLabelWidth); 178 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + DragLabelBorderX * 2); 192 image = allocImage(workingDC, imageSize, &contextRef); 205 IntRect rect(0, 0, imageSize.width(), imageSize.height()); 213 urlString = StringTruncator::rightTruncate(urlString, imageSize.width() - (DragLabelBorderX * 2.0f), *urlFont); 214 IntPoint textPos(DragLabelBorderX, imageSize [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
H A D | DragImageMac.mm | 261 NSSize imageSize; 262 imageSize.width = labelSize.width + DragLabelBorderX * 2; 263 imageSize.height = labelSize.height + DragLabelBorderY * 2; 268 imageSize.height += urlStringSize.height; 270 imageSize.width = std::max(MaxDragLabelWidth + DragLabelBorderY * 2, MinDragLabelWidthBeforeClip); 273 imageSize.width = std::max(labelSize.width + DragLabelBorderX * 2, urlStringSize.width + DragLabelBorderX * 2); 275 NSImage *dragImage = [[[NSImage alloc] initWithSize: imageSize] autorelease]; 283 [path appendBezierPathWithOvalInRect: NSMakeRect(0, imageSize.height - DragLabelRadius * 2, DragLabelRadius * 2, DragLabelRadius * 2)]; 284 [path appendBezierPathWithOvalInRect: NSMakeRect(imageSize.width - DragLabelRadius * 2, imageSize [all...] |
/external/webkit/Tools/DumpRenderTree/gtk/ |
H A D | ImageDiff.cpp | 45 GdkPixbuf* readPixbufFromStdin(long imageSize) argument 51 while (imageSize > 0) { 52 size_t bytesToRead = min<int>(imageSize, 2048); 62 imageSize -= static_cast<int>(bytesRead); 209 long imageSize = strtol(tokens[1], 0, 10); local 211 if (imageSize > 0 && !actualImage) { 212 if (!(actualImage = readPixbufFromStdin(imageSize))) { 216 } else if (imageSize > 0 && !baselineImage) { 217 if (!(baselineImage = readPixbufFromStdin(imageSize))) {
|
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderImageResource.h | 65 virtual IntSize imageSize(float multiplier) const { return m_cachedImage ? m_cachedImage->imageSize(multiplier) : IntSize(); } function in class:WebCore::RenderImageResource
|
H A D | RenderImageResourceStyleImage.h | 57 virtual IntSize imageSize(float multiplier) const { return m_styleImage->imageSize(m_renderer, multiplier); } function in class:WebCore::RenderImageResourceStyleImage
|
/external/webkit/Tools/DumpRenderTree/qt/ |
H A D | ImageDiff.cpp | 53 int imageSize = strtol(strtok(0, " "), 0, 10); local 55 if (imageSize <= 0) { 63 while (imageSize > 0) { 64 size_t bytesToRead = qMin(imageSize, 2048); 67 imageSize -= static_cast<int>(bytesRead);
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGImageBufferTools.cpp | 55 IntSize imageSize(roundedImageBufferSize(clampedAbsoluteTargetRect.size())); 59 if (imageSize.isEmpty()) 62 OwnPtr<ImageBuffer> image = ImageBuffer::create(imageSize, colorSpace);
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | CairoUtilities.h | 46 void drawPatternToCairoContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect,
|
/external/webkit/Source/WebCore/loader/cache/ |
H A D | CachedImage.h | 50 bool canRender(float multiplier) const { return !errorOccurred() && !imageSize(multiplier).isEmpty(); } 60 IntSize imageSize(float multiplier) const; // returns the size of the complete image.
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | ImageWinCE.cpp | 79 IntSize imageSize = BitmapImage::size(); local 83 draw(&gc, FloatRect(0, 0, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0, 0, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy); 107 IntSize imageSize = BitmapImage::size(); local 108 draw(ctxt, dstRect, FloatRect(0, 0, imageSize.width(), imageSize.height()), styleColorSpace, compositeOp);
|
/external/opencv/cvaux/src/ |
H A D | cvepilines.cpp | 667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *point2) argument 678 pb.x = imageSize.width-1; 681 pd.x = imageSize.width-1; 682 pd.y = imageSize.height-1; 685 pc.y = imageSize.height-1; 697 else if( startPoint.y > imageSize.height-1 ) 708 else if ( startPoint.x > imageSize.width-1 ) 715 else if ( startPoint.y > imageSize.height-1 ) 730 if( startPoint.x < imageSize.width/2 ) 741 else if( startPoint.y > imageSize 794 icvGetCommonArea( CvSize imageSize, CvPoint3D64d epipole1,CvPoint3D64d epipole2, CvMatr64d fundMatr, CvVect64d coeff11,CvVect64d coeff12, CvVect64d coeff21,CvVect64d coeff22, int* result) argument 1174 icvGetCrossRectDirect( CvSize imageSize, double a,double b,double c, CvPoint2D64d *start,CvPoint2D64d *end, int* result) argument 1294 icvGetQuadsTransform( CvSize imageSize, CvMatr64d camMatr1, CvMatr64d rotMatr1, CvVect64d transVect1, CvMatr64d camMatr2, CvMatr64d rotMatr2, CvVect64d transVect2, CvSize* warpSize, double quad1[4][2], double quad2[4][2], CvMatr64d fundMatr, CvPoint3D64d* epipole1, CvPoint3D64d* epipole2 ) argument 1672 icvGetQuadsTransformNew( CvSize imageSize, CvMatr32f camMatr1, CvMatr32f camMatr2, CvMatr32f rotMatr1, CvVect32f transVect1, CvSize* warpSize, double quad1[4][2], double quad2[4][2], CvMatr32f fundMatr, CvPoint3D32f* epipole1, CvPoint3D32f* epipole2 ) argument 1826 icvGetCutPiece( CvVect64d areaLineCoef1,CvVect64d areaLineCoef2, CvPoint2D64d epipole, CvSize imageSize, CvPoint2D64d* point11,CvPoint2D64d* point12, CvPoint2D64d* point21,CvPoint2D64d* point22, int* result) argument 2181 FindLineForEpiline( CvSize imageSize, float a,float b,float c, CvPoint2D32f *start,CvPoint2D32f *end, int* result) argument 2274 GetAngleLinee( CvPoint2D32f epipole, CvSize imageSize,CvPoint2D32f point1,CvPoint2D32f point2) argument [all...] |