static void yAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { SVGPathSegLinetoVerticalRel* imp = V8SVGPathSegLinetoVerticalRel::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setY(v); return; }
JSValue jsSVGPathSegLinetoVerticalRelY(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegLinetoVerticalRel* castedThis = static_cast<JSSVGPathSegLinetoVerticalRel*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGPathSegLinetoVerticalRel* imp = static_cast<SVGPathSegLinetoVerticalRel*>(castedThis->impl()); JSValue result = jsNumber(imp->y()); return result; }
JSValue* JSSVGPathSegLinetoVerticalRel::getValueProperty(ExecState* exec, int token) const { switch (token) { case YAttrNum: { SVGPathSegLinetoVerticalRel* imp = static_cast<SVGPathSegLinetoVerticalRel*>(impl()); return jsNumber(exec, imp->y()); } } return 0; }
void JSSVGPathSegLinetoVerticalRel::putValueProperty(ExecState* exec, int token, JSValue* value) { switch (token) { case YAttrNum: { SVGPathSegLinetoVerticalRel* imp = static_cast<SVGPathSegLinetoVerticalRel*>(impl()); imp->setY(value->toFloat(exec)); if (context()) context()->svgAttributeChanged(impl()->associatedAttributeName()); break; } } }
static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { SVGPathSegLinetoVerticalRel* imp = V8SVGPathSegLinetoVerticalRel::toNative(info.Holder()); return v8::Number::New(imp->y()); }
void setJSSVGPathSegLinetoVerticalRelY(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegLinetoVerticalRel* castedThis = static_cast<JSSVGPathSegLinetoVerticalRel*>(thisObject); SVGPathSegLinetoVerticalRel* imp = static_cast<SVGPathSegLinetoVerticalRel*>(castedThis->impl()); imp->setY(value.toFloat(exec)); }