diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2008-12-23 18:50:15 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2008-12-23 18:50:15 +0000 |
commit | 4bdd5f60f9bc900c7f5b9e2367566e1d65b5f528 (patch) | |
tree | c3b8322fc7b99cbbf1480769884e09446a75614b | |
parent | da342a891779e0839a645d6634a2f0100bf2c0d6 (diff) |
remove old test that assumed fBM had been decoded
git-svn-id: http://skia.googlecode.com/svn/trunk@49 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | samplecode/SampleNinePatch.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/samplecode/SampleNinePatch.cpp b/samplecode/SampleNinePatch.cpp index 5c075b52e1..2fd60a28e3 100644 --- a/samplecode/SampleNinePatch.cpp +++ b/samplecode/SampleNinePatch.cpp @@ -39,13 +39,6 @@ protected: dst.offset(SkIntToScalar(2), SkIntToScalar(2)); SkNinePatch::DrawNine(canvas, dst, fBM, margins); - - int cx = fBM.width()/2; - int cy = fBM.height()/2; - SkPMColor pm = *fBM.getAddr32(cx, cy); - SkColor c = SkUnPreMultiply::PMColorToColor(pm); - SkColor pm2 = SkPreMultiplyColor(c); - //SkDebugf("--- pm %x c %x pm2 %x\n", pm, c, pm2); } virtual void onDraw(SkCanvas* canvas) { |