Home | History | Annotate | Download | only in pdf

Lines Matching refs:ctm

106                         const SkMatrix& ctm,
111 draw.fMatrix = &ctm;
125 // switch to device space, where CTM = I, while keeping the original behavior.
127 // I * LocalMatrix * NewWrappingMatrix = CTM * LocalMatrix
128 // LocalMatrix * NewWrappingMatrix = CTM * LocalMatrix
129 // InvLocalMatrix * LocalMatrix * NewWrappingMatrix = InvLocalMatrix * CTM * LocalMatrix
130 // NewWrappingMatrix = InvLocalMatrix * CTM * LocalMatrix
132 static void transform_shader(SkPaint* paint, const SkMatrix& ctm) {
136 SkMatrix m = SkMatrix::Concat(SkMatrix::Concat(lmInv, ctm), lm);
477 : ScopedContentEntry(dev, dev->cs(), dev->ctm(), paint, hasText) {}
577 this->ctm().mapXY(rect.x(), rect.y(), &transformedPoint);
585 path.transform(this->ctm(), &path);
607 SkMatrix ctm = this->ctm();
608 if (ctm.getType() & SkMatrix::kPerspective_Mask) {
610 transform_shader(&newPaint, ctm);
612 ctm = SkMatrix::I();
614 ScopedContentEntry content(this, this->cs(), ctm, newPaint);
657 this->devClipBounds(), this->ctm(), this);
812 this->cs(), this->ctm(), origPath, srcPaint, prePathMatrix, pathIsMutable);
816 const SkMatrix& ctm,
829 path.transform(ctm, &path);
844 if (!as_MFB(paint->getMaskFilter())->filterMask(&dstMask, sourceMask, ctm, &margin)) {
856 if (!ctm.isIdentity() && paint->getShader()) {
857 transform_shader(paint.writable(), ctm); // Since we are using identity matrix.
888 const SkMatrix& ctm,
900 this->internalDrawPathWithFilter(clipStack, ctm, origPath, paint, prePathMatrix);
904 SkMatrix matrix = ctm;
976 src, dst, paint, this->ctm());
985 this->internalDrawImageRect(SkKeyedImage(bm), src, dst, paint, this->ctm());
991 this->internalDrawImageRect(SkKeyedImage(bm), nullptr, r, paint, this->ctm());
1004 nullptr, r, paint, this->ctm());
1328 SkPoint xy, const SkMatrix& ctm) {
1335 ctm.mapRect(&glyphBounds); // now in dev space.
1587 xy + offset, this->ctm());
1836 SkMatrix totalMatrix = this->ctm();
2286 const SkMatrix& ctm) {
2354 canvas.concat(ctm);
2360 canvas.concat(ctm);
2368 if (!ctm.isIdentity() && paint.getShader()) {
2369 transform_shader(&paint, ctm); // Since we are using identity matrix.
2385 this->internalDrawPath(this->cs(), this->ctm(), path, paint, nullptr, true);
2388 transform.postConcat(ctm);
2394 this->cs().clipRect(dst, ctm, SkClipOp::kIntersect, true);
2543 SkMatrix matrix = this->ctm();