OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[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 09:13 AM 5/7/2008 -0500, Don wrote:
>Stuart Returning
>  an exception seems to strong an action.  Returning
>values like "0,0,-1,-1" which is often used to indicate a null rectangle.
>
>But What's wrong with the way it's specified now, i.e. return an "empty
>string".

I think we're also re-parameterizing to 4 floats, instead of the single 
WebCGMString with 4 numbers encoded in it. Correct?

So "empty string" no longer works.

-Lofton.


>  >  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.  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
>
>---------------------------------------------------------------------
>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]