| Index: src/core/SkMatrixClipStateMgr.h
|
| diff --git a/src/core/SkMatrixClipStateMgr.h b/src/core/SkMatrixClipStateMgr.h
|
| index c4201f86edd55abba9351c41264d04a7aa943d8d..b2275831387beca1000544768ca5f71f18760488 100644
|
| --- a/src/core/SkMatrixClipStateMgr.h
|
| +++ b/src/core/SkMatrixClipStateMgr.h
|
| @@ -62,29 +62,29 @@ public:
|
| fMatrix.reset();
|
| }
|
|
|
| - bool preTranslate(SkScalar dx, SkScalar dy) {
|
| + void preTranslate(SkScalar dx, SkScalar dy) {
|
| fMatrixID = -1;
|
| - return fMatrix.preTranslate(dx, dy);
|
| + fMatrix.preTranslate(dx, dy);
|
| }
|
|
|
| - bool preScale(SkScalar sx, SkScalar sy) {
|
| + void preScale(SkScalar sx, SkScalar sy) {
|
| fMatrixID = -1;
|
| - return fMatrix.preScale(sx, sy);
|
| + fMatrix.preScale(sx, sy);
|
| }
|
|
|
| - bool preRotate(SkScalar degrees) {
|
| + void preRotate(SkScalar degrees) {
|
| fMatrixID = -1;
|
| - return fMatrix.preRotate(degrees);
|
| + fMatrix.preRotate(degrees);
|
| }
|
|
|
| - bool preSkew(SkScalar sx, SkScalar sy) {
|
| + void preSkew(SkScalar sx, SkScalar sy) {
|
| fMatrixID = -1;
|
| - return fMatrix.preSkew(sx, sy);
|
| + fMatrix.preSkew(sx, sy);
|
| }
|
|
|
| - bool preConcat(const SkMatrix& matrix) {
|
| + void preConcat(const SkMatrix& matrix) {
|
| fMatrixID = -1;
|
| - return fMatrix.preConcat(matrix);
|
| + fMatrix.preConcat(matrix);
|
| }
|
|
|
| void setMatrix(const SkMatrix& matrix) {
|
| @@ -285,29 +285,29 @@ public:
|
|
|
| void restore();
|
|
|
| - bool translate(SkScalar dx, SkScalar dy) {
|
| + void translate(SkScalar dx, SkScalar dy) {
|
| this->call(kMatrix_CallType);
|
| - return fCurMCState->fMatrixInfo->preTranslate(dx, dy);
|
| + fCurMCState->fMatrixInfo->preTranslate(dx, dy);
|
| }
|
|
|
| - bool scale(SkScalar sx, SkScalar sy) {
|
| + void scale(SkScalar sx, SkScalar sy) {
|
| this->call(kMatrix_CallType);
|
| - return fCurMCState->fMatrixInfo->preScale(sx, sy);
|
| + fCurMCState->fMatrixInfo->preScale(sx, sy);
|
| }
|
|
|
| - bool rotate(SkScalar degrees) {
|
| + void rotate(SkScalar degrees) {
|
| this->call(kMatrix_CallType);
|
| - return fCurMCState->fMatrixInfo->preRotate(degrees);
|
| + fCurMCState->fMatrixInfo->preRotate(degrees);
|
| }
|
|
|
| - bool skew(SkScalar sx, SkScalar sy) {
|
| + void skew(SkScalar sx, SkScalar sy) {
|
| this->call(kMatrix_CallType);
|
| - return fCurMCState->fMatrixInfo->preSkew(sx, sy);
|
| + fCurMCState->fMatrixInfo->preSkew(sx, sy);
|
| }
|
|
|
| - bool concat(const SkMatrix& matrix) {
|
| + void concat(const SkMatrix& matrix) {
|
| this->call(kMatrix_CallType);
|
| - return fCurMCState->fMatrixInfo->preConcat(matrix);
|
| + fCurMCState->fMatrixInfo->preConcat(matrix);
|
| }
|
|
|
| void setMatrix(const SkMatrix& matrix) {
|
|
|