Lines Matching defs:matrix
67 The clip/matrix/proc are fields that reflect the top of the save/restore
79 // optional, related to canvas' external matrix
138 // default is to assume no external matrix
155 Since a level optionally copies the matrix and/or stack, we have pointers
624 void SkCanvas::prepareForDeviceDraw(SkDevice* device, const SkMatrix& matrix,
629 device->gainFocus(this, matrix, clip, clipStack);
832 const SkMatrix& matrix, const SkPaint* paint) {
841 this->commonDrawBitmap(bitmap, srcRect, matrix, *paint);
890 bool SkCanvas::concat(const SkMatrix& matrix) {
894 return fMCRec->fMatrix->preConcat(matrix);
897 void SkCanvas::setMatrix(const SkMatrix& matrix) {
901 *fMCRec->fMatrix = matrix;
907 SkMatrix matrix;
909 matrix.reset();
910 this->setMatrix(matrix);
924 // the matrix. This means we don't have to a) make a path, and b) tell
936 // and clip against that, since it can handle any matrix. However, to
1164 void SkCanvas::setExternalMatrix(const SkMatrix* matrix) {
1165 if (NULL == matrix || matrix->isIdentity()) {
1172 fDeviceCMDirty = true; // |= (fExternalMatrix != *matrix)
1174 fExternalMatrix = *matrix;
1175 matrix->invert(&fExternalInverse);
1274 SkMatrix matrix;
1275 matrix.setTranslate(x, y);
1276 this->internalDrawBitmap(bitmap, NULL, matrix, paint);
1292 SkMatrix matrix;
1310 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit);
1322 this->internalDrawBitmap(*bitmapPtr, src, matrix, paint);
1325 void SkCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix,
1328 this->internalDrawBitmap(bitmap, NULL, matrix, paint);
1332 const SkMatrix& matrix, const SkPaint& paint) {
1338 iter.fDevice->drawBitmap(iter, bitmap, srcRect, matrix, looper.paint());
1427 const SkPath& path, const SkMatrix* matrix,
1433 matrix, looper.paint());
1442 const SkPath& path, const SkMatrix* matrix) {
1448 looper.paint(), path, matrix);
1611 SkMatrix matrix;
1613 matrix.setTranslate(hOffset, vOffset);
1614 this->drawTextOnPath(text, byteLength, path, &matrix, paint);
1654 const SkMatrix& SkCanvas::LayerIter::matrix() const {