diff options
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); -} - |