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] draft words for gOE() and text


Lofton,
 
The second paragraph is a mouthful, but I don't think it can be shortened or simplified without losing accuracy. I think it should stay right where it is, because as you pointed out it is the only place that it matters.
 
Regarding the first paragraph, it is not clear which Style Properties affect the calculation. I think it should explicitly state that only the text-size and text-font Style Properties affect the calculation.
 
Rob
-----Original Message-----
From: Lofton Henderson [mailto:lofton@rockynet.com]
Sent: Friday, June 13, 2008 11:36 AM
To: cgmo-webcgm@lists.oasis-open.org
Subject: [cgmo-webcgm] draft words for gOE() and text

Speak up if you don't like this, or have a concrete suggestion for improvement.

Replace the CD01 descriptive text of getObjectExtent in 5.7.6,
http://docs.oasis-open.org/webcgm/v2.1/cd01/WebCGM21-DOM.html#L5095

with the following:

[[[
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. Other than text attributes and Style Properties, the calculation is not affected by CGM Primitive Attribute (such as line width) or Control elements, nor by APS Attributes or Style Properties. It is affected by geometric transform - the defining coordinates of the WebCGMRect return value are expressed in NVDC after the application of the Current Transformation Matrix.

The contribution of a text element to the object extent is conceptually calculated from the containing parallellogram of the displayed text, defined as follows. The length of the side in the text-up direction is the bottomline-to-topline distance of the font, after computation of the effective font size that reflects all text attributes, the height of the Restricted Text box, the Restricted Text Type, and the Style Properties text-size and text-font. The length of the side in the text-baseline direction is the length of the Restricted Text box for an entire Restricted Text element, or the sum of the effective glyph widths for an Append Text element.
]]]

Question.  That is a mouthful.  Is there some place where the 2nd pgph might better be placed, with a link from gOE()?  Or is it good here, which is pretty much the only place that it matters?

-Lofton.


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