void setJSSVGPathSegLinetoAbsY(ExecState* exec, JSObject* thisObject, JSValue value) { SVGPathSegLinetoAbs* imp = static_cast<SVGPathSegLinetoAbs*>(static_cast<JSSVGPathSegLinetoAbs*>(thisObject)->impl()); imp->setY(value.toFloat(exec)); if (static_cast<JSSVGPathSegLinetoAbs*>(thisObject)->context()) static_cast<JSSVGPathSegLinetoAbs*>(thisObject)->context()->svgAttributeChanged(static_cast<JSSVGPathSegLinetoAbs*>(thisObject)->impl()->associatedAttributeName()); }
static void yAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { SVGPathSegLinetoAbs* imp = V8SVGPathSegLinetoAbs::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setY(v); return; }
void JSSVGPathSegLinetoAbs::putValueProperty(ExecState* exec, int token, JSValue* value) { switch (token) { case XAttrNum: { SVGPathSegLinetoAbs* imp = static_cast<SVGPathSegLinetoAbs*>(impl()); imp->setX(value->toFloat(exec)); if (context()) context()->svgAttributeChanged(impl()->associatedAttributeName()); break; } case YAttrNum: { SVGPathSegLinetoAbs* imp = static_cast<SVGPathSegLinetoAbs*>(impl()); imp->setY(value->toFloat(exec)); if (context()) context()->svgAttributeChanged(impl()->associatedAttributeName()); break; } } }