Lines Matching full:matrix
79 void SkLayer::setMatrix(const SkMatrix& matrix) {
80 fMatrix = matrix;
83 void SkLayer::setChildrenMatrix(const SkMatrix& matrix) {
84 fChildrenMatrix = matrix;
143 void SkLayer::getLocalTransform(SkMatrix* matrix) const {
144 matrix->setTranslate(m_position.fX, m_position.fY);
148 matrix->preTranslate(tx, ty);
149 matrix->preConcat(this->getMatrix());
150 matrix->preTranslate(-tx, -ty);
153 void SkLayer::localToGlobal(SkMatrix* matrix) const {
154 this->getLocalTransform(matrix);
157 matrix->postConcat(this->getRootLayer()->getMatrix());
168 matrix->postConcat(tmp);
185 SkDebugf("--- drawlayer %p opacity %g size [%g %g] pos [%g %g] matrix %s children %s\n",