cgmo-webcgm message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: draft words for gOE() and text
- From: Lofton Henderson <lofton@rockynet.com>
- To: cgmo-webcgm@lists.oasis-open.org
- Date: Fri, 13 Jun 2008 11:35:31 -0600
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]