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 "SkAndroidSDKCanvas.h" | 8 #include "SkAndroidSDKCanvas.h" |
9 | 9 |
10 #include "SkColorFilter.h" | 10 #include "SkColorFilter.h" |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 fProxyTarget->clipPath(path, op, style); | 356 fProxyTarget->clipPath(path, op, style); |
357 } | 357 } |
358 | 358 |
359 void SkAndroidSDKCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) { | 359 void SkAndroidSDKCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) { |
360 fProxyTarget->clipRegion(region, op); | 360 fProxyTarget->clipRegion(region, op); |
361 } | 361 } |
362 | 362 |
363 void SkAndroidSDKCanvas::onDiscard() { fProxyTarget->discard(); } | 363 void SkAndroidSDKCanvas::onDiscard() { fProxyTarget->discard(); } |
364 | 364 |
365 | 365 |
OLD | NEW |