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;
}
コード例 #3
0
ファイル: JSSVGPathSegArcAbs.cpp プロジェクト: Xertz/EAWebKit
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;
}
コード例 #4
0
ファイル: JSSVGPathSegArcAbs.cpp プロジェクト: Xertz/EAWebKit
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;
}
コード例 #5
0
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;
}
コード例 #6
0
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;
}
コード例 #7
0
ファイル: JSSVGPathSegArcAbs.cpp プロジェクト: Xertz/EAWebKit
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));
}
コード例 #8
0
ファイル: JSSVGPathSegArcAbs.cpp プロジェクト: Xertz/EAWebKit
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());
}
コード例 #11
0
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());
}
コード例 #12
0
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());
}