| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2015 Google Inc. | 2  * Copyright 2015 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 | 9 | 
| 10 #include "Resources.h" | 10 #include "Resources.h" | 
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 153 | 153 | 
| 154         canvas->rotate(5.f); | 154         canvas->rotate(5.f); | 
| 155         canvas->translate(xOffset, 0); | 155         canvas->translate(xOffset, 0); | 
| 156         canvas->scale(5.f, 1.f); | 156         canvas->scale(5.f, 1.f); | 
| 157         canvas->drawTextBlob(fBlob, 0, 0, paint); | 157         canvas->drawTextBlob(fBlob, 0, 0, paint); | 
| 158     } | 158     } | 
| 159 | 159 | 
| 160 private: | 160 private: | 
| 161     SkAutoTUnref<const SkTextBlob> fBlob; | 161     SkAutoTUnref<const SkTextBlob> fBlob; | 
| 162 | 162 | 
| 163     static const int kWidth = 1000; | 163     static constexpr int kWidth = 1000; | 
| 164     static const int kHeight = 1200; | 164     static constexpr int kHeight = 1200; | 
| 165 | 165 | 
| 166     typedef GM INHERITED; | 166     typedef GM INHERITED; | 
| 167 }; | 167 }; | 
| 168 | 168 | 
| 169 ////////////////////////////////////////////////////////////////////////////// | 169 ////////////////////////////////////////////////////////////////////////////// | 
| 170 | 170 | 
| 171 DEF_GM(return new TextBlobTransforms;) | 171 DEF_GM(return new TextBlobTransforms;) | 
| 172 } | 172 } | 
| OLD | NEW | 
|---|