• Home
  • Raw
  • Download

Lines Matching +full:concat +full:- +full:map

4  * Use of this source code is governed by a BSD-style license that can be
36 class Concat final : public Transform { class
40 Concat(sk_sp<Transform> a, sk_sp<Transform> b) in Concat() function in sksg::__anon52f20d060111::Concat
45 this->observeInval(fA); in Concat()
46 this->observeInval(fB); in Concat()
49 ~Concat() override { in ~Concat()
50 this->unobserveInval(fA); in ~Concat()
51 this->unobserveInval(fB); in ~Concat()
56 fA->revalidate(ic, ctm); in onRevalidate()
57 fB->revalidate(ic, ctm); in onRevalidate()
67 SkASSERT(!this->hasInval()); in asMatrix()
72 SkASSERT(!this->hasInval()); in asM44()
92 this->observeInval(fT); in Inverse()
96 this->unobserveInval(fT); in ~Inverse()
101 fT->revalidate(ic, ctm); in onRevalidate()
113 SkASSERT(!this->hasInval()); in asMatrix()
118 SkASSERT(!this->hasInval()); in asM44()
156 ? sk_sp<Transform>(new Concat<SkM44 >(std::move(a), std::move(b))) in MakeConcat()
157 : sk_sp<Transform>(new Concat<SkMatrix>(std::move(a), std::move(b))); in MakeConcat()
173 this->observeInval(fTransform); in TransformEffect()
177 this->unobserveInval(fTransform); in ~TransformEffect()
182 canvas->concat(TransformPriv::As<SkM44>(fTransform)); in onRender()
184 this->INHERITED::onRender(canvas, ctx); in onRender()
188 const auto p4 = TransformPriv::As<SkM44>(fTransform).map(p.fX, p.fY, 0, 0); in onNodeAt()
190 return this->INHERITED::onNodeAt({p4.x, p4.y}); in onNodeAt()
194 SkASSERT(this->hasInval()); in onRevalidate()
197 fTransform->revalidate(ic, ctm); in onRevalidate()
201 auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, m)); in onRevalidate()