diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:36 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:36 -0800 |
commit | 6eb364108744656fcd23a96a478aa772cd4e85bc (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/views/SkBGViewArtist.cpp | |
parent | a23c4e24d873b11674987f97f1946e1c4d97e782 (diff) | |
download | external_skia-6eb364108744656fcd23a96a478aa772cd4e85bc.zip external_skia-6eb364108744656fcd23a96a478aa772cd4e85bc.tar.gz external_skia-6eb364108744656fcd23a96a478aa772cd4e85bc.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'src/views/SkBGViewArtist.cpp')
-rw-r--r-- | src/views/SkBGViewArtist.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/views/SkBGViewArtist.cpp b/src/views/SkBGViewArtist.cpp deleted file mode 100644 index 07da123..0000000 --- a/src/views/SkBGViewArtist.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "SkBGViewArtist.h" -#include "SkCanvas.h" -#include "SkParsePaint.h" - -SkBGViewArtist::SkBGViewArtist(SkColor c) -{ - fPaint.setColor(c); -} - -SkBGViewArtist::~SkBGViewArtist() -{ -} - -void SkBGViewArtist::onDraw(SkView*, SkCanvas* canvas) -{ - // only works for views that are clipped their bounds. - canvas->drawPaint(fPaint); -} - -void SkBGViewArtist::onInflate(const SkDOM& dom, const SkDOM::Node* node) -{ - SkPaint_Inflate(&fPaint, dom, node); -} - |