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.


Sorry I was not clear...

I meant getObjectExtent should return a rectangle with the 
lower left followed by the upper right (in the normal case).
If the APS contains no graphical primitives it will return a
value such that x1 is less than x0 and/or y1  is less than y0.

--
Stuart Galt
SGML Resource Group
stuart.a.galt@boeing.com
(206) 544-3656

 

> -----Original Message-----
> From: Lofton Henderson [mailto:lofton@rockynet.com] 
> Sent: Wednesday, May 07, 2008 6:52 AM
> To: Galt, Stuart A; CGM Open WebCGM TC
> 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_workg
roups.php
> 
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]