Lines Matching defs:matrix
161 // A shader's matrix is: CTMM x LocalMatrix x WrappingLocalMatrix. We want to
232 const SkMatrix& matrix,
239 if (matrix.hasPerspective()) {
240 NOT_IMPLEMENTED(!matrix.hasPerspective(), false);
245 fDevice->setUpContentEntry(clipStack, matrix, paint, textScale, &fDstFormXObject);
528 transform_shader(paint.writable(), ctm); // Since we are using identity matrix.
574 SkMatrix matrix = ctm;
599 if (matrix.getType() & SkMatrix::kPerspective_Mask) {
605 pathPtr->transform(matrix);
607 transform_shader(paint.writable(), matrix);
609 matrix = SkMatrix::I();
612 ScopedContentEntry content(this, &clipStack, matrix, *paint);
617 SkScalar matrixScale = matrix.mapRadius(1.0f);
1141 const SkMatrix& matrix,
1154 entry->fMatrix = matrix;
1180 SkMatrix transform = matrix;
1218 const SkMatrix& matrix,
1264 matrix,
1544 transform_shader(paint.writable(), ctm); // Since we are using identity matrix.
1576 SkMatrix matrix = transform;
1626 // In the new space, we use the identity matrix translated
1628 matrix.setScale(1 / scaleX, 1 / scaleY);
1629 matrix.postTranslate(deltaX, deltaY);
1645 scaled.postConcat(matrix);
1651 SkPath shape = SkPath::Rect(SkRect::Make(subset)).makeTransform(matrix);
1706 SkMatrix matrix = device->getRelativeTransform(*this);
1707 ScopedContentEntry content(this, &this->cs(), matrix, paint);
1713 shape.transform(matrix);