diff options
author | 2009-01-06 15:03:30 +0000 | |
---|---|---|
committer | 2009-01-06 15:03:30 +0000 | |
commit | 6e073b9e2b70d6bbf8a06050fff1364827204f08 (patch) | |
tree | 9443f1efab27a0d5172b3edb44daac75721c9f84 /src/core/SkPictureRecord.cpp | |
parent | bd700c391dd45acd8ea1a40321789c9d92a14bb8 (diff) |
remove defines for strcasecmp (issue #5)
support setMatrix in pictures
git-svn-id: http://skia.googlecode.com/svn/trunk@53 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPictureRecord.cpp')
-rw-r--r-- | src/core/SkPictureRecord.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index 6e7c645ff4..4f236d6833 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp @@ -105,6 +105,14 @@ bool SkPictureRecord::concat(const SkMatrix& matrix) { return this->INHERITED::concat(matrix); } +void SkPictureRecord::setMatrix(const SkMatrix& matrix) { + validate(); + addDraw(SET_MATRIX); + addMatrix(matrix); + validate(); + this->INHERITED::setMatrix(matrix); +} + bool SkPictureRecord::clipRect(const SkRect& rect, SkRegion::Op op) { addDraw(CLIP_RECT); addRect(rect); |