static void zoomAndPanAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { SVGViewElement* imp = V8SVGViewElement::toNative(info.Holder()); int v = toUInt32(value); imp->setZoomAndPan(v); return; }
void JSSVGViewElement::putValueProperty(ExecState* exec, int token, JSValue* value, int /*attr*/) { switch (token) { case ZoomAndPanAttrNum: { SVGViewElement* imp = static_cast<SVGViewElement*>(impl()); imp->setZoomAndPan(value->toInt32(exec)); break; } } }
void setJSSVGViewElementZoomAndPan(ExecState* exec, JSObject* thisObject, JSValue value) { SVGViewElement* imp = static_cast<SVGViewElement*>(static_cast<JSSVGViewElement*>(thisObject)->impl()); imp->setZoomAndPan(value.toInt32(exec)); }