| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2006 The Android Open Source Project | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 | |
| 9 #ifndef SkSVGGradient_DEFINED | |
| 10 #define SkSVGGradient_DEFINED | |
| 11 | |
| 12 #include "SkSVGElements.h" | |
| 13 | |
| 14 class SkSVGGradient : public SkSVGElement { | |
| 15 public: | |
| 16 SkSVGGradient(); | |
| 17 virtual SkSVGElement* getGradient(); | |
| 18 virtual bool isDef(); | |
| 19 virtual bool isNotDef(); | |
| 20 virtual void write(SkSVGParser& , SkString& color); | |
| 21 protected: | |
| 22 void translate(SkSVGParser& , bool defState); | |
| 23 void translateGradientUnits(SkString& units); | |
| 24 private: | |
| 25 typedef SkSVGElement INHERITED; | |
| 26 }; | |
| 27 | |
| 28 #endif // SkSVGGradient_DEFINED | |
| OLD | NEW |