aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-06-24 12:41:42 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-06-24 12:41:42 +0000
commit0baf19375466cfc24c96532df406e7c5b1d1aae8 (patch)
treed18cd9b7858d84963007dab7df0f5243de7d03b7 /include/core/SkPaint.h
parentd66eef71012bdbc14834c12c8af1c946fe0d8499 (diff)
detect nearly translate-only matrices when drawing bitmaps (for speed)
rename setXfermode(Mode) to setXfermodeMode(Mode) for sanity fix memory leak in setXfermode(Mode) git-svn-id: http://skia.googlecode.com/svn/trunk@239 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index a721479399..5a01cd6057 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -460,7 +460,7 @@ public:
paint, returning the mode that was set. If the Mode is SrcOver, then
the paint's xfermode is set to null.
*/
- SkXfermode* setXfermode(SkXfermode::Mode);
+ SkXfermode* setXfermodeMode(SkXfermode::Mode);
/** Get the paint's patheffect object.
<p />