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] Flagging "no primitives in object"


null is used in many places in the WebCGM DOM, I don't see why this new one would cause a problem.


From: Galt, Stuart A [mailto:stuart.a.galt@boeing.com]
Sent: Thursday, June 12, 2008 1:38 PM
To: Lofton Henderson; cgmo-webcgm@lists.oasis-open.org
Subject: RE: [cgmo-webcgm] Flagging "no primitives in object"

Null works for me
 

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

 


From: Lofton Henderson [mailto:lofton@rockynet.com]
Sent: Thursday, June 12, 2008 10:30 AM
To: cgmo-webcgm@lists.oasis-open.org
Subject: [cgmo-webcgm] Flagging "no primitives in object"

All --

Before we defined WebCGMRect, we were discussing how getObjectExtent should indicate "no primitives in object".  We were playing with xur<xll and yur<yll.

Now that the return type is a WebCGMRect object, Benoit's draft proposes the natural choice -- "null".   ("Null return value" is unambiguously defined in 5.5.2.1).

Does anyone disagree? 

(Apologies if we discussed this in meeting, I don't recall it.)

-Lofton.


At 12:21 PM 6/9/2008 -0400, Bezaire, Benoit wrote:


WebCGMRect getObjectExtent()

Retrieves the bounding box rectangle of the Graphical Primitive elements within an APS. The bounding box calculation is based on the abstract locus of the primitives within the APS it is not affected by CGM Primitive Attribute (such as line width) or Control elements, nor by APS Attributes or Style Properties (except geometric transform). The rectangle is defined by two diametrically opposite corner points expressed in NVDC after the application of the Current Transformation Matrix.Parameters
No parameters.
Return value
WebCGMRect; the bounding rectangle of the APS, or null if the APS has no Graphical Primitive elements.
Exceptions
No exceptions.


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