HomeSort by relevance Sort by last modified time
    Searched full:fmatrix (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /external/chromium_org/third_party/skia/src/animator/
SkDrawMatrix.cpp 56 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.getTranslateY()
    [all...]
SkDrawMatrix.h 46 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;
SkMatrixParts.cpp 16 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->set(temp)
    [all...]
  /external/skia/src/animator/
SkDrawMatrix.cpp 56 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.getTranslateY()
    [all...]
SkDrawMatrix.h 46 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;
SkMatrixParts.cpp 16 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->set(temp)
    [all...]
  /external/skia/bench/
MatrixBench.cpp 243 fMatrix.setAll(fArray[0], fArray[1], fArray[2],
246 always_do(fMatrix.getType());
247 fMatrix.dirtyMatrixTypeCache();
248 always_do(fMatrix.getType());
249 fMatrix.dirtyMatrixTypeCache();
250 always_do(fMatrix.getType());
251 fMatrix.dirtyMatrixTypeCache();
252 always_do(fMatrix.getType());
253 fMatrix.dirtyMatrixTypeCache();
254 always_do(fMatrix.getType())
    [all...]
BitmapScaleBench.cpp 33 SkMatrix fMatrix;
69 fMatrix.setScale( scale(), scale() );
100 canvas.drawBitmapMatrix( fInputBitmap, fMatrix, &paint );
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFDeviceFlattener.cpp 29 local.preConcat(*d.fMatrix);
46 d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count));
49 draw.fMatrix = &identity;
62 path.transform(*d.fMatrix);
65 draw.fMatrix = &matrix;
107 tmpPath.transform(*d.fMatrix);
111 draw.fMatrix = &matrix;
148 return d.fMatrix->hasPerspective();
154 return d.fMatrix->hasPerspective();
  /external/skia/src/pdf/
SkPDFDeviceFlattener.cpp 29 local.preConcat(*d.fMatrix);
46 d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count));
49 draw.fMatrix = &identity;
62 path.transform(*d.fMatrix);
65 draw.fMatrix = &matrix;
107 tmpPath.transform(*d.fMatrix);
111 draw.fMatrix = &matrix;
148 return d.fMatrix->hasPerspective();
154 return d.fMatrix->hasPerspective();
  /external/chromium_org/third_party/skia/src/views/animated/
SkImageView.cpp 19 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/
SkImageView.cpp 19 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/chromium_org/third_party/skia/include/gpu/
GrCoordTransform.h 73 fMatrix = m;
80 fMatrix = other.fMatrix;
91 return &fMatrix;
96 fMatrix.cheapEqualTo(other.fMatrix) &&
101 const SkMatrix& getMatrix() const { return fMatrix; }
106 SkMatrix fMatrix;
  /external/skia/include/gpu/
GrCoordTransform.h 73 fMatrix = m;
80 fMatrix = other.fMatrix;
91 return &fMatrix;
96 fMatrix.cheapEqualTo(other.fMatrix) &&
101 const SkMatrix& getMatrix() const { return fMatrix; }
106 SkMatrix fMatrix;
  /external/skia/gm/
shadertext2.cpp 47 SkMatrix fMatrix;
71 matrices.append()->fMatrix.reset();
73 matrices.append()->fMatrix.setScale(1.2f, 0.8f);
75 matrices.append()->fMatrix.setRotate(10.f);
77 matrices.append()->fMatrix.reset();
78 matrices.top().fMatrix.setPerspX(-0.0015f);
79 matrices.top().fMatrix.setPerspY(+0.0015f);
83 localMatrices.append()->fMatrix.reset();
85 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f);
87 localMatrices.append()->fMatrix.setRotate(45.f)
    [all...]
