JSValue jsSVGZoomAndPanZoomAndPan(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGZoomAndPan* castedThis = static_cast<JSSVGZoomAndPan*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGZoomAndPan* imp = static_cast<SVGZoomAndPan*>(castedThis->impl()); JSValue result = jsNumber(imp->zoomAndPan()); return result; }
JSValue* JSSVGZoomAndPan::getValueProperty(ExecState* exec, int token) const { switch (token) { case ZoomAndPanAttrNum: { SVGZoomAndPan* imp = static_cast<SVGZoomAndPan*>(impl()); return jsNumber(exec, imp->zoomAndPan()); } case ConstructorAttrNum: return getConstructor(exec); } return 0; }