static void yAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegCurvetoQuadraticSmoothAbs.y._set"); SVGPathSegCurvetoQuadraticSmoothAbs* imp = V8SVGPathSegCurvetoQuadraticSmoothAbs::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 setJSSVGPathSegCurvetoQuadraticSmoothAbsY(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegCurvetoQuadraticSmoothAbs* castedThis = static_cast<JSSVGPathSegCurvetoQuadraticSmoothAbs*>(thisObject); SVGPathSegCurvetoQuadraticSmoothAbs* imp = static_cast<SVGPathSegCurvetoQuadraticSmoothAbs*>(castedThis->impl()); imp->setY(value.toFloat(exec)); }