/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/chromium_org/third_party/skia/src/effects/ |
SkBitmapSource.cpp | 22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect) 26 fDstRect(dstRect) { 46 SkRect bounds, dstRect; 48 matrix.mapRect(&dstRect, fDstRect); 49 if (fSrcRect == bounds && dstRect == bounds) { 55 dstRect.roundOut(&dstIRect); 66 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop)); 71 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? 73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint) [all...] |
SkGpuBlurUtils.cpp | 44 const SkRect& dstRect, 57 context->drawRectToRect(paint, dstRect, srcRect); 62 const SkRect& dstRect, 70 convolve_gaussian_pass(context, srcRect, dstRect, texture, 74 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect; 75 SkRect middleSrcRect = srcRect, middleDstRect = dstRect; 76 SkRect upperSrcRect = srcRect, upperDstRect = dstRect; 84 lowerDstRect.fRight = dstRect.left() + rad; 86 upperDstRect.fLeft = dstRect.right() - rad; 94 lowerDstRect.fBottom = dstRect.top() + rad [all...] |
SkTileImageFilter.cpp | 27 SkRect dstRect; 28 ctm.mapRect(&dstRect, fDstRect); 29 int w = SkScalarCeilToInt(dstRect.width()); 30 int h = SkScalarCeilToInt(dstRect.height()); 59 dstRect.offset(SkIntToScalar(localOffset.fX), SkIntToScalar(localOffset.fY)); 60 canvas.drawRect(dstRect, paint);
|
/external/skia/src/effects/ |
SkBitmapSource.cpp | 22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect) 26 fDstRect(dstRect) { 46 SkRect bounds, dstRect; 48 matrix.mapRect(&dstRect, fDstRect); 49 if (fSrcRect == bounds && dstRect == bounds) { 55 dstRect.roundOut(&dstIRect); 66 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop)); 71 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? 73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint) [all...] |
SkGpuBlurUtils.cpp | 44 const SkRect& dstRect, 57 context->drawRectToRect(paint, dstRect, srcRect); 62 const SkRect& dstRect, 70 convolve_gaussian_pass(context, srcRect, dstRect, texture, 74 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect; 75 SkRect middleSrcRect = srcRect, middleDstRect = dstRect; 76 SkRect upperSrcRect = srcRect, upperDstRect = dstRect; 84 lowerDstRect.fRight = dstRect.left() + rad; 86 upperDstRect.fLeft = dstRect.right() - rad; 94 lowerDstRect.fBottom = dstRect.top() + rad [all...] |
SkTileImageFilter.cpp | 27 SkRect dstRect; 28 ctm.mapRect(&dstRect, fDstRect); 29 int w = SkScalarCeilToInt(dstRect.width()); 30 int h = SkScalarCeilToInt(dstRect.height()); 59 dstRect.offset(SkIntToScalar(localOffset.fX), SkIntToScalar(localOffset.fY)); 60 canvas.drawRect(dstRect, paint);
|
/external/chromium/chrome/browser/ui/cocoa/ |
image_utils.mm | 9 - (void)drawInRect:(NSRect)dstRect 25 dstRect.origin.y -= NSMaxY(dstRect) + NSMinY(dstRect); 28 [self drawInRect:dstRect
|
/external/chromium_org/third_party/skia/include/effects/ |
SkTileImageFilter.h | 19 @param dstRect Defines the pixels where tiles are drawn 22 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input) 23 : INHERITED(input), fSrcRect(srcRect), fDstRect(dstRect) {}
|
SkBitmapSource.h | 17 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
|
/external/skia/include/effects/ |
SkTileImageFilter.h | 19 @param dstRect Defines the pixels where tiles are drawn 22 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input) 23 : INHERITED(input), fSrcRect(srcRect), fDstRect(dstRect) {}
|
SkBitmapSource.h | 17 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
CrossfadeGeneratedImage.cpp | 87 void CrossfadeGeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode) 91 context->clip(dstRect); 92 context->translate(dstRect.x(), dstRect.y()); 93 if (dstRect.size() != srcRect.size()) 94 context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height())); 100 void CrossfadeGeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) 111 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, blink::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...] |
SDL_RLEaccel_c.h | 28 SDL_Surface *dst, SDL_Rect *dstrect); 30 SDL_Surface *dst, SDL_Rect *dstrect);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
SVGImageForContainer.cpp | 37 void SVGImageForContainer::draw(GraphicsContext* context, const FloatRect& dstRect, 40 m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMode); 44 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) 46 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing);
|
/external/skia/gm/ |
bitmapsource.cpp | 57 SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60); 63 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(new SkBitmapSource(fBitmap, srcRect, dstRect)); 64 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(new SkBitmapSource(fBitmap, bounds, dstRect)); 74 // Draw a subset of the bitmap scaled to a destination rect (srcRect -> dstRect). 78 // Draw the entire bitmap scaled to a destination rect (bounds -> dstRect).
|
drawbitmaprect.cpp | 98 SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)}; 130 canvas->drawBitmapRect(fLargeBitmap, &srcRect, dstRect); 137 SkScalar baseline = dstRect.height() + 145 canvas->drawRect(dstRect, blackPaint); 147 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); 149 if ((dstRect.width() + kPadX) * rowCount > gSize) { 151 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY); 175 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint);
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fb3dfx.c | 94 SDL_Surface *dst, SDL_Rect *dstrect) 123 dstX = dstrect->x; 124 dstY = dstrect->y; 130 srcX += (dstrect->w - 1); 131 dstX += (dstrect->w - 1); 135 srcY += (dstrect->h - 1); 136 dstY += (dstrect->h - 1); 156 tdfx_out32(DSTSIZE, dstrect->w | (dstrect->h << 16));
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameImage2D.java | 145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { 150 idShader.setTargetRect(dstRect); 158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { 164 Rect dstIRect = new Rect((int) dstRect.left * srcImage.getWidth(), 165 (int) dstRect.top * srcImage.getHeight(), 166 (int) dstRect.right * srcImage.getWidth(), 167 (int) dstRect.bottom * srcImage.getHeight());
|