<zone>
<zone> defines any two-dimensional area within a surface element. | |||||||||||||
Module | transcr — 11 Representation of Primary Sources | ||||||||||||
Attributes | att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.coordinated (@start, @ulx, @uly, @lrx, @lry) att.typed (@type, @subtype)
| ||||||||||||
Used by | |||||||||||||
Contained by | |||||||||||||
May contain | |||||||||||||
Declaration |
element zone { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.coordinated.attributes, att.typed.attributes, attribute points { list { data.point, data.point, data.point, data.point* } }?, attribute rotate { data.count }?, ( text | model.graphicLike | model.global | surface | model.linePart )* } | ||||||||||||
Example |
<surface
ulx="14.54" uly="16.14" lrx="0" lry="0"> <graphic url="stone.jpg"/> <zone points="4.6,6.3 5.25,5.85 6.2,6.6 8.19222,7.4125 9.89222,6.5875 10.9422,6.1375 11.4422,6.7125 8.21722,8.3125 6.2,7.65"/> </surface> This example defines a non-rectangular zone: see the illustration in section 11.4 Advanced uses of Surface and Zone. | ||||||||||||
Example |
<facsimile>
<surface ulx="50" uly="20" lrx="400" lry="280"> <zone ulx="0" uly="0" lrx="500" lry="321"> <graphic url="graphic.png "/> </zone> </surface> </facsimile> This example defines a zone which has been defined as larger than its parent surface in order to match the dimensions of the graphic it contains. | ||||||||||||
Note |
The position of every zone for a given surface is always
defined by reference to the coordinate system defined for that
surface. A graphic element contained by a zone represents the whole
of the zone.
A zone may be of any shape. The attribute points may be
used to define a polygonal zone, using the coordinate system defined
by its parent surface. |