OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dstRect
(Results
1 - 8
of
8
) sorted by null
/external/skia/gm/
nocolorbleed.cpp
45
SkRect
dstRect
;
50
dstRect
.setXYWH(SkIntToScalar(0), SkIntToScalar(0)
52
canvas->drawBitmapRect(sprite, &srcRect,
dstRect
, &paint);
53
dstRect
.setXYWH(SkIntToScalar(100), SkIntToScalar(0)
55
canvas->drawBitmapRect(sprite, &srcRect,
dstRect
);
58
dstRect
.setXYWH(SkIntToScalar(25), SkIntToScalar(125)
60
canvas->drawBitmapRect(sprite, &srcRect,
dstRect
, &paint);
61
dstRect
.setXYWH(SkIntToScalar(125), SkIntToScalar(125)
63
canvas->drawBitmapRect(sprite, &srcRect,
dstRect
);
/external/skia/samplecode/
SampleTextureDomain.cpp
42
SkRect
dstRect
;
49
dstRect
.setXYWH(5.0f, 5.0f, 305.0f, 305.0f);
50
canvas->drawBitmapRect(fBM, &srcRect,
dstRect
, &paint);
63
dstRect
.setXYWH(1.0f, 1.0f, 3.0f, 3.0f);
64
secondCanvas.drawBitmapRect(fBM, &srcRect,
dstRect
, &paint);
69
dstRect
.setXYWH(405.0f, 5.0f, 305.0f, 305.0f);
70
canvas->drawBitmapRect(deviceBitmap, &srcRect,
dstRect
, &paint);
/external/webkit/Source/WebCore/platform/graphics/gpu/
Texture.cpp
178
IntRect
dstRect
= updateRectIntersected;
179
dstRect
.move(-tileBoundsWithBorder.x(), -tileBoundsWithBorder.y());
198
dstRect
.x(),
199
dstRect
.y(),
/packages/apps/Gallery/src/com/android/camera/
GridViewSpecial.java
[
all
...]
CropImage.java
235
Rect
dstRect
= new Rect(0, 0, mOutputX, mOutputY);
237
int dx = (srcRect.width() -
dstRect
.width()) / 2;
238
int dy = (srcRect.height() -
dstRect
.height()) / 2;
243
// If the
dstRect
is too big, use the center part of it.
244
dstRect
.inset(Math.max(0, -dx), Math.max(0, -dy));
247
canvas.drawBitmap(mBitmap, srcRect,
dstRect
, null);
266
Rect
dstRect
= new Rect(0, 0, width, height);
267
canvas.drawBitmap(mBitmap, r,
dstRect
, null);
/external/webkit/Source/WebCore/platform/graphics/chromium/
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/skia/gpu/src/
GrContext.cpp
643
GrRect
dstRect
;
645
dstRect
.set(boundRect);
646
target->drawSimpleRect(
dstRect
, NULL, stages);
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/wince/
GraphicsContextWinCE.cpp
604
HDC GraphicsContext::getWindowsContext(const IntRect&
dstRect
, bool supportAlphaBlend, bool mayCreateBitmap)
611
void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect&
dstRect
, bool supportAlphaBlend, bool mayCreateBitmap)
[
all
...]
Completed in 107 milliseconds