static void sweepFlagAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); bool v = value->BooleanValue(); imp->setSweepFlag(v); return; }
static void r2AttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setR2(v); return; }
JSValue jsSVGPathSegArcAbsSweepFlag(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegArcAbs* castedThis = static_cast<JSSVGPathSegArcAbs*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGPathSegArcAbs* imp = static_cast<SVGPathSegArcAbs*>(castedThis->impl()); JSValue result = jsBoolean(imp->sweepFlag()); return result; }
JSValue jsSVGPathSegArcAbsAngle(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegArcAbs* castedThis = static_cast<JSSVGPathSegArcAbs*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGPathSegArcAbs* imp = static_cast<SVGPathSegArcAbs*>(castedThis->impl()); JSValue result = jsNumber(imp->angle()); return result; }
static void yAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegArcAbs.y._set"); SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setY(v); return; }
static void largeArcFlagAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegArcAbs.largeArcFlag._set"); SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); bool v = value->BooleanValue(); imp->setLargeArcFlag(v); return; }
void setJSSVGPathSegArcAbsSweepFlag(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegArcAbs* castedThis = static_cast<JSSVGPathSegArcAbs*>(thisObject); SVGPathSegArcAbs* imp = static_cast<SVGPathSegArcAbs*>(castedThis->impl()); imp->setSweepFlag(value.toBoolean(exec)); }
void setJSSVGPathSegArcAbsAngle(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegArcAbs* castedThis = static_cast<JSSVGPathSegArcAbs*>(thisObject); SVGPathSegArcAbs* imp = static_cast<SVGPathSegArcAbs*>(castedThis->impl()); imp->setAngle(value.toFloat(exec)); }
static v8::Handle<v8::Value> angleAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); return v8::Number::New(imp->angle()); }
static v8::Handle<v8::Value> sweepFlagAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); return v8Boolean(imp->sweepFlag(), info.GetIsolate()); }
static v8::Handle<v8::Value> r2AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegArcAbs.r2._get"); SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); return v8::Number::New(imp->r2()); }
static v8::Handle<v8::Value> sweepFlagAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegArcAbs.sweepFlag._get"); SVGPathSegArcAbs* imp = V8SVGPathSegArcAbs::toNative(info.Holder()); return v8Boolean(imp->sweepFlag()); }