Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Side by Side Diff: src/animator/SkDrawMatrix.h

Issue 764463002: rename SkDrawable to SkADrawable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDrawMatrix_DEFINED 10 #ifndef SkDrawMatrix_DEFINED
11 #define SkDrawMatrix_DEFINED 11 #define SkDrawMatrix_DEFINED
12 12
13 #include "SkDrawable.h" 13 #include "SkADrawable.h"
14 #include "SkMatrix.h" 14 #include "SkMatrix.h"
15 #include "SkMemberInfo.h" 15 #include "SkMemberInfo.h"
16 #include "SkIntArray.h" 16 #include "SkIntArray.h"
17 17
18 class SkMatrixPart; 18 class SkMatrixPart;
19 19
20 class SkDrawMatrix : public SkDrawable { 20 class SkDrawMatrix : public SkADrawable {
21 DECLARE_DRAW_MEMBER_INFO(Matrix); 21 DECLARE_DRAW_MEMBER_INFO(Matrix);
22 SkDrawMatrix(); 22 SkDrawMatrix();
23 virtual ~SkDrawMatrix(); 23 virtual ~SkDrawMatrix();
24 virtual bool addChild(SkAnimateMaker& , SkDisplayable* child) SK_OVERRIDE; 24 virtual bool addChild(SkAnimateMaker& , SkDisplayable* child) SK_OVERRIDE;
25 virtual bool childrenNeedDisposing() const; 25 virtual bool childrenNeedDisposing() const;
26 virtual void dirty(); 26 virtual void dirty();
27 virtual bool draw(SkAnimateMaker& ); 27 virtual bool draw(SkAnimateMaker& );
28 #ifdef SK_DUMP_ENABLED 28 #ifdef SK_DUMP_ENABLED
29 virtual void dump(SkAnimateMaker* ); 29 virtual void dump(SkAnimateMaker* );
30 #endif 30 #endif
(...skipping 30 matching lines...) Expand all
61 void translate(SkScalar x, SkScalar y) { 61 void translate(SkScalar x, SkScalar y) {
62 fMatrix.preTranslate(x, y); 62 fMatrix.preTranslate(x, y);
63 } 63 }
64 private: 64 private:
65 SkTDScalarArray matrix; 65 SkTDScalarArray matrix;
66 SkMatrix fConcat; 66 SkMatrix fConcat;
67 SkMatrix fMatrix; 67 SkMatrix fMatrix;
68 SkTDMatrixPartArray fParts; 68 SkTDMatrixPartArray fParts;
69 SkBool8 fChildHasID; 69 SkBool8 fChildHasID;
70 SkBool8 fDirty; 70 SkBool8 fDirty;
71 typedef SkDrawable INHERITED; 71 typedef SkADrawable INHERITED;
72 }; 72 };
73 73
74 #endif // SkDrawMatrix_DEFINED 74 #endif // SkDrawMatrix_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698