| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 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 #include "gm.h" | 8 #include "gm.h" |
| 9 #include "SkSurface.h" | 9 #include "SkSurface.h" |
| 10 | 10 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 canvas->drawImageNine(fImage.get(), fCenter, r.makeOffset(36
0, 0), &paint); | 103 canvas->drawImageNine(fImage.get(), fCenter, r.makeOffset(36
0, 0), &paint); |
| 104 } | 104 } |
| 105 } | 105 } |
| 106 } | 106 } |
| 107 } | 107 } |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 typedef skiagm::GM INHERITED; | 110 typedef skiagm::GM INHERITED; |
| 111 }; | 111 }; |
| 112 DEF_GM( return new NinePatchStretchGM; ) | 112 DEF_GM( return new NinePatchStretchGM; ) |
| 113 | |
| OLD | NEW |