HomeSort by relevance Sort by last modified time
    Searched full:dstrect (Results 1 - 25 of 87) 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/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/webkit/Source/WebCore/platform/graphics/
GeneratedImage.cpp 37 void GeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace, CompositeOperator compositeOp)
41 context->clip(dstRect);
42 context->translate(dstRect.x(), dstRect.y());
43 if (dstRect.size() != srcRect.size())
44 context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()));
Image.cpp 79 void Image::fillWithSolidColor(GraphicsContext* ctxt, const FloatRect& dstRect, const Color& color, ColorSpace styleColorSpace, CompositeOperator op)
86 ctxt->fillRect(dstRect, color, styleColorSpace);
90 static inline FloatSize calculatePatternScale(const FloatRect& dstRect, const FloatRect& srcRect, Image::TileRule hRule, Image::TileRule vRule)
95 scaleX = dstRect.width() / srcRect.width();
97 scaleY = dstRect.height() / srcRect.height();
148 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, TileRule hRule, TileRule vRule, ColorSpace styleColorSpace, CompositeOperator op)
151 fillWithSolidColor(ctxt, dstRect, solidColor(), styleColorSpace, op);
161 FloatSize scale = calculatePatternScale(dstRect, srcRect, hRule, vRule);
169 hPhase -= fmodf(dstRect.width(), scale.width() * srcRect.width()) / 2.0f;
171 vPhase -= fmodf(dstRect.height(), scale.height() * srcRect.height()) / 2.0f
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cairo/
ImageCairo.cpp 99 FloatRect dstRect(dst);
101 if (dstRect.width() == 0.0f || dstRect.height() == 0.0f ||
112 fillWithSolidColor(context, dstRect, solidColor(), styleColorSpace, op);
134 float scaleX = srcRect.width() / dstRect.width();
135 float scaleY = srcRect.height() / dstRect.height();
142 cairo_t* shadowContext = shadow->beginShadowLayer(context, dstRect);
144 cairo_translate(shadowContext, dstRect.x(), dstRect.y());
146 cairo_rectangle(shadowContext, 0, 0, dstRect.width(), dstRect.height())
    [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/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;
  /external/webkit/Source/WebCore/platform/graphics/haiku/
ImageHaiku.cpp 112 BRect dstRect(dst);
117 ctxt->platformContext()->DrawBitmapAsync(image, srcRect, dstRect);
124 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace, CompositeOperator op, const FloatRect& dstRect)
152 context->clip(enclosingIntRect(dstRect));
155 while (currentW < dstRect.x() + dstRect.width()) {
157 while (currentH < dstRect.y() + dstRect.height()) {
  /external/webkit/Source/WebCore/platform/graphics/chromium/
GLES2Canvas.h 88 void drawTexturedRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, ColorSpace, CompositeOperator);
90 void drawTexturedRect(Texture*, const FloatRect& srcRect, const FloatRect& dstRect, ColorSpace, CompositeOperator);
92 void drawTexturedRect(Texture*, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha, ColorSpace, CompositeOperator, bool clip);
105 void drawTexturedRectTile(Texture* texture, int tile, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha);
106 void drawTexturedQuad(const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha);
107 void drawTexturedQuadMitchell(const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha);
108 void convolveRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, float imageIncrement[2], const float* kernel, int kernelWidth);
GLES2Canvas.cpp 395 void GLES2Canvas::drawTexturedRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, ColorSpace colorSpace, CompositeOperator compositeOp)
405 drawTexturedQuad(textureSize, srcRect, dstRect, m_state->m_ctm, m_state->m_alpha);
408 void GLES2Canvas::drawTexturedRect(Texture* texture, const FloatRect& srcRect, const FloatRect& dstRect, ColorSpace colorSpace, CompositeOperator compositeOp)
410 drawTexturedRect(texture, srcRect, dstRect, m_state->m_ctm, m_state->m_alpha, colorSpace, compositeOp, m_state->clippingEnabled());
414 void GLES2Canvas::drawTexturedRect(Texture* texture, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha, ColorSpace colorSpace, CompositeOperator compositeOp, bool clip)
426 drawTexturedRectTile(texture, tiles.tileIndex(x, y), srcRect, dstRect, transform, alpha);
430 void GLES2Canvas::drawTexturedRectTile(Texture* texture, int tile, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha)
432 if (dstRect.isEmpty())
441 tiles.intersectDrawQuad(srcRect, dstRect, tile, &srcRectClippedInTileSpace, &dstRectIntersected);
448 void GLES2Canvas::convolveRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, float imageIncrement[2], const float* kernel, int kernelWidth
    [all...]
  /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/webkit/Source/WebCore/platform/graphics/wx/
ImageWx.cpp 180 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& srcRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace, CompositeOperator, const FloatRect& dstRect)
196 ctxt->clip(IntRect(dstRect.x(), dstRect.y(), dstRect.width(), dstRect.height()));
218 while ( currentW < dstRect.width() && currentW < clientSize.x - origin.x ) {
219 while ( currentH < dstRect.height() && currentH < clientSize.y - origin.y) {
227 context->Blit((wxCoord)dstRect.x() + currentW, (wxCoord)dstRect.y() + currentH,
  /external/webkit/Source/WebCore/platform/graphics/wince/
ImageWinCE.cpp 91 void BitmapImage::drawFrameMatchingSourceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator compositeOp)
101 draw(ctxt, dstRect, FloatRect(0, 0, srcSize.width(), srcSize.height()), styleColorSpace, compositeOp);
108 draw(ctxt, dstRect, FloatRect(0, 0, imageSize.width(), imageSize.height()), styleColorSpace, compositeOp);
111 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRectIn, ColorSpace styleColorSpace, CompositeOperator compositeOp)
117 fillWithSolidColor(ctxt, dstRect, solidColor(), styleColorSpace, compositeOp);
130 bmp->draw(ctxt, enclosingIntRect(dstRect), intSrcRect, styleColorSpace, compositeOp);
  /external/webkit/Source/WebCore/platform/graphics/gpu/
TilingData.cpp 205 void TilingData::intersectDrawQuad(const FloatRect& srcRect, const FloatRect& dstRect, int tile,
229 srcRectIntersectedNormX * dstRect.width() + dstRect.x(),
230 srcRectIntersectedNormY * dstRect.height() + dstRect.y(),
231 srcRectIntersectedNormW * dstRect.width(),
232 srcRectIntersectedNormH * dstRect.height());
  /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 4364 milliseconds

1 2 3 4