Home
last modified time | relevance | path

Searched refs:preTranslate (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/flutter/skia/bench/
DSKPAnimationBench.cpp60 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix()
62 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
DPathTextBench.cpp74 fXforms[i].preTranslate(-scale/2 * bounds.width(), -scale/2 * bounds.height()); in onDelayedSetup()
/third_party/skia/bench/
DSKPAnimationBench.cpp59 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix()
61 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
DGlyphQuadFillBench.cpp52 drawMatrix.preTranslate(drawOrigin.x(), drawOrigin.y()); in onPerCanvasPreDraw()
DPathTextBench.cpp74 fXforms[i].preTranslate(-scale/2 * bounds.width(), -scale/2 * bounds.height()); in onDelayedSetup()
/third_party/skia/gm/
Ddrawquadset.cpp194 rowMatrices[2].preTranslate(15.f, -20.f); in onDraw()
197 rowMatrices[3].preTranslate(-30.f, 0.f); in onDraw()
206 rowMatrices[4].preTranslate(0.f, +10.f); in onDraw()
/third_party/flutter/skia/gm/
Ddrawquadset.cpp190 rowMatrices[2].preTranslate(15.f, -20.f); in onDraw()
193 rowMatrices[3].preTranslate(-30.f, 0.f); in onDraw()
202 rowMatrices[4].preTranslate(0.f, +10.f); in onDraw()
Dpostercircle.cpp125 model.preTranslate(0.f, 0.f, kRingRadius); // *before* rotation in onDraw()
/third_party/skia/src/core/
DSkDraw_atlas.cpp129 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
171 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
203 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
DSkDrawLooper.cpp22 ctm->preTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
DSkGlyphBuffer.cpp53 matrix.preTranslate(origin.x(), origin.y()); in startBitmapDevice()
/third_party/flutter/skia/src/core/
DSkDraw_atlas.cpp74 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
110 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
DSkDrawLooper.cpp19 ctm->preTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
/third_party/skia/samplecode/
DSampleAndroidShadows.cpp278 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
295 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
310 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
/third_party/flutter/skia/samplecode/
DSampleAndroidShadows.cpp279 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
296 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
311 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
/third_party/flutter/skia/tests/
DGrCCPRTest.cpp416 m.preTranslate(-.5,-.5); in onRun()
461 m.preTranslate(-.5,-.5); in onRun()
797 matrices[0].preTranslate(-1, -1); in onRun()
798 matrices[1].preTranslate(1, 1); in onRun()
818 matrices[0].preTranslate(1.6f, 1.4f); in onRun()
834 matrices[1].preTranslate(-1.4f, -1.6f); in onRun()
DMatrix44Test.cpp135 mat.preTranslate(10, 11, 12); in test_translate()
250 matrix.preTranslate(-dx, -dy, -dz); in test_gettype()
366 scaleTranslation.preTranslate(2, 3, 4); in test_invert()
390 affine.preTranslate(2, 3, 4); in test_invert()
414 affineAndPerspective.preTranslate(2, 3, 4); in test_invert()
/third_party/skia/docs/examples/
DCanvas_drawPicture_4.cpp22 matrix.preTranslate(70, 70); in draw()
DCanvas_drawPicture_3.cpp23 matrix.preTranslate(70, 70); in draw()
DMatrix_preTranslate.cpp22 matrix.preTranslate(40, 40); in draw()
Dflag_us_1792.cpp22 matrix.preTranslate(0, -785); in draw()
/third_party/flutter/skia/docs/examples/
DCanvas_drawPicture_4.cpp22 matrix.preTranslate(70, 70); in draw()
DCanvas_drawPicture_3.cpp23 matrix.preTranslate(70, 70); in draw()
DMatrix_preTranslate.cpp22 matrix.preTranslate(40, 40); in draw()
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_external_texture_gl.cc62 transformAroundCenter.preTranslate(-0.5, -0.5); in Paint()

1234