OLD | NEW |
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 SkDrawPaint_DEFINED | 10 #ifndef SkDrawPaint_DEFINED |
(...skipping 14 matching lines...) Expand all Loading... |
25 class SkDrawPaint : public SkADrawable { | 25 class SkDrawPaint : public SkADrawable { |
26 DECLARE_DRAW_MEMBER_INFO(Paint); | 26 DECLARE_DRAW_MEMBER_INFO(Paint); |
27 SkDrawPaint(); | 27 SkDrawPaint(); |
28 virtual ~SkDrawPaint(); | 28 virtual ~SkDrawPaint(); |
29 virtual bool add(SkAnimateMaker* , SkDisplayable* child); | 29 virtual bool add(SkAnimateMaker* , SkDisplayable* child); |
30 SkDisplayable* deepCopy(SkAnimateMaker* ) override; | 30 SkDisplayable* deepCopy(SkAnimateMaker* ) override; |
31 bool draw(SkAnimateMaker& ) override; | 31 bool draw(SkAnimateMaker& ) override; |
32 #ifdef SK_DUMP_ENABLED | 32 #ifdef SK_DUMP_ENABLED |
33 void dump(SkAnimateMaker* ) override; | 33 void dump(SkAnimateMaker* ) override; |
34 #endif | 34 #endif |
35 virtual void executeFunction(SkDisplayable* target, int index, | 35 void executeFunction(SkDisplayable* target, int index, |
36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, | 36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, |
37 SkScriptValue* ) override; | 37 SkScriptValue* ) override; |
38 const SkFunctionParamType* getFunctionsParameters() override; | 38 const SkFunctionParamType* getFunctionsParameters() override; |
39 bool getProperty(int index, SkScriptValue* value) const override; | 39 bool getProperty(int index, SkScriptValue* value) const override; |
40 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* app
ly) override; | 40 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* app
ly) override; |
41 protected: | 41 protected: |
42 static const SkFunctionParamType fFunctionParameters[]; | 42 static const SkFunctionParamType fFunctionParameters[]; |
43 void setupPaint(SkPaint* paint) const; | 43 void setupPaint(SkPaint* paint) const; |
44 public: | 44 public: |
45 SkBool antiAlias; | 45 SkBool antiAlias; |
(...skipping 24 matching lines...) Expand all Loading... |
70 SkBool8 fOwnsShader; | 70 SkBool8 fOwnsShader; |
71 SkBool8 fOwnsTransferMode; | 71 SkBool8 fOwnsTransferMode; |
72 SkBool8 fOwnsTypeface; | 72 SkBool8 fOwnsTypeface; |
73 private: | 73 private: |
74 typedef SkADrawable INHERITED; | 74 typedef SkADrawable INHERITED; |
75 friend class SkTextToPath; | 75 friend class SkTextToPath; |
76 friend class SkSaveLayer; | 76 friend class SkSaveLayer; |
77 }; | 77 }; |
78 | 78 |
79 #endif // SkDrawPaint_DEFINED | 79 #endif // SkDrawPaint_DEFINED |
OLD | NEW |