/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_DisplayYUVOverlay.3 | 8 \fBint \fBSDL_DisplayYUVOverlay\fP\fR(\fBSDL_Overlay *overlay, SDL_Rect *dstrect\fR);
|
SDL_FillRect.3 | 8 \fBint \fBSDL_FillRect\fP\fR(\fBSDL_Surface *dst, SDL_Rect *dstrect, Uint32 color\fR); 15 If there is a clip rectangle set on the destination (set via \fISDL_SetClipRect\fR) then this function will clip based on the intersection of the clip rectangle and the \fBdstrect\fR rectangle and the dstrect rectangle will be modified to represent the area actually filled\&.
|
SDL_BlitSurface.3 | 8 \fBint \fBSDL_BlitSurface\fP\fR(\fBSDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect\fR); 48 \f(CW while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
|
/external/skia/src/effects/ |
SkBitmapSource.cpp | 23 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect) 27 , fDstRect(dstRect) {} 49 SkRect bounds, dstRect; 51 ctx.ctm().mapRect(&dstRect, fDstRect); 52 if (fSrcRect == bounds && dstRect == bounds) { 59 dstRect.roundOut(&dstIRect); 70 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop)); 75 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? 77 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint) [all...] |
SkGpuBlurUtils.cpp | 48 const SkRect& dstRect, 61 context->drawRectToRect(paint, dstRect, srcRect); 66 const SkRect& dstRect, 74 convolve_gaussian_pass(context, srcRect, dstRect, texture, 78 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect; 79 SkRect middleSrcRect = srcRect, middleDstRect = dstRect; 80 SkRect upperSrcRect = srcRect, upperDstRect = dstRect; 88 lowerDstRect.fRight = dstRect.left() + rad; 90 upperDstRect.fLeft = dstRect.right() - rad; 98 lowerDstRect.fBottom = dstRect.top() + rad [all...] |
SkTileImageFilter.cpp | 29 SkRect dstRect; 30 ctx.ctm().mapRect(&dstRect, fDstRect); 32 dstRect.roundOut(&dstIRect); 70 canvas.translate(-dstRect.fLeft, -dstRect.fTop); 71 canvas.drawRect(dstRect, paint);
|
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViESurfaceRenderer.java | 40 private Rect dstRect = new Rect(); 55 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth); 56 dstRect.bottom = (int)(dstRect.top + dstBottomScale * dstHeight); 71 " dstRect.left:" + dstRect.left + 72 " dstRect.top:" + dstRect.top + 73 " dstRect.right:" + dstRect.right [all...] |
/external/skia/include/effects/ |
SkTileImageFilter.h | 19 @param dstRect Defines the pixels where tiles are drawn 22 static SkTileImageFilter* Create(const SkRect& srcRect, const SkRect& dstRect, 24 return SkNEW_ARGS(SkTileImageFilter, (srcRect, dstRect, input)); 35 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input) 36 : INHERITED(input), fSrcRect(srcRect), fDstRect(dstRect) {}
|
SkBitmapSource.h | 20 const SkRect& dstRect) { 21 return SkNEW_ARGS(SkBitmapSource, (bitmap, srcRect, dstRect)); 29 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkGpuBlurUtils.cpp | 48 const SkRect& dstRect, 61 context->drawRectToRect(paint, dstRect, srcRect); 66 const SkRect& dstRect, 84 context->drawRectToRect(paint, dstRect, srcRect); 89 const SkRect& dstRect, 97 convolve_gaussian_1d(context, srcRect, dstRect, texture, 101 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect; 102 SkRect middleSrcRect = srcRect, middleDstRect = dstRect; 103 SkRect upperSrcRect = srcRect, upperDstRect = dstRect; 111 lowerDstRect.fRight = dstRect.left() + rad [all...] |
SkBitmapSource.cpp | 23 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect) 27 , fDstRect(dstRect) {} 61 SkRect bounds, dstRect; 63 ctx.ctm().mapRect(&dstRect, fDstRect); 64 if (fSrcRect == bounds && dstRect == bounds) { 71 dstRect.roundOut(&dstIRect); 82 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop)); 87 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? 89 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint) [all...] |
SkTileImageFilter.cpp | 19 SkTileImageFilter* SkTileImageFilter::Create(const SkRect& srcRect, const SkRect& dstRect, 21 if (!SkIsValidRect(srcRect) || !SkIsValidRect(dstRect)) { 24 return SkNEW_ARGS(SkTileImageFilter, (srcRect, dstRect, input, uniqueID)); 37 SkRect dstRect; 38 ctx.ctm().mapRect(&dstRect, fDstRect); 40 dstRect.roundOut(&dstIRect); 78 canvas.translate(-dstRect.fLeft, -dstRect.fTop); 79 canvas.drawRect(dstRect, paint);
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleTextureDomain.cpp | 48 SkRect dstRect; 55 dstRect.setXYWH(5, 5, 305, 305); 56 canvas->drawBitmapRectToRect(fBM, &srcRect, dstRect, &paint); 66 dstRect.setXYWH(1, 1, 3, 3); 67 surface->getCanvas()->drawBitmapRectToRect(fBM, &srcRect, dstRect, 73 dstRect.setXYWH(405, 5, 305, 305); 74 canvas->drawImageRect(image, &srcRect, dstRect, &paint); 79 dstRect.setXYWH(5, 405, 305, 305); 86 canvas->drawImageRect(image, &srcRect, dstRect, &paint); 98 dstRect.setXYWH(-150, -150, 300, 300) [all...] |
/external/skia/samplecode/ |
SampleTextureDomain.cpp | 48 SkRect dstRect; 55 dstRect.setXYWH(5, 5, 305, 305); 56 canvas->drawBitmapRectToRect(fBM, &srcRect, dstRect, &paint); 66 dstRect.setXYWH(1, 1, 3, 3); 67 surface->getCanvas()->drawBitmapRectToRect(fBM, &srcRect, dstRect, 73 dstRect.setXYWH(405, 5, 305, 305); 74 image->draw(canvas, &srcRect, dstRect, &paint); 79 dstRect.setXYWH(5, 405, 305, 305); 86 image->draw(canvas, &srcRect, dstRect, &paint); 98 dstRect.setXYWH(-150, -150, 300, 300) [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkTileImageFilter.h | 19 @param dstRect Defines the pixels where tiles are drawn 22 static SkTileImageFilter* Create(const SkRect& srcRect, const SkRect& dstRect, 33 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input, uint32_t uniqueID) 34 : INHERITED(1, &input, NULL, uniqueID), fSrcRect(srcRect), fDstRect(dstRect) {}
|
SkBitmapSource.h | 20 const SkRect& dstRect) { 21 return SkNEW_ARGS(SkBitmapSource, (bitmap, srcRect, dstRect)); 29 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
CrossfadeGeneratedImage.cpp | 85 void CrossfadeGeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, WebBlendMode blendMode) 89 context->clip(dstRect); 90 context->translate(dstRect.x(), dstRect.y()); 91 if (dstRect.size() != srcRect.size()) 92 context->scale(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()); 98 void CrossfadeGeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, WebBlendMode blendMode, const IntSize& repeatSpacing) 109 imageBuffer->drawPattern(context, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing);
|
Image.cpp | 94 void Image::fillWithSolidColor(GraphicsContext* ctxt, const FloatRect& dstRect, const Color& color, CompositeOperator op) 101 ctxt->fillRect(dstRect, color); 119 void Image::draw(GraphicsContext* ctx, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator op, WebBlendMode blendMode, RespectImageOrientationEnum) 121 draw(ctx, dstRect, srcRect, op, blendMode); 167 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, 171 fillWithSolidColor(ctxt, dstRect, solidColor(), op); 187 float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width()))); 188 tileScaleFactor.setWidth(dstRect.width() / (srcRect.width() * hRepetitions)); 191 float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.height()))); 192 tileScaleFactor.setHeight(dstRect.height() / (srcRect.height() * vRepetitions)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_yuv.c | 83 int SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect) 89 if ( overlay == NULL || dstrect == NULL ) { 90 SDL_SetError("Passed NULL overlay or dstrect"); 99 dstx = dstrect->x; 100 dsty = dstrect->y; 101 dstw = dstrect->w; 102 dsth = dstrect->h; 104 srcw += (dstx * overlay->w) / dstrect->w; 106 srcx -= (dstx * overlay->w) / dstrect->w; 111 srcw -= (extra * overlay->w) / dstrect->w [all...] |
SDL_surface.c | 408 SDL_Surface *dst, SDL_Rect *dstrect) 431 hw_dstrect = *dstrect; 434 dstrect = &hw_dstrect; 440 return(do_blit(src, srcrect, dst, dstrect)); 445 SDL_Surface *dst, SDL_Rect *dstrect) 461 if ( dstrect == NULL ) { 463 dstrect = &fulldst; 474 dstrect->x -= srcx; 485 dstrect->y -= srcy; 503 dx = clip->x - dstrect->x [all...] |
SDL_stretch.c | 203 SDL_Surface *dst, SDL_Rect *dstrect) 242 if ( dstrect ) { 243 if ( (dstrect->x < 0) || (dstrect->y < 0) || 244 ((dstrect->x+dstrect->w) > dst->w) || 245 ((dstrect->y+dstrect->h) > dst->h) ) { 254 dstrect = &full_dst; 281 inc = (srcrect->h << 16) / dstrect->h [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
SVGImageForContainer.cpp | 36 void SVGImageForContainer::draw(GraphicsContext* context, const FloatRect& dstRect, 39 m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMode); 43 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) 45 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing);
|
/external/chromium_org/third_party/skia/gm/ |
bitmapsource.cpp | 56 SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60); 62 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(SkBitmapSource::Create(fBitmap, srcRect, dstRect)); 63 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(SkBitmapSource::Create(fBitmap, bounds, dstRect)); 73 // Draw a subset of the bitmap scaled to a destination rect (srcRect -> dstRect). 77 // Draw the entire bitmap scaled to a destination rect (bounds -> dstRect).
|
tileimagefilter.cpp | 84 SkRect dstRect = SkRect::MakeXYWH(SkIntToScalar(i * 8), 90 SkTileImageFilter::Create(srcRect, dstRect, tileInput)); 111 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(fBitmap.width() * 2), 113 SkAutoTUnref<SkImageFilter> tile(SkTileImageFilter::Create(srcRect, dstRect, NULL)); 121 canvas->clipRect(dstRect); 122 canvas->saveLayer(&dstRect, &paint);
|
/external/skia/gm/ |
bitmapsource.cpp | 55 SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60); 61 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(SkBitmapSource::Create(fBitmap, srcRect, dstRect)); 62 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(SkBitmapSource::Create(fBitmap, bounds, dstRect)); 72 // Draw a subset of the bitmap scaled to a destination rect (srcRect -> dstRect). 76 // Draw the entire bitmap scaled to a destination rect (bounds -> dstRect).
|