Fix debugger handling of clip rrects
https://codereview.appspot.com/7135053/ git-svn-id: http://skia.googlecode.com/svn/trunk@7252 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
2b16570bda
commit
2da95b2ac5
@ -127,7 +127,7 @@ void ClipRect::execute(SkCanvas* canvas) {
|
||||
}
|
||||
|
||||
ClipRRect::ClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) {
|
||||
this->fRRect = &rrect;
|
||||
this->fRRect = rrect;
|
||||
this->fOp = op;
|
||||
this->fDoAA = doAA;
|
||||
this->fDrawType = CLIP_RRECT;
|
||||
@ -138,7 +138,7 @@ ClipRRect::ClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) {
|
||||
}
|
||||
|
||||
void ClipRRect::execute(SkCanvas* canvas) {
|
||||
canvas->clipRRect(*this->fRRect, this->fOp, this->fDoAA);
|
||||
canvas->clipRRect(this->fRRect, this->fOp, this->fDoAA);
|
||||
}
|
||||
|
||||
Concat::Concat(const SkMatrix& matrix) {
|
||||
|
@ -103,7 +103,7 @@ public:
|
||||
ClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA);
|
||||
virtual void execute(SkCanvas* canvas) SK_OVERRIDE;
|
||||
private:
|
||||
const SkRRect* fRRect;
|
||||
SkRRect fRRect;
|
||||
SkRegion::Op fOp;
|
||||
bool fDoAA;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user