Home
last modified time | relevance | path

Searched refs:fTranslate (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkDrawLooper.cpp20 ctm->postTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
22 ctm->preTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
28 canvas->setMatrix(canvas->getLocalToDevice().postTranslate(fTranslate.fX, fTranslate.fY)); in applyToCanvas()
30 canvas->translate(fTranslate.fX, fTranslate.fY); in applyToCanvas()
69 r.offset(info.fTranslate.fX, info.fTranslate.fY); in computeFastBounds()
99 canvas->setMatrix(canvas->getLocalToDevice().postTranslate(info.fTranslate.fX, in apply()
100 info.fTranslate.fY)); in apply()
102 canvas->translate(info.fTranslate.fX, info.fTranslate.fY); in apply()
/external/skia/src/gpu/ganesh/
DGrSWMaskHelper.cpp53 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
63 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRRect()
80 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
99 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
134 fTranslate = {-SkIntToScalar(resultBounds.fLeft), -SkIntToScalar(resultBounds.fTop)}; in init()
DGrSWMaskHelper.h71 SkVector fTranslate;
/external/skia/gm/
Danimated_image_orientation.cpp45 int fTranslate; member in AnimatedImageGM
56 fTranslate = std::max(dimensions.width(), dimensions.height()) // may be rotated in init()
60 fSize = { fTranslate * kMaxFrames in init()
63 fTranslate * 4 // 4 scales in init()
74 , fTranslate(0)
140 canvas->translate(fTranslate, 0); in onDraw()
152 canvas->translate(0, fTranslate); in onDraw()
/external/skia/tools/viewer/
DGlyphTransformSlide.cpp46 ctm.postTranslate(fTranslate.fX + fSize.width() * 0.8, fTranslate.fY + baseline); in draw()
60 fTranslate.set(sin(t / 3000) - t * fSize.width() * 0.7 / maxt, sin(t / 999) / t); in animate()
73 SkVector fTranslate; member in GlyphTransformView
DChineseFlingSlide.cpp117 SkScalar fTranslate = 0; member in ChineseZoomSlide
167 canvas->translate(0, fTranslate); in draw()
168 fTranslate -= 0.5f; in draw()
/external/skia/src/utils/
DSkShadowUtils.cpp316 SkVector fTranslate = {0, 0}; member
335 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor()
442 &context.fTranslate); in draw_shadow()
451 &context.fTranslate); in draw_shadow()
466 context.fTranslate.fX, context.fTranslate.fY, path.viewMatrix().hasPerspective()); in draw_shadow()
/external/skia/src/gpu/graphite/
DKeyHelpers.h216 , fTranslate{matrix[4], matrix[9], matrix[14], matrix[19]} in MatrixColorFilterData()
221 SkV4 fTranslate; member
DKeyHelpers.cpp462 gatherer->write(data.fTranslate); in add_matrix_colorfilter_uniform_data()
/external/skia/include/core/
DSkDrawLooper.h46 SkVector fTranslate; member
/external/skia/src/effects/
DSkLayerDrawLooper.cpp147 info->fTranslate = fCurrRec->fInfo.fOffset; in next()