/third_party/skia/src/core/ |
D | SkDrawLooper.cpp | 20 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()
|
/third_party/flutter/skia/src/core/ |
D | SkDrawLooper.cpp | 17 ctm->postTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM() 19 ctm->preTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM() 26 ctm.postTranslate(fTranslate.fX, fTranslate.fY); in applyToCanvas() 29 canvas->translate(fTranslate.fX, fTranslate.fY); in applyToCanvas() 68 r.offset(info.fTranslate.fX, info.fTranslate.fY); in computeFastBounds() 99 ctm.postTranslate(info.fTranslate.fX, info.fTranslate.fY); in apply() 102 canvas->translate(info.fTranslate.fX, info.fTranslate.fY); in apply()
|
/third_party/flutter/skia/tests/ |
D | LayerDrawLooperTest.cpp | 67 REPORTER_ASSERT(reporter, 10.0f == info.fTranslate.fX); in test_frontToBack() 68 REPORTER_ASSERT(reporter, 20.0f == info.fTranslate.fY); in test_frontToBack() 74 REPORTER_ASSERT(reporter, 0.0f == info.fTranslate.fX); in test_frontToBack() 75 REPORTER_ASSERT(reporter, 0.0f == info.fTranslate.fY); in test_frontToBack() 103 REPORTER_ASSERT(reporter, 0.0f == info.fTranslate.fX); in test_backToFront() 104 REPORTER_ASSERT(reporter, 0.0f == info.fTranslate.fY); in test_backToFront() 110 REPORTER_ASSERT(reporter, 10.0f == info.fTranslate.fX); in test_backToFront() 111 REPORTER_ASSERT(reporter, 20.0f == info.fTranslate.fY); in test_backToFront() 139 REPORTER_ASSERT(reporter, 0.0f == info.fTranslate.fX); in test_mixed() 140 REPORTER_ASSERT(reporter, 0.0f == info.fTranslate.fY); in test_mixed() [all …]
|
/third_party/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 52 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() 133 fTranslate = {-SkIntToScalar(resultBounds.fLeft), -SkIntToScalar(resultBounds.fTop)}; in init()
|
D | GrSWMaskHelper.h | 71 SkVector fTranslate;
|
/third_party/skia/gm/ |
D | animated_image_orientation.cpp | 45 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()
|
/third_party/flutter/skia/samplecode/ |
D | SampleGlyphTransform.cpp | 47 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline); in onDrawContent() 61 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate() 74 SkVector fTranslate; member in GlyphTransformView
|
D | SampleChineseFling.cpp | 115 SkScalar fTranslate = 0; member in ChineseZoomView 163 canvas->translate(0, fTranslate); in onDrawContent() 164 fTranslate -= 0.5f; in onDrawContent()
|
/third_party/skia/samplecode/ |
D | SampleGlyphTransform.cpp | 47 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline); in onDrawContent() 61 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate() 74 SkVector fTranslate; member in GlyphTransformView
|
D | SampleChineseFling.cpp | 115 SkScalar fTranslate = 0; member in ChineseZoomView 167 canvas->translate(0, fTranslate); in onDrawContent() 168 fTranslate -= 0.5f; in onDrawContent()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 46 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect() 63 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape() 80 fTranslate = {-SkIntToScalar(resultBounds.fLeft), -SkIntToScalar(resultBounds.fTop)}; in init()
|
D | GrSWMaskHelper.h | 62 SkVector fTranslate;
|
/third_party/skia/tests/graphite/ |
D | CommandBufferTest.cpp | 74 SkPoint fTranslate; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() member 94 uniforms->fTranslate = SkPoint({-0.9, -0.9}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 134 uniforms->fTranslate = SkPoint({-1, -1}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/flutter/skia/src/utils/ |
D | SkShadowUtils.cpp | 318 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()
|
/third_party/skia/src/utils/ |
D | SkShadowUtils.cpp | 361 SkVector fTranslate = {0, 0}; member 380 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor() 487 &context.fTranslate); in draw_shadow() 496 &context.fTranslate); in draw_shadow() 511 context.fTranslate.fX, context.fTranslate.fY, path.viewMatrix().hasPerspective()); in draw_shadow()
|
/third_party/flutter/skia/include/core/ |
D | SkDrawLooper.h | 46 SkVector fTranslate; member
|
/third_party/skia/include/core/ |
D | SkDrawLooper.h | 46 SkVector fTranslate; member
|
/third_party/flutter/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 143 info->fTranslate = fCurrRec->fInfo.fOffset; in next()
|
/third_party/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 146 info->fTranslate = fCurrRec->fInfo.fOffset; in next()
|