static void yAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegLinetoVerticalAbs.y._set"); SVGPathSegLinetoVerticalAbs* imp = V8SVGPathSegLinetoVerticalAbs::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setY(v); if (SVGElement* context = V8Proxy::svgContext(imp)) context->svgAttributeChanged(imp->associatedAttributeName()); return; }
void setJSSVGPathSegLinetoVerticalAbsY(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegLinetoVerticalAbs* castedThis = static_cast<JSSVGPathSegLinetoVerticalAbs*>(thisObject); SVGPathSegLinetoVerticalAbs* imp = static_cast<SVGPathSegLinetoVerticalAbs*>(castedThis->impl()); imp->setY(value.toFloat(exec)); }