3 * Copyright 2006 The Android Open Source Project
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
10 #ifndef SkDraw3D_DEFINED
11 #define SkDraw3D_DEFINED
14 #include "SkADrawable.h"
15 #include "SkMemberInfo.h"
20 DECLARE_NO_VIRTUALS_MEMBER_INFO(3D_Point);
26 class Sk3D_Camera : public SkADrawable {
27 DECLARE_MEMBER_INFO(3D_Camera);
29 virtual ~Sk3D_Camera();
30 bool draw(SkAnimateMaker& ) SK_OVERRIDE;
38 class Sk3D_Patch : public SkDisplayable {
39 DECLARE_MEMBER_INFO(3D_Patch);
41 virtual void executeFunction(SkDisplayable* , int index,
42 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
43 SkScriptValue* ) SK_OVERRIDE;
44 const SkFunctionParamType* getFunctionsParameters() SK_OVERRIDE;
46 static const SkFunctionParamType fFunctionParameters[];
47 friend class Sk3D_Camera;
50 #endif // SkDraw3D_DEFINED