Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleGlyphTransform.cpp53 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline); in onDrawContent()
67 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate()
80 SkVector fTranslate; member in GlyphTransformView
DSampleChineseFling.cpp123 ChineseZoomView() : fBlobs(kNumBlobs), fScale(15.0f), fTranslate(0.0f) {} in ChineseZoomView()
184 canvas->translate(0, fTranslate); in onDrawContent()
185 fTranslate -= 0.5f; in onDrawContent()
244 SkScalar fTranslate; member in ChineseZoomView
/external/skia/samplecode/
DSampleGlyphTransform.cpp53 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline); in onDrawContent()
67 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate()
80 SkVector fTranslate; member in GlyphTransformView
DSampleChineseFling.cpp123 ChineseZoomView() : fBlobs(kNumBlobs), fScale(15.0f), fTranslate(0.0f) {} in ChineseZoomView()
184 canvas->translate(0, fTranslate); in onDrawContent()
185 fTranslate -= 0.5f; in onDrawContent()
244 SkScalar fTranslate; member in ChineseZoomView
/external/skqp/src/gpu/
DGrSWMaskHelper.cpp45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
79 fTranslate = {-SkIntToScalar(resultBounds.fLeft), -SkIntToScalar(resultBounds.fTop)}; in init()
DGrSWMaskHelper.h61 SkVector fTranslate;
/external/skia/src/gpu/
DGrSWMaskHelper.cpp45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
79 fTranslate = {-SkIntToScalar(resultBounds.fLeft), -SkIntToScalar(resultBounds.fTop)}; in init()
DGrSWMaskHelper.h62 SkVector fTranslate;
/external/skia/src/core/
DSkFindAndPlaceGlyph.h152 : fTranslate(matrix.mapXY(origin.fX, origin.fY)) { } in TranslationMapper()
155 return position + fTranslate; in map()
159 const SkPoint fTranslate;
165 : fTranslate(matrix.mapXY(origin.fX, origin.fY)), fXScale(matrix.getScaleX()) { } in XScaleMapper()
168 return {fXScale * position.fX + fTranslate.fX, fTranslate.fY}; in map()
172 const SkPoint fTranslate;
/external/skqp/src/core/
DSkFindAndPlaceGlyph.h152 : fTranslate(matrix.mapXY(origin.fX, origin.fY)) { } in TranslationMapper()
155 return position + fTranslate; in map()
159 const SkPoint fTranslate;
165 : fTranslate(matrix.mapXY(origin.fX, origin.fY)), fXScale(matrix.getScaleX()) { } in XScaleMapper()
168 return {fXScale * position.fX + fTranslate.fX, fTranslate.fY}; in map()
172 const SkPoint fTranslate;
/external/skia/src/utils/
DSkShadowUtils.cpp318 SkVector fTranslate = {0, 0}; member
337 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor()
444 &context.fTranslate); in draw_shadow()
453 &context.fTranslate); in draw_shadow()
468 context.fTranslate.fX, context.fTranslate.fY, path.viewMatrix().hasPerspective()); in draw_shadow()
/external/skqp/src/utils/
DSkShadowUtils.cpp317 SkVector fTranslate = {0, 0}; member
336 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor()
418 &context.fTranslate); in draw_shadow()
426 &context.fTranslate); in draw_shadow()
441 context.fTranslate.fX, context.fTranslate.fY); in draw_shadow()