JSValue jsSVGMarkerElementStyle(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGMarkerElement* castedThis = static_cast<JSSVGMarkerElement*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGMarkerElement* imp = static_cast<SVGMarkerElement*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->style())); return result; }
JSValue jsSVGMarkerElementPreserveAspectRatio(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGMarkerElement* castedThis = static_cast<JSSVGMarkerElement*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGMarkerElement* imp = static_cast<SVGMarkerElement*>(castedThis->impl()); RefPtr<SVGAnimatedPreserveAspectRatio> obj = imp->preserveAspectRatioAnimated(); JSValue result = toJS(exec, castedThis->globalObject(), obj.get(), imp); return result; }
JSValue jsSVGMarkerElementExternalResourcesRequired(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGMarkerElement* castedThis = static_cast<JSSVGMarkerElement*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGMarkerElement* imp = static_cast<SVGMarkerElement*>(castedThis->impl()); RefPtr<SVGAnimatedBoolean> obj = imp->externalResourcesRequiredAnimated(); JSValue result = toJS(exec, castedThis->globalObject(), obj.get(), imp); return result; }
JSValue JSC_HOST_CALL jsSVGMarkerElementPrototypeFunctionGetPresentationAttribute(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.inherits(&JSSVGMarkerElement::s_info)) return throwError(exec, TypeError); JSSVGMarkerElement* castedThisObj = static_cast<JSSVGMarkerElement*>(asObject(thisValue)); SVGMarkerElement* imp = static_cast<SVGMarkerElement*>(castedThisObj->impl()); const UString& name = args.at(0).toString(exec); JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->getPresentationAttribute(name))); return result; }
JSValue jsSVGMarkerElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGMarkerElement* domObject = static_cast<JSSVGMarkerElement*>(asObject(slotBase)); return JSSVGMarkerElement::getConstructor(exec, domObject->globalObject()); }