/external/skia/gpu/include/ |
GrMatrix.h | 22 #include "SkMatrix.h" 24 typedef SkMatrix GrMatrix;
|
FlingState.h | 24 class SkMatrix; 33 bool evaluateMatrix(SkMatrix* matrix);
|
GrTouchGesture.h | 6 #include "SkMatrix.h" 20 const SkMatrix& localM(); 21 const SkMatrix& globalM() const { return fGlobalM; } 40 SkMatrix fLocalM, fGlobalM;
|
/frameworks/base/core/jni/android/graphics/ |
Matrix.h | 21 #include "SkMatrix.h" 25 /* Gets the underlying SkMatrix from a Matrix object. */ 26 extern SkMatrix* android_graphics_Matrix_getSkMatrix(JNIEnv* env, jobject matrixObj);
|
Matrix.cpp | 22 #include "SkMatrix.h" 34 static void finalizer(JNIEnv* env, jobject clazz, SkMatrix* obj) { 38 static SkMatrix* create(JNIEnv* env, jobject clazz, const SkMatrix* src) { 39 SkMatrix* obj = new SkMatrix(); 47 static jboolean isIdentity(JNIEnv* env, jobject clazz, SkMatrix* obj) { 51 static jboolean rectStaysRect(JNIEnv* env, jobject clazz, SkMatrix* obj) { 55 static void reset(JNIEnv* env, jobject clazz, SkMatrix* obj) { 59 static void set(JNIEnv* env, jobject clazz, SkMatrix* obj, SkMatrix* other) [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
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/ |
SkRasterizer.h | 24 class SkMatrix; 34 bool rasterize(const SkPath& path, const SkMatrix& matrix, 42 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
SkPerspIter.h | 20 #include "SkMatrix.h" 30 SkPerspIter(const SkMatrix& m, SkScalar x, SkScalar y, int count); 48 const SkMatrix& fMatrix;
|
SkMaskFilter.h | 25 class SkMatrix; 62 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, 70 bool filterPath(const SkPath& devPath, const SkMatrix& devMatrix,
|
SkShape.h | 7 class SkMatrix; 25 void drawMatrix(SkCanvas*, const SkMatrix&);
|
SkDraw.h | 23 #include "SkMatrix.h" 54 const SkMatrix* prePathMatrix, bool pathIsMutable) const; 55 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const; 63 const SkPath&, const SkMatrix*, const SkPaint&) const; 67 const SkPath& path, const SkMatrix* matrix) const; 85 SkMaskFilter* filter, const SkMatrix* filterMatrix, 103 static RectType ComputeRectType(const SkPaint&, const SkMatrix&, 114 const SkMatrix* fMatrix; // required 122 const SkMatrix* fMVMatrix; // optional 123 const SkMatrix* fExtMatrix; // optiona [all...] |
SkMatrix.h | 24 /** \class SkMatrix 26 The SkMatrix class holds a 3x3 matrix for transforming coordinates. 27 SkMatrix does not have a constructor, so it must be explicitly initialized 31 class SK_API SkMatrix { 196 bool setConcat(const SkMatrix& a, const SkMatrix& b); 229 bool preConcat(const SkMatrix& other); 266 bool postConcat(const SkMatrix& other); 319 bool invert(SkMatrix* inverse) const; 411 typedef void (*MapXYProc)(const SkMatrix& mat, SkScalar x, SkScalar y [all...] |
SkShader.h | 23 #include "SkMatrix.h" 45 bool getLocalMatrix(SkMatrix* localM) const; 51 void setLocalMatrix(const SkMatrix& localM); 118 const SkMatrix& matrix); 212 virtual BitmapType asABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, 287 static MatrixClass ComputeMatrixClass(const SkMatrix&); 292 const SkMatrix& getTotalInverse() const { return fTotalInverse; } 297 SkMatrix* fLocalMatrix; 298 SkMatrix fTotalInverse;
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
Layer.h | 23 #include "SkMatrix.h" 45 const SkMatrix& getMatrix() const { return m_matrix; } 46 const SkMatrix& getChildrenMatrix() const { return m_childrenMatrix; } 56 void setMatrix(const SkMatrix& matrix) { m_matrix = matrix; } 57 void setChildrenMatrix(const SkMatrix& matrix) { m_childrenMatrix = matrix; } 101 void getLocalTransform(SkMatrix* matrix) const; 107 void localToGlobal(SkMatrix* matrix) const { localToAncestor(0, matrix); } 116 SkMatrix localToAncestor = layer->localToAncestor(ancestor); 117 SkMatrix ancestorToGlobal = ancestor->localToAncestor(NULL); 118 SkMatrix localToGlobal = layer->localToGlobal() [all...] |
/external/skia/include/views/ |
SkImageView.h | 25 class SkMatrix; 47 bool getImageMatrix(SkMatrix*) const; 48 void setImageMatrix(const SkMatrix*); 58 SkMatrix* fMatrix; // null or copy of caller's matrix ,,,,,
|
SkTouchGesture.h | 5 #include "SkMatrix.h" 14 bool evaluateMatrix(SkMatrix* matrix); 36 const SkMatrix& localM(); 37 const SkMatrix& globalM() const { return fGlobalM; } 56 SkMatrix fLocalM, fGlobalM;
|
SkWindow.h | 22 #include "SkMatrix.h" 68 const SkMatrix& getMatrix() const { return fMatrix; } 69 void setMatrix(const SkMatrix&); 70 void preConcat(const SkMatrix&); 71 void postConcat(const SkMatrix&); 101 SkMatrix fMatrix;
|
/external/skia/include/effects/ |
SkGroupShape.h | 4 #include "SkMatrix.h" 52 class SkMatrixRef : public SkTRefCnt<SkMatrix> { 55 explicit SkMatrixRef(const SkMatrix& matrix) { 56 SkMatrix& m = *this; 60 SkMatrix& operator=(const SkMatrix& matrix) { 61 SkMatrix& m = *this; 100 void addShape(int index, SkShape* shape, const SkMatrix& matrix) { 113 SkShape* appendShape(SkShape* shape, const SkMatrix& matrix) {
|
Sk2DPathEffect.h | 21 #include "SkMatrix.h" 26 Sk2DPathEffect(const SkMatrix& mat); 56 const SkMatrix& getMatrix() const { return fMatrix; } 62 SkMatrix fMatrix, fInverse;
|
/external/skia/include/utils/ |
SkLayer.h | 23 #include "SkMatrix.h" 42 const SkMatrix& getMatrix() const { return fMatrix; } 43 const SkMatrix& getChildrenMatrix() const { return fChildrenMatrix; } 53 void setMatrix(const SkMatrix&); 54 void setChildrenMatrix(const SkMatrix&); 98 void getLocalTransform(SkMatrix* matrix) const; 104 void localToGlobal(SkMatrix* matrix) const; 126 SkMatrix fMatrix; 127 SkMatrix fChildrenMatrix;
|
/external/skia/tests/ |
MatrixTest.cpp | 2 #include "SkMatrix.h" 16 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { 26 static bool is_identity(const SkMatrix& m) { 27 SkMatrix identity; 32 static void test_flatten(skiatest::Reporter* reporter, const SkMatrix& m) { 34 char buffer[SkMatrix::kMaxFlattenSize + 100]; 38 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize); 40 SkMatrix m2; 45 char buffer2[SkMatrix::kMaxFlattenSize + 100] [all...] |
/external/skia/samplecode/ |
SampleOverflow.cpp | 13 SkMatrix matrix; 27 matrix.set(SkMatrix::kMTransX, SkFloatToFixed(-1153.28)); 28 matrix.set(SkMatrix::kMTransY, SkFloatToFixed(1180.50)); 30 matrix.set(SkMatrix::kMScaleX, SkFloatToFixed(0.177171)); 31 matrix.set(SkMatrix::kMScaleY, SkFloatToFixed(0.177043)); 33 matrix.set(SkMatrix::kMSkewX, SkFloatToFixed(0.126968)); 34 matrix.set(SkMatrix::kMSkewY, SkFloatToFixed(-0.126876)); 36 matrix.set(SkMatrix::kMPersp0, SkFloatToFixed(0.0)); 37 matrix.set(SkMatrix::kMPersp1, SkFloatToFixed(0.0));
|
/external/skia/src/animator/ |
SkDrawMatrix.h | 22 #include "SkMatrix.h" 39 SkMatrix& getMatrix(); 46 void concat(SkMatrix& inMatrix) { 57 void set(SkMatrix& src) { 74 SkMatrix fConcat; 75 SkMatrix fMatrix;
|
/external/skia/src/core/ |
SkMatrix.cpp | 1 /* libs/corecg/SkMatrix.cpp 18 #include "SkMatrix.h" 39 void SkMatrix::reset() { 67 uint8_t SkMatrix::computeTypeMask() const { 95 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); 96 int m01 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewX]); 97 int m10 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewY]); 98 int m11 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleY]); 134 bool operator==(const SkMatrix& a, const SkMatrix& b) [all...] |
/external/skia/include/pdf/ |
SkPDFShader.h | 22 #include "SkMatrix.h" 58 const SkMatrix& matrix, 67 SkMatrix fCanvasTransform; 68 SkMatrix fShaderTransform; 75 explicit State(const SkShader& shader, const SkMatrix& canvasTransform,
|