⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blurfilter_as.cpp

📁 独立flash播放器!This the developer’s wiki for Gnash and related projects. Content on these pages may not
💻 CPP
字号:
// //   Copyright (C) 2007, 2008 Free Software Foundation, Inc.// // This program is free software; you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation; either version 3 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; if not, write to the Free Software// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA#include "as_object.h"#include "BlurFilter.h"#include "VM.h"#include "builtin_function.h"// These _must_ be defined.#define phelp_helper BlurFilter_as#include "prophelper.h"#include "BitmapFilter_as.h"namespace gnash {class BlurFilter_as : public as_object, public BlurFilter{public:    phelp_gs(blurX);    phelp_gs(blurY);    phelp_gs(quality);    phelp_i(bitmap_clone);private:    phelp_base_def;};phelp_base_imp((bitmapFilter_interface()), BlurFilter)// Filters are property based.phelp_i_attach_beginphelp_i_replace(clone, bitmap_clone);phelp_i_attach_endphelp_gs_attach_beginphelp_gs_attach(blurX);phelp_gs_attach(blurY);phelp_gs_attach(quality);phelp_gs_attach_endphelp_property(float, number<float>, blurX)phelp_property(float, number<float>, blurY)phelp_property(boost::uint8_t, number<boost::uint8_t>, quality)easy_clone(BlurFilter_as)as_valueBlurFilter_as::ctor(const fn_call& /*fn*/){    boost::intrusive_ptr<as_object> obj = new BlurFilter_as(BlurFilter_as::Interface());    BlurFilter_as::attachProperties(*obj);    return as_value(obj);}} // Namespace gnash

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -