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