HomeSort by relevance Sort by last modified time
    Searched full:dstrect (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /external/skia/gm/
nocolorbleed.cpp 48 SkRect dstRect;
53 dstRect.setXYWH(SkIntToScalar(0), SkIntToScalar(0)
55 canvas->drawBitmapRect(sprite, &srcRect, dstRect, &paint);
56 dstRect.setXYWH(SkIntToScalar(100), SkIntToScalar(0)
58 canvas->drawBitmapRect(sprite, &srcRect, dstRect);
61 dstRect.setXYWH(SkIntToScalar(25), SkIntToScalar(125)
63 canvas->drawBitmapRect(sprite, &srcRect, dstRect, &paint);
64 dstRect.setXYWH(SkIntToScalar(125), SkIntToScalar(125)
66 canvas->drawBitmapRect(sprite, &srcRect, dstRect);
drawbitmaprect.cpp 100 SkRect dstRect = { 0, 0, SkIntToScalar(64), SkIntToScalar(64)};
132 canvas->drawBitmapRect(fLargeBitmap, &srcRect, dstRect);
139 SkScalar baseline = dstRect.height() +
147 canvas->drawRect(dstRect, blackPaint);
149 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0);
151 if ((dstRect.width() + kPadX) * rowCount > gSize) {
153 canvas->translate(0, dstRect.height() + SK_Scalar1 * kPadY);
177 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint);
  /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/
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...]
  /external/skia/src/effects/
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...]
  /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
image_utils.h 19 - (void)drawInRect:(NSRect)dstRect
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
CrossfadeGeneratedImage.cpp 83 void CrossfadeGeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode)
87 context->clip(dstRect);
88 context->translate(dstRect.x(), dstRect.y());
89 if (dstRect.size() != srcRect.size())
90 context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()));
96 void CrossfadeGeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, BlendMode blendMode)
107 imageBuffer->drawPattern(context, srcRect, scale, phase, compositeOp, dstRect, blendMode);
Image.cpp 96 void Image::fillWithSolidColor(GraphicsContext* ctxt, const FloatRect& dstRect, const Color& color, CompositeOperator op)
103 ctxt->fillRect(dstRect, color);
121 void Image::draw(GraphicsContext* ctx, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator op, BlendMode blendMode, RespectImageOrientationEnum)
123 draw(ctx, dstRect, srcRect, op, blendMode);
168 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect,
172 fillWithSolidColor(ctxt, dstRect, solidColor(), op);
188 float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width())));
189 tileScaleFactor.setWidth(dstRect.width() / (srcRect.width() * hRepetitions));
192 float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.height())));
193 tileScaleFactor.setHeight(dstRect.height() / (srcRect.height() * vRepetitions))
    [all...]
Image.h 124 static void fillWithSolidColor(GraphicsContext*, const FloatRect& dstRect, const Color&, CompositeOperator);
127 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, BlendMode) = 0;
128 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, BlendMode, RespectImageOrientationEnum);
129 void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatPoint& srcPoint, const FloatSize& tileSize,
131 void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRule, TileRule vRule, CompositeOperator);
  /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 38 void SVGImageForContainer::draw(GraphicsContext* context, const FloatRect& dstRect,
41 m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMode);
45 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, BlendMode blendMode)
47 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode);
SVGImage.cpp 118 void SVGImage::drawForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& dstRect,
141 draw(context, dstRect, scaledSrc, compositeOp, blendMode);
162 const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, BlendMode blendMode)
189 image->drawPattern(context, scaledSrcRect, scaleWithoutCTM, phase, compositeOp, dstRect, blendMode);
192 void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode)
201 context->clip(enclosingIntRect(dstRect));
205 FloatSize scale(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height());
210 FloatPoint destOffset = dstRect.location() - topLeftOffset;
  /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));
SDL_fbmatrox.c 121 SDL_Surface *dst, SDL_Rect *dstrect)
134 return(src->map->sw_blit(src, srcrect, dst, dstrect));
146 w = dstrect->w;
147 h = dstrect->h;
154 dstX += dstrect->x;
155 dstY += dstrect->y;
SDL_fbriva.c 112 SDL_Surface *dst, SDL_Rect *dstrect)
122 return(src->map->sw_blit(src, srcrect, dst, dstrect));
134 dstW = dstrect->w;
135 dstH = dstrect->h;
142 dstX += dstrect->x;
143 dstY += dstrect->y;
  /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());
  /external/qemu/distrib/sdl-1.2.15/src/video/windx5/
SDL_dx5yuv.c 254 RECT srcrect, dstrect; local
261 dstrect.top = SDL_bounds.top+dst->y;
262 dstrect.left = SDL_bounds.left+dst->x;
263 dstrect.bottom = dstrect.top+dst->h;
264 dstrect.right = dstrect.left+dst->w;
267 SDL_primary, &dstrect, DDOVER_SHOW, NULL);
273 result = IDirectDrawSurface3_Blt(SDL_primary, &dstrect, surface, &srcrect,
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/
FETile.cpp 43 TileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input)
46 , m_dstRect(dstRect)
76 SkRect dstRect = m_dstRect;
77 dstRect.offset(localOffset.fX, localOffset.fY);
78 canvas.drawRect(dstRect, paint);
  /external/qemu/distrib/sdl-1.2.15/docs/html/
sdlblitsurface.html 109 >(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect);</CODE
135 >dstrect</I
151 >dstrect</I
164 >dstrect</I
227 > while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {

Completed in 418 milliseconds

1 2 3 4