Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(924)

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

Issue 6843134: Fix clang 'overloaded-virtual' warnings. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 12 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | src/animator/SkDrawGradient.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SkDrawGradient_DEFINED 10 #ifndef SkDrawGradient_DEFINED
11 #define SkDrawGradient_DEFINED 11 #define SkDrawGradient_DEFINED
12 12
13 #include "SkDrawColor.h" 13 #include "SkDrawColor.h"
14 #include "SkDrawShader.h" 14 #include "SkDrawShader.h"
15 #include "SkIntArray.h" 15 #include "SkIntArray.h"
16 16
17 class SkUnitMapper; 17 class SkUnitMapper;
18 18
19 class SkDrawGradient : public SkDrawShader { 19 class SkDrawGradient : public SkDrawShader {
20 DECLARE_PRIVATE_MEMBER_INFO(DrawGradient); 20 DECLARE_PRIVATE_MEMBER_INFO(DrawGradient);
21 SkDrawGradient(); 21 SkDrawGradient();
22 virtual ~SkDrawGradient(); 22 virtual ~SkDrawGradient();
23 virtual bool add(SkAnimateMaker& , SkDisplayable* child) SK_OVERRIDE; 23 virtual bool addChild(SkAnimateMaker& , SkDisplayable* child) SK_OVERRIDE;
24 #ifdef SK_DUMP_ENABLED 24 #ifdef SK_DUMP_ENABLED
25 virtual void dumpRest(SkAnimateMaker*); 25 virtual void dumpRest(SkAnimateMaker*);
26 #endif 26 #endif
27 virtual void onEndElement(SkAnimateMaker& ); 27 virtual void onEndElement(SkAnimateMaker& );
28 protected: 28 protected:
29 SkTDScalarArray offsets; 29 SkTDScalarArray offsets;
30 SkString unitMapper; 30 SkString unitMapper;
31 SkTDColorArray fColors; 31 SkTDColorArray fColors;
32 SkTDDrawColorArray fDrawColors; 32 SkTDDrawColorArray fDrawColors;
33 SkUnitMapper* fUnitMapper; 33 SkUnitMapper* fUnitMapper;
(...skipping 25 matching lines...) Expand all
59 virtual SkShader* getShader(); 59 virtual SkShader* getShader();
60 protected: 60 protected:
61 SkPoint center; 61 SkPoint center;
62 SkScalar radius; 62 SkScalar radius;
63 private: 63 private:
64 typedef SkDrawGradient INHERITED; 64 typedef SkDrawGradient INHERITED;
65 }; 65 };
66 66
67 #endif // SkDrawGradient_DEFINED 67 #endif // SkDrawGradient_DEFINED
68 68
OLDNEW
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | src/animator/SkDrawGradient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b