Home
last modified time | relevance | path

Searched refs:postTranslate (Results 1 – 25 of 216) sorted by relevance

123456789

/third_party/skia/src/core/
DSkDrawLooper.cpp20 ctm->postTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
28 canvas->setMatrix(canvas->getLocalToDevice().postTranslate(fTranslate.fX, fTranslate.fY)); in applyToCanvas()
99 canvas->setMatrix(canvas->getLocalToDevice().postTranslate(info.fTranslate.fX, in apply()
DSkGlyphBuffer.cpp55 matrix.postTranslate(halfSampleFreq.x(), halfSampleFreq.y()); in startBitmapDevice()
82 device.postTranslate(halfSampleFreq.x(), halfSampleFreq.y()); in startGPUDevice()
/third_party/flutter/skia/src/core/
DSkDrawLooper.cpp17 ctm->postTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
26 ctm.postTranslate(fTranslate.fX, fTranslate.fY); in applyToCanvas()
99 ctm.postTranslate(info.fTranslate.fX, info.fTranslate.fY); in apply()
/third_party/skia/src/gpu/
DGrSWMaskHelper.cpp52 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRRect()
79 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
98 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
/third_party/skia/gm/
Ddrawable.cpp47 m.postTranslate(70, 0);
50 m.postTranslate(0, 150);
Ddrawimageset.cpp120 matrices[0].postTranslate(d / 3, 0); in onDraw()
129 matrices[1].postTranslate(d, 50.f); in onDraw()
134 matrices[2].postTranslate(d, 2.6f * d); in onDraw()
141 matrices[3].postTranslate(100.f, d); in onDraw()
231 matrices[3].postTranslate(kW, kH); in onDraw()
234 matrices[4].postTranslate(0, kH); in onDraw()
Dpicture.cpp76 matrix.postTranslate(110, 0); in onDraw()
80 matrix.postTranslate(110, 0); in onDraw()
Dscaledemoji.cpp189 perspective.postTranslate(-600, -600); in onDraw()
192 perspective.postTranslate(600, 600); in onDraw()
/third_party/flutter/skia/gm/
Ddrawable.cpp47 m.postTranslate(70, 0);
50 m.postTranslate(0, 150);
Ddrawimageset.cpp120 matrices[0].postTranslate(d / 3, 0); in onDraw()
129 matrices[1].postTranslate(d, 50.f); in onDraw()
134 matrices[2].postTranslate(d, 2.6f * d); in onDraw()
141 matrices[3].postTranslate(100.f, d); in onDraw()
225 matrices[3].postTranslate(kW, kH); in onDraw()
228 matrices[4].postTranslate(0, kH); in onDraw()
Dpicture.cpp79 matrix.postTranslate(110, 0); in onDraw()
83 matrix.postTranslate(110, 0); in onDraw()
Dpostercircle.cpp126 model.postTranslate(0.f, ringY, 0.f); // *after* rotation in onDraw()
128 model.postTranslate(0.5f * kStageWidth, 0.5f * kStageHeight + 25, 0.f); in onDraw()
/third_party/skia/tools/viewer/
DTouchGesture.cpp199 fLocalM.postTranslate(lastX, lastY); in updateZoom()
362 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans()
363 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans()
364 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans()
365 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
/third_party/flutter/skia/tools/viewer/
DTouchGesture.cpp254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
365 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans()
366 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans()
367 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans()
368 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
/third_party/flutter/skia/src/gpu/
DGrSWMaskHelper.cpp46 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
63 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_surface_gl.cc132 matrix.postTranslate(0, -y); in GLContextSurfaceTransformation()
134 matrix.postTranslate(0, y); in GLContextSurfaceTransformation()
/third_party/skia/src/pdf/
DSkPDFShader.cpp177 leftMatrix.postTranslate(0, 2 * height); in make_image_shader()
193 rightMatrix.postTranslate(0, 2 * height); in make_image_shader()
220 topMatrix.postTranslate(2 * width, 0); in make_image_shader()
236 bottomMatrix.postTranslate(2 * width, 0); in make_image_shader()
/third_party/flutter/skia/src/pdf/
DSkPDFShader.cpp176 leftMatrix.postTranslate(0, 2 * height); in make_image_shader()
192 rightMatrix.postTranslate(0, 2 * height); in make_image_shader()
219 topMatrix.postTranslate(2 * width, 0); in make_image_shader()
235 bottomMatrix.postTranslate(2 * width, 0); in make_image_shader()
/third_party/flutter/skia/docs/examples/
DImage_makeShader_2.cpp9 matrix.postTranslate(125, 30); in draw()
DMatrix_setScale_2.cpp16 m.postTranslate(128, 64);
DMatrix_setSkew_2.cpp16 m.postTranslate(96 + 64 * sx, 128 + 48 * sy);
/third_party/skia/docs/examples/
DImage_makeShader_2.cpp9 matrix.postTranslate(125, 30); in draw()
DMatrix_setScale_2.cpp16 m.postTranslate(128, 64);
DMatrix_setSkew_2.cpp16 m.postTranslate(96 + 64 * sx, 128 + 48 * sy);
/third_party/skia/samplecode/
DSampleLayers.cpp78 m.postTranslate(0, SkIntToScalar(100)); in test_fade()
196 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()

123456789