| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef SKDRAWCOMMAND_H_ | 9 #ifndef SKDRAWCOMMAND_H_ |
| 10 #define SKDRAWCOMMAND_H_ | 10 #define SKDRAWCOMMAND_H_ |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 SkScalar x() const { return fDx; } | 550 SkScalar x() const { return fDx; } |
| 551 SkScalar y() const { return fDy; } | 551 SkScalar y() const { return fDy; } |
| 552 | 552 |
| 553 private: | 553 private: |
| 554 SkScalar fDx; | 554 SkScalar fDx; |
| 555 SkScalar fDy; | 555 SkScalar fDy; |
| 556 | 556 |
| 557 typedef SkDrawCommand INHERITED; | 557 typedef SkDrawCommand INHERITED; |
| 558 }; | 558 }; |
| 559 | 559 |
| 560 class SkPushCullCommand : public SkDrawCommand { |
| 561 public: |
| 562 SkPushCullCommand(const SkRect&); |
| 563 virtual void execute(SkCanvas*) SK_OVERRIDE; |
| 564 |
| 565 private: |
| 566 SkRect fCullRect; |
| 567 |
| 568 typedef SkDrawCommand INHERITED; |
| 569 }; |
| 570 |
| 571 class SkPopCullCommand : public SkDrawCommand { |
| 572 public: |
| 573 SkPopCullCommand(); |
| 574 virtual void execute(SkCanvas* canvas) SK_OVERRIDE; |
| 575 |
| 576 private: |
| 577 typedef SkDrawCommand INHERITED; |
| 578 }; |
| 579 |
| 560 #endif | 580 #endif |
| OLD | NEW |