1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/animator/SkDrawClip.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 + 1.5 +/* 1.6 + * Copyright 2006 The Android Open Source Project 1.7 + * 1.8 + * Use of this source code is governed by a BSD-style license that can be 1.9 + * found in the LICENSE file. 1.10 + */ 1.11 + 1.12 + 1.13 +#ifndef SkDrawClip_DEFINED 1.14 +#define SkDrawClip_DEFINED 1.15 + 1.16 +#include "SkDrawable.h" 1.17 +#include "SkMemberInfo.h" 1.18 +#include "SkRegion.h" 1.19 + 1.20 +class SkDrawPath; 1.21 +class SkDrawRect; 1.22 + 1.23 +class SkDrawClip : public SkDrawable { 1.24 + DECLARE_DRAW_MEMBER_INFO(Clip); 1.25 + SkDrawClip(); 1.26 + virtual bool draw(SkAnimateMaker& ); 1.27 +private: 1.28 + SkDrawRect* rect; 1.29 + SkDrawPath* path; 1.30 +}; 1.31 + 1.32 +#endif // SkDrawClip_DEFINED