static void xAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegCurvetoQuadraticSmoothAbs.x._set"); SVGPathSegCurvetoQuadraticSmoothAbs* imp = V8SVGPathSegCurvetoQuadraticSmoothAbs::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setX(v); if (SVGElement* context = V8Proxy::svgContext(imp)) context->svgAttributeChanged(imp->associatedAttributeName()); return; }
void setJSSVGPathSegCurvetoQuadraticSmoothAbsX(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegCurvetoQuadraticSmoothAbs* castedThis = static_cast<JSSVGPathSegCurvetoQuadraticSmoothAbs*>(thisObject); SVGPathSegCurvetoQuadraticSmoothAbs* imp = static_cast<SVGPathSegCurvetoQuadraticSmoothAbs*>(castedThis->impl()); imp->setX(value.toFloat(exec)); }