remove obsolete header
git-svn-id: http://skia.googlecode.com/svn/trunk@544 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
573a42d025
commit
337d42626b
@ -1,54 +0,0 @@
|
||||
#ifndef SkDrawable_DEFINED
|
||||
#define SkDrawable_DEFINED
|
||||
|
||||
#include "SkFlattenable.h"
|
||||
#include "SkMatrix.h"
|
||||
|
||||
class SkCanvas;
|
||||
struct SkRect;
|
||||
|
||||
class SkDrawable : public SkFlattenable {
|
||||
public:
|
||||
SkDrawable();
|
||||
virtual ~SkDrawable();
|
||||
|
||||
void getMatrix(SkMatrix*) const;
|
||||
void setMatrix(const SkMatrix&);
|
||||
void resetMatrix();
|
||||
|
||||
void draw(SkCanvas*);
|
||||
|
||||
void inval() {}
|
||||
|
||||
SkDrawable* attachChildToFront(SkDrawable* child);
|
||||
SkDrawable* attachChildToBack(SkDrawable* child);
|
||||
|
||||
SkDrawable* getParent() const { return fParent; }
|
||||
void detachFromParent();
|
||||
void detachAllChildren();
|
||||
|
||||
class B2FIter {
|
||||
public:
|
||||
B2FIter(const SkDrawable* parent);
|
||||
SkDrawable* next();
|
||||
private:
|
||||
SkDrawable* fFirstChild;
|
||||
SkDrawable* fChild;
|
||||
};
|
||||
|
||||
protected:
|
||||
virtual void onDraw(SkCanvas*) {}
|
||||
|
||||
private:
|
||||
SkMatrix fMatrix;
|
||||
|
||||
SkDrawable* fParent;
|
||||
SkDrawable* fFirstChild;
|
||||
SkDrawable* fNextSibling;
|
||||
SkDrawable* fPrevSibling;
|
||||
|
||||
typedef SkFlattenable INHERITED;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user