Lines Matching refs:this

4  * Use of this source code is governed by a BSD-style license that can be
18 // Remove when clients are updated to live without this
25 * perspective clipping, but this can be changed by specifying kYes to those methods.
201 fTypeMask = this->computeTypeMask();
216 return this->getType() == 0;
229 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask));
240 bool isTranslate() const { return !(this->getType() & ~(kTranslate_Mask)); }
265 fTypeMask = this->computeTypeMask();
291 bool preservesAxisAlignment() const { return this->rectStaysRect(); }
305 return SkToBool(this->getPerspectiveTypeMaskOnly() &
315 visually alike; a transformed circle remains a circle. Mathematically, this is
470 this->setTypeMask(kUnknown_Mask);
484 this->setTypeMask(kUnknown_Mask);
485 return *this;
492 SkMatrix& setScaleX(SkScalar v) { return this->set(kMScaleX, v); }
498 SkMatrix& setScaleY(SkScalar v) { return this->set(kMScaleY, v); }
504 SkMatrix& setSkewY(SkScalar v) { return this->set(kMSkewY, v); }
510 SkMatrix& setSkewX(SkScalar v) { return this->set(kMSkewX, v); }
516 SkMatrix& setTranslateX(SkScalar v) { return this->set(kMTransX, v); }
522 SkMatrix& setTranslateY(SkScalar v) { return this->set(kMTransY, v); }
529 SkMatrix& setPerspX(SkScalar v) { return this->set(kMPersp0, v); }
536 SkMatrix& setPerspY(SkScalar v) { return this->set(kMPersp1, v); }
566 this->setTypeMask(kUnknown_Mask);
567 return *this;
618 SkMatrix& setIdentity() { return this->reset(); }
631 SkMatrix& setTranslate(const SkVector& v) { return this->setTranslate(v.fX, v.fY); }
722 /** Sets SkMatrix to SkMatrix a multiplied by SkMatrix b. Either a or b may be this.
1200 if (this->isIdentity()) {
1206 return this->invertNonIdentity(inverse);
1264 this->doNormalizePerspective();
1322 this->mapPoints(pts, pts, count);
1368 this->mapXY(pt.x(), pt.y(), &result);
1410 this->mapXY(x,y, &result);
1430 SkScalar x = this->getTranslateX(),
1431 y = this->getTranslateY();
1432 if (this->hasPerspective()) {
1496 this->mapVectors(vecs, vecs, count);
1518 this->mapVectors(result, &vec, 1);
1540 this->mapVectors(&vec, &vec, 1);
1569 return this->mapRect(rect, *rect, pc);
1580 (void)this->mapRect(&dst, src, pc);
1585 rect corner by SkMatrix. rect corner is processed in this order:
1609 Note: this does not perform perspective clipping (as that might result in more than
1615 this->mapPoints(dst, 4);
1788 this->setTypeMask(kUnknown_Mask);
1822 this->setTypeMask(mask | kRectStaysRect_Mask);
1897 fTypeMask = this->computePerspectiveTypeMask();
1929 return GetMapXYProc(this->getType());
1941 return GetMapPtsProc(this->getType());