| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 SkScalar x() const { return fDx; } | 564 SkScalar x() const { return fDx; } |
| 565 SkScalar y() const { return fDy; } | 565 SkScalar y() const { return fDy; } |
| 566 | 566 |
| 567 private: | 567 private: |
| 568 SkScalar fDx; | 568 SkScalar fDx; |
| 569 SkScalar fDy; | 569 SkScalar fDy; |
| 570 | 570 |
| 571 typedef SkDrawCommand INHERITED; | 571 typedef SkDrawCommand INHERITED; |
| 572 }; | 572 }; |
| 573 | 573 |
| 574 class SkPushCullCommand : public SkDrawCommand { |
| 575 public: |
| 576 SkPushCullCommand(const SkRect&); |
| 577 virtual void execute(SkCanvas*) SK_OVERRIDE; |
| 578 |
| 579 private: |
| 580 SkRect fCullRect; |
| 581 |
| 582 typedef SkDrawCommand INHERITED; |
| 583 }; |
| 584 |
| 585 class SkPopCullCommand : public SkDrawCommand { |
| 586 public: |
| 587 SkPopCullCommand(); |
| 588 virtual void execute(SkCanvas* canvas) SK_OVERRIDE; |
| 589 |
| 590 private: |
| 591 typedef SkDrawCommand INHERITED; |
| 592 }; |
| 593 |
| 574 #endif | 594 #endif |
| OLD | NEW |