| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 | 8 |
| 9 #ifndef SkShader_DEFINED | 9 #ifndef SkShader_DEFINED |
| 10 #define SkShader_DEFINED | 10 #define SkShader_DEFINED |
| 11 | 11 |
| 12 #include "SkBitmap.h" | 12 #include "SkBitmap.h" |
| 13 #include "SkFlattenable.h" | 13 #include "SkFlattenable.h" |
| 14 #include "SkMask.h" | 14 #include "SkMask.h" |
| 15 #include "SkMatrix.h" | 15 #include "SkMatrix.h" |
| 16 #include "SkPaint.h" | 16 #include "SkPaint.h" |
| 17 #include "../gpu/GrColor.h" | 17 #include "GrColor.h" |
| 18 | 18 |
| 19 class SkPath; | 19 class SkPath; |
| 20 class SkPicture; | 20 class SkPicture; |
| 21 class SkXfermode; | 21 class SkXfermode; |
| 22 class GrContext; | 22 class GrContext; |
| 23 class GrEffect; | 23 class GrEffect; |
| 24 | 24 |
| 25 /** \class SkShader | 25 /** \class SkShader |
| 26 * | 26 * |
| 27 * Shaders specify the source color(s) for what is being drawn. If a paint | 27 * Shaders specify the source color(s) for what is being drawn. If a paint |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 // constructors. | 470 // constructors. |
| 471 SkMatrix fLocalMatrix; | 471 SkMatrix fLocalMatrix; |
| 472 | 472 |
| 473 // So the SkLocalMatrixShader can whack fLocalMatrix in its SkReadBuffer con
structor. | 473 // So the SkLocalMatrixShader can whack fLocalMatrix in its SkReadBuffer con
structor. |
| 474 friend class SkLocalMatrixShader; | 474 friend class SkLocalMatrixShader; |
| 475 | 475 |
| 476 typedef SkFlattenable INHERITED; | 476 typedef SkFlattenable INHERITED; |
| 477 }; | 477 }; |
| 478 | 478 |
| 479 #endif | 479 #endif |
| OLD | NEW |