Home | History | Annotate | Download | only in pdf

Lines Matching defs:ctm

106                         const SkMatrix& ctm,
111 draw.fMatrix = &ctm;
127 // switch to device space, where CTM = I, while keeping the original behavior.
129 // I * LocalMatrix * NewWrappingMatrix = CTM * LocalMatrix
130 // LocalMatrix * NewWrappingMatrix = CTM * LocalMatrix
131 // InvLocalMatrix * LocalMatrix * NewWrappingMatrix = InvLocalMatrix * CTM * LocalMatrix
132 // NewWrappingMatrix = InvLocalMatrix * CTM * LocalMatrix
134 static void transform_shader(SkPaint* paint, const SkMatrix& ctm) {
138 SkMatrix m = SkMatrix::Concat(SkMatrix::Concat(lmInv, ctm), lm);
480 : ScopedContentEntry(dev, dev->cs(), dev->ctm(), paint, hasText) {}
581 this->ctm().mapXY(rect.x(), rect.y(), &transformedPoint);
589 path.transform(this->ctm(), &path);
611 SkMatrix ctm = this->ctm();
612 if (ctm.getType() & SkMatrix::kPerspective_Mask) {
614 transform_shader(&newPaint, ctm);
616 ctm = SkMatrix::I();
618 ScopedContentEntry content(this, this->cs(), ctm, newPaint);
661 this->devClipBounds(), this->ctm(), this);
816 this->cs(), this->ctm(), origPath, srcPaint, prePathMatrix, pathIsMutable);
820 const SkMatrix& ctm,
833 path.transform(ctm, &path);
848 if (!paint->getMaskFilter()->filterMask(&dstMask, sourceMask, ctm, &margin)) {
860 if (!ctm.isIdentity() && paint->getShader()) {
861 transform_shader(paint.writable(), ctm); // Since we are using identity matrix.
892 ctm,
904 this->internalDrawPathWithFilter(clipStack, ctm, origPath, paint, prePathMatrix);
908 SkMatrix matrix = ctm;
979 src, dst, paint, this->ctm());
988 this->internalDrawImageRect(SkKeyedImage(bm), src, dst, paint, this->ctm());
994 this->internalDrawImageRect(SkKeyedImage(bm), nullptr, r, paint, this->ctm());
1007 nullptr, r, paint, this->ctm());
1331 SkPoint xy, const SkMatrix& ctm) {
1338 ctm.mapRect(&glyphBounds); // now in dev space.
1590 xy + offset, this->ctm());
1839 SkMatrix totalMatrix = this->ctm();
2288 const SkMatrix& ctm) {
2341 canvas.concat(ctm);
2346 if (!ctm.isIdentity() && paint.getShader()) {
2347 transform_shader(&paint, ctm); // Since we are using identity matrix.
2363 this->internalDrawPath(this->cs(), this->ctm(), path, paint, &transform, true);
2366 transform.postConcat(ctm);
2372 this->cs().clipRect(dst, ctm, SkClipOp::kIntersect, true);
2526 SkMatrix matrix = this->ctm();