[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cgmo-webcgm] Proposal for getObjectExtent with no graphical primitives.
At 04:09 PM 5/6/2008 -0700, Galt, Stuart A wrote: > >From the minutes: >Question: How do we handle a getObjectExtent call to an APS that has no >graphical primitives? >Add an exception to the exception list? Should we consider another >approach? >JavaScript has a concept of undefined? This may be the right approach. >Dave and >Stuart will look at the options: 1) throw an exception, 2) add a 5th >parameter to include a >result, or 3) invent something invalid for the 4 floats. > >I would propose that we return the rectangle such that it is not >expressed as lower left followed by the upper right point. I think you mean *is* rather than *is not*, yes? -Lofton. >Then if the script author was >worried >about the potential for objects with no graphical primitives they could >simply >take the results x0, y0, x1, y1 and check if x1 < x0 > >Stuart. > > >-- >Stuart Galt >SGML Resource Group >stuart.a.galt@boeing.com >(206) 544-3656 > > >--------------------------------------------------------------------- >To unsubscribe from this mail list, you must leave the OASIS TC that >generates this mail. You may a link to this group and all your TCs in OASIS >at: >https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]