Searched refs:makeOffset (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/core/ |
D | SkTextBlob.cpp | 381 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()
|
D | SkRemote.cpp | 284 dst = src.makeOffset(left, top); in onDrawBitmap() 305 dst = src.makeOffset(left, top); in onDrawImage()
|
D | SkDevice.cpp | 415 const SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-x, -y); in drawBitmapAsSprite()
|
D | SkCanvas.cpp | 1400 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/ |
D | SkXfermodeImageFilter.cpp | 159 SkIRect bounds = background.bounds().makeOffset(backgroundOffset.x(), backgroundOffset.y()); in filterImageGPUDeprecated() 160 bounds.join(foreground.bounds().makeOffset(foregroundOffset.x(), foregroundOffset.y())); in filterImageGPUDeprecated()
|
D | SkLightingImageFilter.cpp | 388 SkRect srcRect = dstRect.makeOffset(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y())); in drawRect()
|
/external/skia/gm/ |
D | showmiplevels.cpp | 137 …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()
|
D | ninepatchstretch.cpp | 103 canvas->drawImageNine(fImage, fCenter, r.makeOffset(360, 0), &paint); in onDraw()
|
D | imagefilters.cpp | 124 SkRRect rr = SkRRect::MakeRectXY(r.makeOffset(dx, dy), 20, 20); in draw_set()
|
/external/skia/samplecode/ |
D | SampleShip.cpp | 41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
|
D | SampleAtlas.cpp | 36 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
|
D | SamplePathClip.cpp | 41 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
|
/external/skia/include/core/ |
D | SkRect.h | 165 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/ |
D | SkGpuDevice.cpp | 1231 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/ |
D | SkPDFDevice.cpp | 1448 link->rect.makeOffset(scalarX, scalarY), link->data)); in drawDevice() 1452 link->rect.makeOffset(scalarX, scalarY), link->data)); in drawDevice()
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 2509 SkRect bounds = fBlob->bounds().makeOffset(fXPos, fYPos); in render()
|