Searched refs:fMatrix (Results 1 - 25 of 130) sorted by relevance

123456

/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawMatrix.cpp56 fMatrix.reset();
81 copy->fMatrix = fMatrix;
99 if (fMatrix.isIdentity()) {
104 result = fMatrix[SkMatrix::kMScaleX];
107 result = fMatrix.getScaleY();
110 result = fMatrix.getSkewX();
113 result = fMatrix.getSkewY();
116 result = fMatrix.getTranslateX();
119 result = fMatrix
[all...]
H A DSkDrawMatrix.h46 fMatrix.preRotate(degrees, center.fX, center.fY);
50 fMatrix.preConcat(src);
54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY);
58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY);
62 fMatrix.preTranslate(x, y);
67 SkMatrix fMatrix; member in class:SkDrawMatrix
H A DSkMatrixParts.cpp16 SkMatrixPart::SkMatrixPart() : fMatrix(NULL) {
20 fMatrix->dirty();
24 return fMatrix;
31 fMatrix = (SkDrawMatrix*) parent;
52 fMatrix->rotate(degrees, center);
74 fMatrix->scale(x, y, center);
96 fMatrix->skew(x, y, center);
116 fMatrix->translate(x, y);
153 fMatrix->set(result);
182 fMatrix
[all...]
/external/skia/src/animator/
H A DSkDrawMatrix.cpp56 fMatrix.reset();
81 copy->fMatrix = fMatrix;
99 if (fMatrix.isIdentity()) {
104 result = fMatrix[SkMatrix::kMScaleX];
107 result = fMatrix.getScaleY();
110 result = fMatrix.getSkewX();
113 result = fMatrix.getSkewY();
116 result = fMatrix.getTranslateX();
119 result = fMatrix
[all...]
H A DSkDrawMatrix.h46 fMatrix.preRotate(degrees, center.fX, center.fY);
50 fMatrix.preConcat(src);
54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY);
58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY);
62 fMatrix.preTranslate(x, y);
67 SkMatrix fMatrix; member in class:SkDrawMatrix
H A DSkMatrixParts.cpp16 SkMatrixPart::SkMatrixPart() : fMatrix(NULL) {
20 fMatrix->dirty();
24 return fMatrix;
31 fMatrix = (SkDrawMatrix*) parent;
52 fMatrix->rotate(degrees, center);
74 fMatrix->scale(x, y, center);
96 fMatrix->skew(x, y, center);
116 fMatrix->translate(x, y);
153 fMatrix->set(result);
182 fMatrix
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkTextMapStateProc.h17 : fMatrix(matrix)
20 , fScaleX(fMatrix.getScaleX())
21 , fTransX(fMatrix.getTranslateX()) {
24 unsigned mtype = fMatrix.getType();
28 fY = SkScalarMul(y, fMatrix.getScaleY()) +
29 fMatrix.getTranslateY();
44 const SkMatrix& fMatrix; member in class:SkTextMapStateProc
59 fProc(fMatrix, pos[0], pos[1], loc);
70 fProc(fMatrix, *pos, fY, loc);
H A DSkPerspIter.h41 const SkMatrix& fMatrix; member in class:SkPerspIter
/external/skia/src/core/
H A DSkTextMapStateProc.h17 : fMatrix(matrix)
20 , fScaleX(fMatrix.getScaleX())
21 , fTransX(fMatrix.getTranslateX()) {
24 unsigned mtype = fMatrix.getType();
28 fY = SkScalarMul(y, fMatrix.getScaleY()) +
29 fMatrix.getTranslateY();
44 const SkMatrix& fMatrix; member in class:SkTextMapStateProc
59 fProc(fMatrix, pos[0], pos[1], loc);
70 fProc(fMatrix, *pos, fY, loc);
H A DSkPerspIter.h41 const SkMatrix& fMatrix; member in class:SkPerspIter
/external/chromium_org/third_party/skia/bench/
H A DMatrixBench.cpp235 fMatrix.setAll(fArray[0], fArray[1], fArray[2],
240 junk ^= (fMatrix.getType());
241 fMatrix.dirtyMatrixTypeCache();
242 junk ^= (fMatrix.getType());
243 fMatrix.dirtyMatrixTypeCache();
244 junk ^= (fMatrix.getType());
245 fMatrix.dirtyMatrixTypeCache();
246 junk ^= (fMatrix.getType());
247 fMatrix.dirtyMatrixTypeCache();
248 junk ^= (fMatrix
257 SkMatrix fMatrix; member in class:GetTypeMatrixBench
297 SkMatrix fMatrix; member in class:ScaleTransMixedMatrixBench
337 double fMatrix [9]; member in class:ScaleTransDoubleMatrixBench
367 SkMatrix fMatrix[10]; member in class:DecomposeMatrixBench
421 SkMatrix fMatrix; member in class:InvertMapRectMatrixBench
[all...]
H A DBitmapScaleBench.cpp33 SkMatrix fMatrix; member in class:BitmapScaleBench
65 fMatrix.setScale( scale(), scale() );
97 canvas.drawBitmapMatrix( fInputBitmap, fMatrix, &paint );
/external/skia/bench/
H A DMatrixBench.cpp235 fMatrix.setAll(fArray[0], fArray[1], fArray[2],
240 junk ^= (fMatrix.getType());
241 fMatrix.dirtyMatrixTypeCache();
242 junk ^= (fMatrix.getType());
243 fMatrix.dirtyMatrixTypeCache();
244 junk ^= (fMatrix.getType());
245 fMatrix.dirtyMatrixTypeCache();
246 junk ^= (fMatrix.getType());
247 fMatrix.dirtyMatrixTypeCache();
248 junk ^= (fMatrix
257 SkMatrix fMatrix; member in class:GetTypeMatrixBench
297 SkMatrix fMatrix; member in class:ScaleTransMixedMatrixBench
337 double fMatrix [9]; member in class:ScaleTransDoubleMatrixBench
367 SkMatrix fMatrix[10]; member in class:DecomposeMatrixBench
421 SkMatrix fMatrix; member in class:InvertMapRectMatrixBench
[all...]
H A DBitmapScaleBench.cpp33 SkMatrix fMatrix; member in class:BitmapScaleBench
65 fMatrix.setScale( scale(), scale() );
97 canvas.drawBitmapMatrix( fInputBitmap, fMatrix, &paint );
/external/chromium_org/third_party/skia/include/gpu/
H A DGrCoordTransform.h73 fMatrix = m;
80 fMatrix = other.fMatrix;
91 return &fMatrix;
96 fMatrix.cheapEqualTo(other.fMatrix) &&
101 const SkMatrix& getMatrix() const { return fMatrix; }
115 SkMatrix fMatrix; member in class:GrCoordTransform
/external/skia/include/gpu/
H A DGrCoordTransform.h73 fMatrix = m;
80 fMatrix = other.fMatrix;
91 return &fMatrix;
96 fMatrix.cheapEqualTo(other.fMatrix) &&
101 const SkMatrix& getMatrix() const { return fMatrix; }
106 SkMatrix fMatrix; member in class:GrCoordTransform
/external/chromium_org/third_party/skia/gm/
H A Dfilterindiabox.cpp56 fMatrix[0].setScale(horizScale, vertScale);
57 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale);
62 SkMatrix fMatrix[2]; member in class:FilterIndiaBoxGM
91 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) {
92 SkSize size = computeSize(fBM, fMatrix[i]);
96 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
H A Dshadertext2.cpp39 SkMatrix fMatrix; member in struct:skiagm::LabeledMatrix
63 matrices.append()->fMatrix.reset();
65 matrices.append()->fMatrix.setScale(1.2f, 0.8f);
67 matrices.append()->fMatrix.setRotate(10.f);
69 matrices.append()->fMatrix.reset();
70 matrices.top().fMatrix.setPerspX(-0.0015f);
71 matrices.top().fMatrix.setPerspY(+0.0015f);
75 localMatrices.append()->fMatrix.reset();
77 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f);
79 localMatrices.append()->fMatrix
[all...]
H A Dfilterbitmap.cpp57 fMatrix[0].setScale(scale, scale);
58 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(scale, scale);
61 fMatrix[2].setScale(0.7f, 1.05f);
66 SkMatrix fMatrix[3]; member in class:FilterBitmapGM
93 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) {
94 SkSize size = computeSize(fBM, fMatrix[i]);
98 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
/external/chromium_org/third_party/skia/src/views/animated/
H A DSkImageView.cpp19 fMatrix = NULL;
30 if (fMatrix)
31 sk_free(fMatrix);
74 if (fMatrix)
76 SkASSERT(!fMatrix->isIdentity());
78 *matrix = *fMatrix;
95 if (fMatrix == NULL)
96 fMatrix = (SkMatrix*)sk_malloc_throw(sizeof(SkMatrix));
97 *fMatrix = *matrix;
102 if (fMatrix)
[all...]
/external/skia/src/views/animated/
H A DSkImageView.cpp19 fMatrix = NULL;
30 if (fMatrix)
31 sk_free(fMatrix);
74 if (fMatrix)
76 SkASSERT(!fMatrix->isIdentity());
78 *matrix = *fMatrix;
95 if (fMatrix == NULL)
96 fMatrix = (SkMatrix*)sk_malloc_throw(sizeof(SkMatrix));
97 *fMatrix = *matrix;
102 if (fMatrix)
[all...]
/external/skia/gm/
H A Dshadertext2.cpp39 SkMatrix fMatrix; member in struct:skiagm::LabeledMatrix
63 matrices.append()->fMatrix.reset();
65 matrices.append()->fMatrix.setScale(1.2f, 0.8f);
67 matrices.append()->fMatrix.setRotate(10.f);
69 matrices.append()->fMatrix.reset();
70 matrices.top().fMatrix.setPerspX(-0.0015f);
71 matrices.top().fMatrix.setPerspY(+0.0015f);
75 localMatrices.append()->fMatrix.reset();
77 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f);
79 localMatrices.append()->fMatrix
[all...]
H A Dfilterindiabox.cpp56 fMatrix[0].setScale(horizScale, vertScale);
57 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale);
62 SkMatrix fMatrix[2]; member in class:FilterIndiaBoxGM
88 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) {
89 SkSize size = computeSize(fBM, fMatrix[i]);
93 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFDeviceFlattener.cpp28 *d.fMatrix));
45 d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count));
48 draw.fMatrix = &identity;
61 path.transform(*d.fMatrix);
64 draw.fMatrix = &matrix;
106 tmpPath.transform(*d.fMatrix);
110 draw.fMatrix = &matrix;
147 return d.fMatrix->hasPerspective();
153 return d.fMatrix->hasPerspective();
/external/skia/src/pdf/
H A DSkPDFDeviceFlattener.cpp28 *d.fMatrix));
45 d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count));
48 draw.fMatrix = &identity;
61 path.transform(*d.fMatrix);
64 draw.fMatrix = &matrix;
106 tmpPath.transform(*d.fMatrix);
110 draw.fMatrix = &matrix;
147 return d.fMatrix->hasPerspective();
153 return d.fMatrix->hasPerspective();

Completed in 450 milliseconds

123456