diff options
author | Baligh Uddin <baligh@google.com> | 2013-11-01 16:01:55 -0700 |
---|---|---|
committer | Baligh Uddin <baligh@google.com> | 2013-11-01 16:01:55 -0700 |
commit | ec502fb532582da0f3141560bc451df3902ce463 (patch) | |
tree | bfd8e692b73dee4749734ca317b4707988dfae3a /animator/SkSnapshot.h | |
parent | 5588ded0ae11d6fa36e1771747b82b7831db906b (diff) | |
parent | 53a521c76400a3e6d64dc96396390b746ec1e48e (diff) | |
download | src-idea133.tar.gz |
Merge remote-tracking branch 'origin/kitkat-dev'chromium_org-pre-replicationidea133
Diffstat (limited to 'animator/SkSnapshot.h')
-rw-r--r-- | animator/SkSnapshot.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/animator/SkSnapshot.h b/animator/SkSnapshot.h new file mode 100644 index 00000000..5ae6917a --- /dev/null +++ b/animator/SkSnapshot.h @@ -0,0 +1,30 @@ + +/* + * Copyright 2006 The Android Open Source Project + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + + +#ifndef SkSnapShot_DEFINED +#define SkSnapShot_DEFINED + +#include "SkDrawable.h" +#include "SkImageDecoder.h" +#include "SkMemberInfo.h" +#include "SkString.h" + +class SkSnapshot: public SkDrawable { + DECLARE_MEMBER_INFO(Snapshot); + SkSnapshot(); + virtual bool draw(SkAnimateMaker& ); + private: + SkString filename; + SkScalar quality; + SkBool sequence; + int /*SkImageEncoder::Type*/ type; + int fSeqVal; +}; + +#endif // SkSnapShot_DEFINED |