HomeSort by relevance Sort by last modified time
    Searched refs:matrix (Results 76 - 100 of 231) sorted by null

1 2 34 5 6 7 8 910

  /external/skia/include/core/
SkColorShader.h 43 const SkMatrix& matrix);
  /external/skia/src/animator/
SkPaintParts.h 65 SkDrawMatrix* matrix; member in class:SkDrawShader
  /external/skia/src/utils/
SkCamera.cpp 333 void SkCamera3D::patchToMatrix(const SkPatch3D& quilt, SkMatrix* matrix) const
354 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
355 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
356 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
359 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
360 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
361 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
364 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
365 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
366 matrix->set(SkMatrix::kMPersp2, SK_UnitScalar1)
444 SkMatrix matrix; local
    [all...]
SkNWayCanvas.cpp 109 bool SkNWayCanvas::concat(const SkMatrix& matrix) {
112 iter->concat(matrix);
114 return this->INHERITED::concat(matrix);
117 void SkNWayCanvas::setMatrix(const SkMatrix& matrix) {
120 iter->setMatrix(matrix);
122 this->INHERITED::setMatrix(matrix);
236 const SkPath& path, const SkMatrix* matrix,
240 iter->drawTextOnPath(text, byteLength, path, matrix, paint);
SkProxyCanvas.cpp 58 bool SkProxyCanvas::concat(const SkMatrix& matrix) {
59 return fProxy->concat(matrix);
62 void SkProxyCanvas::setMatrix(const SkMatrix& matrix) {
63 fProxy->setMatrix(matrix);
132 const SkPath& path, const SkMatrix* matrix,
134 fProxy->drawTextOnPath(text, byteLength, path, matrix, paint);
  /external/webkit/WebCore/svg/graphics/
SVGPaintServerPattern.cpp 156 AffineTransform matrix; local
157 matrix.translate(patternBoundaries().x(), patternBoundaries().y());
158 matrix.multiply(patternTransform());
159 m_pattern->setPatternSpaceTransform(matrix);
  /external/skia/src/core/
SkPictureFlat.cpp 30 SkFlatMatrix* SkFlatMatrix::Flatten(SkChunkAlloc* heap, const SkMatrix& matrix, int index) {
33 memcpy(&result->fMatrixData, &matrix, sizeof(SkMatrix));
39 const SkMatrix* matrix = (const SkMatrix*) fMatrixData; local
43 "matrix: ");
44 SkScalar scaleX = matrix->getScaleX();
50 SkScalar scaleY = matrix->getScaleY();
54 SkScalar skewX = matrix->getSkewX();
58 SkScalar skewY = matrix->getSkewY();
62 SkScalar translateX = matrix->getTranslateX();
66 SkScalar translateY = matrix->getTranslateY()
    [all...]
SkPictureRecord.h 25 virtual bool concat(const SkMatrix& matrix);
26 virtual void setMatrix(const SkMatrix& matrix);
50 const SkPath& path, const SkMatrix* matrix,
105 void addMatrix(const SkMatrix& matrix);
106 void addMatrixPtr(const SkMatrix* matrix);
122 const SkMatrix* matrix);
SkScalerContext.cpp 351 SkMatrix matrix; local
354 fRec.getMatrixFrom2x2(&matrix);
357 if (fMaskFilter->filterMask(&dst, src, matrix, NULL)) {
424 SkMatrix matrix; local
439 matrix.setTranslate(-SkIntToScalar(glyph->fLeft),
447 draw.fMatrix = &matrix;
461 SkMatrix matrix; local
466 fRec.getMatrixFrom2x2(&matrix);
468 if (fMaskFilter->filterMask(&dstM, srcM, matrix, NULL)) {
545 SkMatrix matrix, inverse local
    [all...]
SkCanvas.cpp 64 The clip/matrix/proc are fields that reflect the top of the save/restore
76 int16_t fX, fY; // relative to base matrix/clip
148 Since a level optionally copies the matrix and/or stack, we have pointers
741 const SkMatrix& matrix, const SkPaint* paint) {
748 this->commonDrawBitmap(bitmap, matrix, tmpPaint);
750 this->commonDrawBitmap(bitmap, matrix, *paint);
800 bool SkCanvas::concat(const SkMatrix& matrix) {
804 return fMCRec->fMatrix->preConcat(matrix);
807 void SkCanvas::setMatrix(const SkMatrix& matrix) {
811 *fMCRec->fMatrix = matrix;
817 SkMatrix matrix; local
1103 SkMatrix matrix; local
1129 SkMatrix matrix; local
1410 SkMatrix matrix; local
1454 const SkMatrix& SkCanvas::LayerIter::matrix() const { function in class:SkCanvas::LayerIter
    [all...]
SkPictureRecord.cpp 109 bool SkPictureRecord::concat(const SkMatrix& matrix) {
112 addMatrix(matrix);
114 return this->INHERITED::concat(matrix);
117 void SkPictureRecord::setMatrix(const SkMatrix& matrix) {
120 addMatrix(matrix);
122 this->INHERITED::setMatrix(matrix);
219 void SkPictureRecord::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix,
224 addMatrix(matrix);
349 const SkPath& path, const SkMatrix* matrix,
355 addMatrixPtr(matrix);
709 const SkFlatMatrix* matrix = fMatrices[index]; local
    [all...]
SkPath.cpp 613 SkMatrix matrix; local
615 matrix.setScale(SkScalarHalf(oval.width()), SkScalarHalf(oval.height()));
616 matrix.postTranslate(oval.centerX(), oval.centerY());
620 &matrix, pts);
709 SkMatrix matrix; local
712 matrix.setScale(radius, radius);
713 matrix.postTranslate(xx - SkScalarMul(radius, before.fX),
716 int count = SkBuildQuadArc(before, after, arcDir, &matrix, pts);
729 SkMatrix matrix; local
731 matrix.setTranslate(dx, dy)
858 SkMatrix matrix; local
    [all...]
SkComposeShader.cpp 93 const SkMatrix& matrix)
95 if (!this->INHERITED::setContext(device, paint, matrix))
98 // we preconcat our localMatrix (if any) with the device matrix
104 tmpM.setConcat(matrix, tmpM);
  /external/freetype/include/freetype/
ftrender.h 50 const FT_Matrix* matrix,
96 const FT_Matrix* matrix,
  /external/skia/include/utils/
SkLayer.h 93 /** Return, in matrix, the matix transfomations that are applied locally
94 when this layer draws (i.e. its position and matrix/anchorPoint).
98 void getLocalTransform(SkMatrix* matrix) const;
100 /** Return, in matrix, the concatenation of transforms that are applied
102 This is the matrix that is applied to the layer during drawing.
104 void localToGlobal(SkMatrix* matrix) const;
SkDumpCanvas.h 66 virtual bool concat(const SkMatrix& matrix);
67 virtual void setMatrix(const SkMatrix& matrix);
97 const SkPath& path, const SkMatrix* matrix,
SkProxyCanvas.h 38 virtual bool concat(const SkMatrix& matrix);
39 virtual void setMatrix(const SkMatrix& matrix);
69 const SkPath& path, const SkMatrix* matrix,
  /external/webkit/WebCore/platform/graphics/transforms/
MatrixTransformOperation.h 48 virtual OperationType getOperationType() const { return MATRIX; }
49 virtual bool isSameType(const TransformOperation& o) const { return o.getOperationType() == MATRIX; }
62 TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f);
63 transform.multLeft(TransformationMatrix(matrix));
  /external/webkit/WebCore/svg/
SVGStyledTransformableElement.cpp 59 return m_supplementalTransform ? transform()->concatenate().matrix() * *m_supplementalTransform : transform()->concatenate().matrix();
SVGTransformList.idl 46 SVGTransform createSVGTransformFromMatrix(in SVGMatrix matrix);
  /external/skia/src/effects/
SkLayerRasterizer.cpp 55 static bool compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix,
77 // apply the matrix and offset
79 SkMatrix m = matrix;
85 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), &matrix,
94 bool SkLayerRasterizer::onRasterize(const SkPath& path, const SkMatrix& matrix,
103 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds))
129 translatedMatrix = matrix;
139 // we set the matrixproc in the loop, as the matrix changes each time (potentially)
  /external/webkit/WebCore/platform/graphics/openvg/
PainterOpenVG.cpp 46 static bool isNonRotatedAffineTransformation(const TransformationMatrix& matrix)
48 return matrix.m12() <= FLT_EPSILON && matrix.m13() <= FLT_EPSILON && matrix.m14() <= FLT_EPSILON
49 && matrix.m21() <= FLT_EPSILON && matrix.m23() <= FLT_EPSILON && matrix.m24() <= FLT_EPSILON
50 && matrix.m31() <= FLT_EPSILON && matrix.m32() <= FLT_EPSILON && matrix.m34() <= FLT_EPSILO
602 TransformationMatrix matrix = m_state->surfaceTransformationMatrix; local
612 TransformationMatrix matrix = m_state->surfaceTransformationMatrix; local
622 TransformationMatrix matrix = m_state->surfaceTransformationMatrix; local
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
GLRootView.java 24 import android.graphics.Matrix;
299 Matrix matrix = mTransformation.getMatrix(); local
300 matrix.reset();
301 matrix.preTranslate(0, getHeight());
302 matrix.preScale(1, -1);
321 float matrix[] = mMatrixValues; local
322 mTransformation.getMatrix().getValues(matrix);
323 drawRect(x, y, width, height, matrix);
340 int x, int y, int width, int height, float matrix[]) {
374 Matrix matrix = mTransformation.getMatrix(); local
684 Matrix matrix = mTransformation.getMatrix(); local
    [all...]
  /external/webkit/WebCore/platform/graphics/skia/
ImageSkia.cpp 177 // The matrix inverting, etc. could have introduced rounding error which
241 // is something interesting going on with the matrix (like a rotation).
248 // Transforms the given dimensions with the given matrix. Used to see how big
250 static void TransformDimensions(const SkMatrix& matrix, float srcWidth, float srcHeight, float* destWidth, float* destHeight) {
261 matrix.mapPoints(dest_points, src_points, 3);
329 // matrix to see how bit it will be.
345 SkMatrix matrix(patternTransform);
357 matrix.setScaleX(SkIntToScalar(1));
358 matrix.setScaleY(SkIntToScalar(1));
372 matrix.postTranslate(SkFloatToScalar(adjustedX)
    [all...]
  /external/freetype/src/cff/
cffobjs.c 568 /* Normalize the font matrix so that `matrix->xx' is 1; the */
571 /* normalization of the matrix). */
577 FT_Matrix* matrix = &dict->font_matrix; local
580 FT_Fixed temp = FT_ABS( matrix->yy );
587 matrix->xx = FT_DivFix( matrix->xx, temp );
588 matrix->yx = FT_DivFix( matrix->yx, temp );
589 matrix->xy = FT_DivFix( matrix->xy, temp )
604 FT_Matrix* matrix; local
    [all...]

Completed in 1208 milliseconds

1 2 34 5 6 7 8 910