filterbitmap.cpp 53 fMatrix[0].setScale(scale, scale);
54 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(scale, scale);
59 SkMatrix fMatrix[2];
82 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) {
83 SkSize size = computeSize(fBM, fMatrix[i]);
87 draw_col(canvas, fBM, fMatrix[i], size.fWidth);
scalebitmap.cpp 77 SkMatrix fMatrix;
85 fMatrix.setScale(scale, scale);
92 canvas->drawBitmapMatrix(fBM, fMatrix, &paint);
  /external/chromium_org/third_party/skia/src/core/
SkPictureStateTree.cpp 18 fRoot.fMatrix = &fRootMatrix;
23 fCurrentState.fMatrix = &fRootMatrix;
69 fCurrentState.fMatrix = m;
87 n->fMatrix = fCurrentState.fMatrix;
160 if (fCurrentMatrix != fNodes.top()->fMatrix) {
161 fCurrentMatrix = fNodes.top()->fMatrix;
162 SkMatrix tmp = *fNodes.top()->fMatrix;
177 if (fCurrentMatrix != draw->fMatrix) {
178 SkMatrix tmp = *draw->fMatrix;
    [all...]
  /external/skia/src/core/
SkPictureStateTree.cpp 18 fRoot.fMatrix = &fRootMatrix;
23 fCurrentState.fMatrix = &fRootMatrix;
69 fCurrentState.fMatrix = m;
87 n->fMatrix = fCurrentState.fMatrix;
160 if (fCurrentMatrix != fNodes.top()->fMatrix) {
161 fCurrentMatrix = fNodes.top()->fMatrix;
162 SkMatrix tmp = *fNodes.top()->fMatrix;
177 if (fCurrentMatrix != draw->fMatrix) {
178 SkMatrix tmp = *draw->fMatrix;
    [all...]
  /external/chromium_org/third_party/skia/src/fonts/
SkGScalerContext.cpp 31 SkMatrix fMatrix;
63 fRec.getSingleMatrix(&fMatrix);
64 fMatrix.preScale(SK_Scalar1 / STD_SIZE, SK_Scalar1 / STD_SIZE);
83 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX),
93 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX),
100 path.transform(fMatrix);
130 canvas.concat(fMatrix);
139 path->transform(fMatrix);
146 SkScalar scale = fMatrix.getScaleY();
  /external/skia/src/fonts/
SkGScalerContext.cpp 31 SkMatrix fMatrix;
63 fRec.getSingleMatrix(&fMatrix);
64 fMatrix.preScale(SK_Scalar1 / STD_SIZE, SK_Scalar1 / STD_SIZE);
83 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX),
93 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX),
100 path.transform(fMatrix);
130 canvas.concat(fMatrix);
139 path->transform(fMatrix);
146 SkScalar scale = fMatrix.getScaleY();
  /external/chromium_org/third_party/skia/src/effects/
SkColorMatrixFilter.cpp 207 SkColorMatrixFilter::SkColorMatrixFilter(const SkColorMatrix& cm) : fMatrix(cm) {
212 memcpy(fMatrix.fMat, array, 20 * sizeof(SkScalar));
304 SkASSERT(sizeof(fMatrix.fMat)/sizeof(SkScalar) == 20);
305 buffer.writeScalarArray(fMatrix.fMat, 20);
311 if (buffer.readScalarArray(fMatrix.fMat, 20)) {
312 this->initState(fMatrix.fMat);
318 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar));
367 if (0 != fMatrix.fMat[kAlphaRowStartIdx + i]) {
373 outputA += fMatrix.fMat[kAlphaRowStartIdx + i] * component;
377 outputA += fMatrix.fMat[kAlphaRowTranslateIdx]
    [all...]
Sk2DPathEffect.cpp 15 Sk2DPathEffect::Sk2DPathEffect(const SkMatrix& mat) : fMatrix(mat) {
72 buffer.writeMatrix(fMatrix);
76 buffer.readMatrix(&fMatrix);
77 fMatrixIsInvertible = fMatrix.invert(&fInverse);
  /external/skia/src/effects/
SkColorMatrixFilter.cpp 207 SkColorMatrixFilter::SkColorMatrixFilter(const SkColorMatrix& cm) : fMatrix(cm) {
212 memcpy(fMatrix.fMat, array, 20 * sizeof(SkScalar));
304 SkASSERT(sizeof(fMatrix.fMat)/sizeof(SkScalar) == 20);
305 buffer.writeScalarArray(fMatrix.fMat, 20);
311 if (buffer.readScalarArray(fMatrix.fMat, 20)) {
312 this->initState(fMatrix.fMat);
318 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar));
367 if (0 != fMatrix.fMat[kAlphaRowStartIdx + i]) {
373 outputA += fMatrix.fMat[kAlphaRowStartIdx + i] * component;
377 outputA += fMatrix.fMat[kAlphaRowTranslateIdx]
    [all...]
  /external/chromium_org/third_party/skia/include/views/animated/
SkImageView.h 51 SkMatrix* fMatrix; // null or copy of caller's matrix ,,,,,

Completed in 508 milliseconds

1 2 3 4