Searched refs:kTranslate_Mask (Results 1 – 21 of 21) sorted by relevance
185 kTranslate_Mask = 0x01, //!< translation SkMatrix enumerator229 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()240 bool isTranslate() const { return !(this->getType() & ~(kTranslate_Mask)); } in isTranslate()1820 mask |= kTranslate_Mask; in setScaleTranslate()1848 static constexpr int kORableMasks = kTranslate_Mask |1853 static constexpr int kAllMasks = kTranslate_Mask |1914 fTypeMask |= kTranslate_Mask; in updateTranslateMask()1916 fTypeMask &= ~kTranslate_Mask; in updateTranslateMask()
21 SkASSERT(tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in map_rect_translate_scale()26 if (tm <= SkMatrix::kTranslate_Mask) { in map_rect_translate_scale()105 if (tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in MakeFromRect()
49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()94 if (SkMatrix::kTranslate_Mask == tm) { in MapPointsWithStride()
121 mask |= kTranslate_Mask; in computeTypeMask()197 if (mask <= kTranslate_Mask) { in isSimilarity()226 if (mask <= kTranslate_Mask) { in preservesRightAngles()272 (dx != 0 || dy != 0) ? kTranslate_Mask | kRectStaysRect_Mask in setTranslate()280 if (mask <= kTranslate_Mask) { in preTranslate()827 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity()905 SkASSERT(m.getType() <= SkMatrix::kTranslate_Mask); in Trans_pts()933 SkASSERT(m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in Scale_pts()1122 tmp.clearTypeMask(kTranslate_Mask); in mapVectors()1152 if (this->getType() <= kTranslate_Mask) { in mapRect()[all …]
145 if (mt == SkMatrix::kTranslate_Mask) { in append_matrix()150 } else if ((mt | (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) == in append_matrix()151 (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in append_matrix()
149 return (m.getType() & ~SkMatrix::kTranslate_Mask) == SkMatrix::kScale_Mask; in matrix_only_scale_translate()172 return m.getType() <= SkMatrix::kTranslate_Mask in just_trans_integral()269 bool translate_only = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
122 bool isNonTranslate = localToDevice.getType() & ~(SkMatrix::kTranslate_Mask); in drawRegion()
422 return m.getType() <= SkMatrix::kTranslate_Mask; in CanApplyDstMatrixAsCTM()
204 SkASSERT(SkMatrix::kTranslate_Mask == m.getType()); in recordTranslate()
10 typeMask += SkMatrix::kTranslate_Mask & matrix.getType() ? "kTranslate_Mask " : ""; in draw()
29 if (mask & SkMatrix::kTranslate_Mask) { in rand_matrix()62 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); in test_treatAsSprite()
142 REPORTER_ASSERT(reporter, SkMatrix::kTranslate_Mask == matrix.getType()); in test_matrix_recttorect()148 (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask) == matrix.getType()); in test_matrix_recttorect()
28 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in BitmapProcShaderContext()
355 matrix.getType() <= SkMatrix::kTranslate_Mask && in tweak_sampling()
103 ~(SkMatrix::kIdentity_Mask | SkMatrix::kTranslate_Mask)); in drawTestCase()
82 SkASSERT(!(m.getType() & ~SkMatrix::kTranslate_Mask));
436 SkASSERT(ctm.getType() <= SkMatrix::kTranslate_Mask); in drawForeground()
128 case SkMatrix::kTranslate_Mask: in svg_transform()
1341 if (!SkToBool(viewMatrix.getType() & ~(SkMatrix::kTranslate_Mask)) && in drawRegion()
1102 case SkMatrix::kTranslate_Mask: in writeMatrixType()
1615 enum TypeMask { kIdentity_Mask = 0, kTranslate_Mask = 0x01, kScale_Mask = 0x02, kAffine_Mask = 0x04…