180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru/*
380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * Copyright 2006 The Android Open Source Project
480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru *
580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * Use of this source code is governed by a BSD-style license that can be
680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * found in the LICENSE file.
780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru */
880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#ifndef SkTextToPath_DEFINED
1180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#define SkTextToPath_DEFINED
1280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkDrawPath.h"
1480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkMemberInfo.h"
1580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruclass SkDrawPaint;
1780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruclass SkDrawPath;
1880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruclass SkText;
1980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
2080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruclass SkTextToPath : public SkDrawable {
2180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    DECLARE_MEMBER_INFO(TextToPath);
2280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    SkTextToPath();
2380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    virtual bool draw(SkAnimateMaker& );
2480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    virtual void onEndElement(SkAnimateMaker& );
2580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruprivate:
2680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    SkDrawPaint* paint;
2780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    SkDrawPath* path;
2880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    SkText* text;
2980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru};
3080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
3180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#endif // SkTextToPath_DEFINED
32