JSValue jsSVGPathSegCurvetoQuadraticSmoothAbsY(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegCurvetoQuadraticSmoothAbs* castedThis = static_cast<JSSVGPathSegCurvetoQuadraticSmoothAbs*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGPathSegCurvetoQuadraticSmoothAbs* imp = static_cast<SVGPathSegCurvetoQuadraticSmoothAbs*>(castedThis->impl()); JSValue result = jsNumber(imp->y()); return result; }
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)); }
static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegCurvetoQuadraticSmoothAbs.y._get"); SVGPathSegCurvetoQuadraticSmoothAbs* imp = V8SVGPathSegCurvetoQuadraticSmoothAbs::toNative(info.Holder()); return v8::Number::New(imp->y()); }