Home
last modified time | relevance | path

Searched refs:makeOffset (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/core/
DSkTextBlob.cpp381 return bounds.makeOffset(run.offset().x(), run.offset().y()); in TightRunBounds()
405 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY)); in TightRunBounds()
412 return bounds.makeOffset(run.offset().x(), run.offset().y()); in TightRunBounds()
463 return bounds.makeOffset(run.offset().x(), run.offset().y()); in ConservativeRunBounds()
DSkRemote.cpp284 dst = src.makeOffset(left, top); in onDrawBitmap()
305 dst = src.makeOffset(left, top); in onDrawImage()
DSkDevice.cpp415 const SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-x, -y); in drawBitmapAsSprite()
DSkCanvas.cpp1400 SkIRect clipBounds = iter.fClip->getBounds().makeOffset(-pos.x(), -pos.y()); in internalDrawDevice()
2580 storage = blob->bounds().makeOffset(x, y); in onDrawTextBlob()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp159 SkIRect bounds = background.bounds().makeOffset(backgroundOffset.x(), backgroundOffset.y()); in filterImageGPUDeprecated()
160 bounds.join(foreground.bounds().makeOffset(foregroundOffset.x(), foregroundOffset.y())); in filterImageGPUDeprecated()
DSkLightingImageFilter.cpp388 SkRect srcRect = dstRect.makeOffset(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y())); in drawRect()
/external/skia/gm/
Dshowmiplevels.cpp137 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
249 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
Dninepatchstretch.cpp103 canvas->drawImageNine(fImage, fCenter, r.makeOffset(360, 0), &paint); in onDraw()
Dimagefilters.cpp124 SkRRect rr = SkRRect::MakeRectXY(r.makeOffset(dx, dy), 20, 20); in draw_set()
/external/skia/samplecode/
DSampleShip.cpp41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
DSampleAtlas.cpp36 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
DSamplePathClip.cpp41 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
/external/skia/include/core/
DSkRect.h165 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() function
613 SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() function
/external/skia/src/gpu/
DSkGpuDevice.cpp1231 SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-left, -top); in drawSprite()
1391 SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-x, -y); in drawDevice()
/external/skia/src/pdf/
DSkPDFDevice.cpp1448 link->rect.makeOffset(scalarX, scalarY), link->data)); in drawDevice()
1452 link->rect.makeOffset(scalarX, scalarY), link->data)); in drawDevice()
/external/skia/tools/debugger/
DSkDrawCommand.cpp2509 SkRect bounds = fBlob->bounds().makeOffset(fXPos, fYPos); in render()