HomeSort by relevance Sort by last modified time
    Searched refs:SkMatrix (Results 26 - 50 of 472) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/skia/src/core/
SkMatrix.cpp 8 #include "SkMatrix.h"
29 void SkMatrix::reset() {
57 uint8_t SkMatrix::computePerspectiveTypeMask() const {
81 uint8_t SkMatrix::computeTypeMask() const {
108 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]);
109 int m01 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewX]);
110 int m10 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewY]);
111 int m11 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleY]);
160 bool operator==(const SkMatrix& a, const SkMatrix& b)
    [all...]
SkPictureStateTree.h 15 #include "SkMatrix.h"
36 SkMatrix* fMatrix;
62 void appendTransform(const SkMatrix& trans);
90 const SkMatrix fPlaybackMatrix;
93 SkMatrix* fCurrentMatrix;
125 SkMatrix* fMatrix;
SkBitmapProcState.cpp 37 static bool just_trans_clamp(const SkMatrix& matrix, const SkBitmap& bitmap) {
38 SkMatrix::TypeMask mask = matrix.getType();
40 if (mask & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) {
43 if (mask & SkMatrix::kScale_Mask) {
44 SkScalar sx = matrix[SkMatrix::kMScaleX];
45 SkScalar sy = matrix[SkMatrix::kMScaleY];
56 static bool just_trans_general(const SkMatrix& matrix) {
57 SkMatrix::TypeMask mask = matrix.getType();
59 if (mask & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask))
    [all...]
  /external/skia/tests/
MatrixTest.cpp 10 #include "SkMatrix.h"
25 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) {
36 const SkMatrix& a,
37 const SkMatrix& b) {
78 static bool is_identity(const SkMatrix& m) {
79 SkMatrix identity;
86 SkMatrix matrix;
90 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
91 REPORTER_ASSERT(reporter, SkMatrix::kIdentity_Mask == matrix.getType())
    [all...]
  /external/skia/legacy/include/core/
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* fExtMatrix; // optiona
    [all...]
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 {
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& mat, SkScalar x, SkScalar y
    [all...]
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;
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
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 localToGlobal = layer->localToGlobal()
    [all...]
  /external/skia/legacy/src/core/
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& b)
    [all...]
  /external/skia/include/effects/
Sk2DPathEffect.h 13 #include "SkMatrix.h"
17 Sk2DPathEffect(const SkMatrix& mat);
41 const SkMatrix& getMatrix() const { return fMatrix; }
48 SkMatrix fMatrix, fInverse;
61 SkLine2DPathEffect(SkScalar width, const SkMatrix& matrix)
88 SkPath2DPathEffect(const SkMatrix&, const SkPath&);
SkTestImageFilters.h 17 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
19 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) SK_OVERRIDE;
38 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
SkMergeImageFilter.h 29 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
31 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) SK_OVERRIDE;
SkBitmapSource.h 23 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
SkStippleMaskFilter.h 22 const SkMatrix& matrix,
  /external/skia/legacy/src/animator/
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;
  /external/skia/src/animator/
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;
  /external/skia/include/core/
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 {
224 bool setConcat(const SkMatrix& a, const SkMatrix& b);
257 bool preConcat(const SkMatrix& other);
294 bool postConcat(const SkMatrix& other);
347 bool SK_WARN_UNUSED_RESULT invert(SkMatrix* inverse) const {
473 typedef void (*MapXYProc)(const SkMatrix& mat, SkScalar x, SkScalar y
    [all...]
SkShader.h 16 #include "SkMatrix.h"
48 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; }
54 void setLocalMatrix(const SkMatrix& localM) { fLocalMatrix = localM; }
149 const SkMatrix& matrix);
262 virtual BitmapType asABitmap(SkBitmap* outTexture, SkMatrix* outMatrix,
351 static MatrixClass ComputeMatrixClass(const SkMatrix&);
356 const SkMatrix& getTotalInverse() const { return fTotalInverse; }
362 SkMatrix fLocalMatrix;
363 SkMatrix fTotalInverse;
SkMaskFilter.h 19 class SkMatrix;
58 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
128 const SkMatrix&,
140 bool filterPath(const SkPath& devPath, const SkMatrix& devMatrix,
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 const SkMaskFilter*, const SkMatrix* filterMatrix,
98 static RectType ComputeRectType(const SkPaint&, const SkMatrix&,
120 const SkMatrix* fMatrix; // required
  /external/skia/include/views/
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;
SkWindow.h 13 #include "SkMatrix.h"
59 const SkMatrix& getMatrix() const { return fMatrix; }
60 void setMatrix(const SkMatrix&);
61 void preConcat(const SkMatrix&);
62 void postConcat(const SkMatrix&);
98 SkMatrix fMatrix;
  /external/skia/legacy/include/effects/
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&);
  /external/skia/legacy/include/views/
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;
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;

Completed in 321 milliseconds

12 3 4 5 6 7 8 91011>>