Lines Matching defs:transform
308 SkPDFDevice::SkPDFDevice(SkISize pageSize, SkPDFDocument* doc, const SkMatrix& transform)
311 , fInitialTransform(transform)
334 // to the global space, and applies the document transform.
503 path.transform(ctm, &path);
605 pathPtr->transform(matrix);
1066 // Get bounds of clip in current transform space
1094 SkDEBUGFAIL("Layer initial transform should be invertible.");
1178 // PDF positions patterns relative to the initial transform, so
1179 // we need to apply the current transform to the shader parameters.
1180 SkMatrix transform = matrix;
1181 transform.postConcat(initialTransform);
1188 // We need to apply the initial transform to bounds in order to get
1195 SkPDFIndirectReference pdfShader = SkPDFMakeShader(doc, shader, transform, bounds,
1462 // First, figure out the src->dst transform and subset the image if needed.
1465 SkMatrix transform = SkMatrix::RectToRect(srcRect, dst);
1471 transform.preTranslate(SkIntToScalar(bounds.x()),
1531 tmpPaint.setShader(mask->makeShader(SkSamplingOptions(), transform));
1538 canvas.concat(transform);
1560 transform));
1565 transform.postConcat(ctm);
1576 SkMatrix matrix = transform;
1579 if (transform.hasPerspective()) {
1581 // account the initial transform.
1583 SkPath perspectiveOutline = SkPath::Rect(imageBounds).makeTransform(transform);
1615 SkMatrix offsetMatrix = transform;
1713 shape.transform(matrix);