/external/skia/include/gpu/ |
H A D | GrMatrix.h | 15 #include "SkMatrix.h" 17 typedef SkMatrix GrMatrix;
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
H A D | TransformationMatrixSkia.cpp | 38 TransformationMatrix::operator SkMatrix() const 40 SkMatrix result; 53 result.set(SkMatrix::kMPersp2, SK_Scalar1); 58 AffineTransform::operator SkMatrix() const 60 SkMatrix result; 73 result.set(SkMatrix::kMPersp2, SK_Scalar1);
|
/external/skia/include/core/ |
H A D | SkRasterizer.h | 17 class SkMatrix; 27 bool rasterize(const SkPath& path, const SkMatrix& matrix, 35 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
H A D | SkPerspIter.h | 13 #include "SkMatrix.h" 23 SkPerspIter(const SkMatrix& m, SkScalar x, SkScalar y, int count); 41 const SkMatrix& fMatrix;
|
H A D | SkImageFilter.h | 15 class SkMatrix; 48 const SkMatrix& ctm, 66 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 73 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst); 104 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 107 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*);
|
H A D | SkMatrix.h | 27 /** \class SkMatrix 29 The SkMatrix class holds a 3x3 matrix for transforming coordinates. 30 SkMatrix does not have a constructor, so it must be explicitly initialized 34 class SK_API SkMatrix { class 216 bool setConcat(const SkMatrix& a, const SkMatrix& b); 249 bool preConcat(const SkMatrix& other); 286 bool postConcat(const SkMatrix& other); 339 bool invert(SkMatrix* inverse) const; 456 typedef void (*MapXYProc)(const SkMatrix [all...] |
H A D | SkMaskFilter.h | 18 class SkMatrix; 55 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, 107 bool filterPath(const SkPath& devPath, const SkMatrix& devMatrix,
|
H A D | SkShader.h | 16 #include "SkMatrix.h" 38 bool getLocalMatrix(SkMatrix* localM) const; 44 void setLocalMatrix(const SkMatrix& localM); 120 const SkMatrix& matrix); 214 virtual BitmapType asABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, 289 static MatrixClass ComputeMatrixClass(const SkMatrix&); 294 const SkMatrix& getTotalInverse() const { return fTotalInverse; } 299 SkMatrix* fLocalMatrix; 300 SkMatrix fTotalInverse;
|
H A D | SkShape.h | 14 class SkMatrix; 32 void drawMatrix(SkCanvas*, const SkMatrix&);
|
H A D | SkDraw.h | 16 #include "SkMatrix.h" 48 const SkMatrix* prePathMatrix, bool pathIsMutable) const; 49 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const; 57 const SkPath&, const SkMatrix*, const SkPaint&) const; 61 const SkPath& path, const SkMatrix* matrix) const; 79 SkMaskFilter* filter, const SkMatrix* filterMatrix, 97 static RectType ComputeRectType(const SkPaint&, const SkMatrix&, 108 const SkMatrix* fMatrix; // required 117 const SkMatrix* fMVMatrix; // optional 118 const SkMatrix* fExtMatri [all...] |
/external/skia/tests/ |
H A D | MatrixTest.cpp | 10 #include "SkMatrix.h" 25 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { 35 static bool is_identity(const SkMatrix& m) { 36 SkMatrix identity; 41 static void test_flatten(skiatest::Reporter* reporter, const SkMatrix& m) { 43 char buffer[SkMatrix::kMaxFlattenSize + 100]; 47 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize); 49 SkMatrix m2; 54 char buffer2[SkMatrix [all...] |
/external/skia/include/views/ |
H A D | SkImageView.h | 18 class SkMatrix; 40 bool getImageMatrix(SkMatrix*) const; 41 void setImageMatrix(const SkMatrix*); 51 SkMatrix* fMatrix; // null or copy of caller's matrix ,,,,,
|
H A D | SkTouchGesture.h | 12 #include "SkMatrix.h" 21 bool evaluateMatrix(SkMatrix* matrix); 43 const SkMatrix& localM(); 44 const SkMatrix& globalM() const { return fGlobalM; } 63 SkMatrix fLocalM, fGlobalM;
|
H A D | SkWindow.h | 15 #include "SkMatrix.h" 61 const SkMatrix& getMatrix() const { return fMatrix; } 62 void setMatrix(const SkMatrix&); 63 void preConcat(const SkMatrix&); 64 void postConcat(const SkMatrix&); 98 SkMatrix fMatrix;
|
/external/skia/include/utils/ |
H A D | SkLayer.h | 16 #include "SkMatrix.h" 35 const SkMatrix& getMatrix() const { return fMatrix; } 36 const SkMatrix& getChildrenMatrix() const { return fChildrenMatrix; } 46 void setMatrix(const SkMatrix&); 47 void setChildrenMatrix(const SkMatrix&); 91 void getLocalTransform(SkMatrix* matrix) const; 97 void localToGlobal(SkMatrix* matrix) const; 119 SkMatrix fMatrix; 120 SkMatrix fChildrenMatrix;
|
/external/skia/samplecode/ |
H A D | SampleOverflow.cpp | 20 SkMatrix matrix; 34 matrix.set(SkMatrix::kMTransX, SkFloatToFixed(-1153.28)); 35 matrix.set(SkMatrix::kMTransY, SkFloatToFixed(1180.50)); 37 matrix.set(SkMatrix::kMScaleX, SkFloatToFixed(0.177171)); 38 matrix.set(SkMatrix::kMScaleY, SkFloatToFixed(0.177043)); 40 matrix.set(SkMatrix::kMSkewX, SkFloatToFixed(0.126968)); 41 matrix.set(SkMatrix::kMSkewY, SkFloatToFixed(-0.126876)); 43 matrix.set(SkMatrix::kMPersp0, SkFloatToFixed(0.0)); 44 matrix.set(SkMatrix::kMPersp1, SkFloatToFixed(0.0));
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
H A D | Layer.h | 25 #include "SkMatrix.h" 54 const SkMatrix& getMatrix() const { return m_matrix; } 55 const SkMatrix& getChildrenMatrix() const { return m_childrenMatrix; } 66 void setMatrix(const SkMatrix& matrix) { m_matrix = matrix; } 67 void setChildrenMatrix(const SkMatrix& matrix) { m_childrenMatrix = matrix; } 125 virtual void getLocalTransform(SkMatrix* matrix) const; 131 void localToGlobal(SkMatrix* matrix) const { localToAncestor(0, matrix); } 140 SkMatrix localToAncestor = layer->localToAncestor(ancestor); 141 SkMatrix ancestorToGlobal = ancestor->localToAncestor(NULL); 142 SkMatrix localToGloba [all...] |
/external/skia/src/core/ |
H A D | SkMatrix.cpp | 10 #include "SkMatrix.h" 31 void SkMatrix::reset() { 59 uint8_t SkMatrix::computePerspectiveTypeMask() const { 71 uint8_t SkMatrix::computeTypeMask() const { 99 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); 100 int m01 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewX]); 101 int m10 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewY]); 102 int m11 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleY]); 138 bool operator==(const SkMatrix& a, const SkMatrix [all...] |
H A D | SkMaskFilter.cpp | 17 bool SkMaskFilter::filterMask(SkMask*, const SkMask&, const SkMatrix&, argument 22 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix, 68 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) {
|
/external/skia/include/effects/ |
H A D | SkGroupShape.h | 11 #include "SkMatrix.h" 59 class SkMatrixRef : public SkTRefCnt<SkMatrix> { 62 explicit SkMatrixRef(const SkMatrix& matrix) { 63 SkMatrix& m = *this; 67 SkMatrix& operator=(const SkMatrix& matrix) { 68 SkMatrix& m = *this; 107 void addShape(int index, SkShape* shape, const SkMatrix& matrix) { 120 SkShape* appendShape(SkShape* shape, const SkMatrix& matrix) {
|
H A D | Sk2DPathEffect.h | 15 #include "SkMatrix.h" 19 Sk2DPathEffect(const SkMatrix& mat); 45 const SkMatrix& getMatrix() const { return fMatrix; } 53 SkMatrix fMatrix, fInverse; 70 SkPath2DPathEffect(const SkMatrix&, const SkPath&);
|
H A D | SkTestImageFilters.h | 21 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 23 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) SK_OVERRIDE; 51 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 53 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) SK_OVERRIDE; 82 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 84 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) SK_OVERRIDE; 118 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 144 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
|
/external/skia/include/pdf/ |
H A D | SkPDFFormXObject.h | 18 class SkMatrix;
|
H A D | SkPDFUtils.h | 15 class SkMatrix; 36 static SkPDFArray* MatrixToArray(const SkMatrix& matrix); 37 static void AppendTransform(const SkMatrix& matrix, SkWStream* content);
|
/external/skia/src/animator/ |
H A D | SkDrawMatrix.h | 14 #include "SkMatrix.h" 31 SkMatrix& getMatrix(); 38 void concat(SkMatrix& inMatrix) { 49 void set(SkMatrix& src) { 66 SkMatrix fConcat; 67 SkMatrix fMatrix;
|