diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 14:04:17 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 14:04:17 -0800 |
commit | a23c4e24d873b11674987f97f1946e1c4d97e782 (patch) | |
tree | 17c8c744b078bbdefd9c1b5c49b8aaec4a26e2d9 /samplecode | |
parent | 463ef6721e6079555ca17ca6e40bcf6e45e54707 (diff) | |
download | external_skia-a23c4e24d873b11674987f97f1946e1c4d97e782.zip external_skia-a23c4e24d873b11674987f97f1946e1c4d97e782.tar.gz external_skia-a23c4e24d873b11674987f97f1946e1c4d97e782.tar.bz2 |
auto import from //depot/cupcake/@132589
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleRegion.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/samplecode/SampleRegion.cpp b/samplecode/SampleRegion.cpp index fd20a81..d3fe062 100644 --- a/samplecode/SampleRegion.cpp +++ b/samplecode/SampleRegion.cpp @@ -219,24 +219,6 @@ protected: } this->drawBG(canvas); - if (false) { - SkPaint paint; - paint.setAntiAlias(true); - SkBitmap bm; - bm.setConfig(SkBitmap::kA8_Config, 100, 100); - bm.allocPixels(); - bm.eraseColor(0); - SkCanvas c(bm); - c.drawCircle(50, 50, 50, paint); - - paint.setColor(SK_ColorBLUE); - canvas->drawBitmap(bm, 0, 0, &paint); - canvas->scale(SK_Scalar1/2, SK_Scalar1/2); - paint.setColor(SK_ColorRED); - canvas->drawBitmap(bm, 0, 0, &paint); - return; - } - #ifdef SK_DEBUG if (true) { SkRegion a, b, c; |