Example 1 shows an image ROTATEd and ALIGNed in a grid of square boxes.
Example 2 shows how TOP,LEFT and X,Y positioning affect rotation of TEXT.
Example 1
<IDF UNITS="INCHES" PAPER="A4" ORIENT="P">
<PAGE>
<FILE FILENAME="compass.png" SHAPE="BOX" Y="1" X="1" WIDTH="2cm" HEIGHT="2cm" ROTATE="0" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="1" X="2" WIDTH="2cm" HEIGHT="2cm" ROTATE="1" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="1" X="3" WIDTH="2cm" HEIGHT="2cm" ROTATE="2" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="1" X="4" WIDTH="2cm" HEIGHT="2cm" ROTATE="3" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="2" X="1" WIDTH="2cm" HEIGHT="2cm" ROTATE="0" ALIGN="bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="2" X="2" WIDTH="2cm" HEIGHT="2cm" ROTATE="1" ALIGN="bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="2" X="3" WIDTH="2cm" HEIGHT="2cm" ROTATE="2" ALIGN="bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="2" X="4" WIDTH="2cm" HEIGHT="2cm" ROTATE="3" ALIGN="bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="3" X="1" WIDTH="2cm" HEIGHT="2cm" ROTATE="0" ALIGN="right,bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="3" X="2" WIDTH="2cm" HEIGHT="2cm" ROTATE="1" ALIGN="right,bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="3" X="3" WIDTH="2cm" HEIGHT="2cm" ROTATE="2" ALIGN="right,bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="3" X="4" WIDTH="2cm" HEIGHT="2cm" ROTATE="3" ALIGN="right,bottom" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="4" X="1" WIDTH="2cm" HEIGHT="2cm" ROTATE="0" ALIGN="right" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="4" X="2" WIDTH="2cm" HEIGHT="2cm" ROTATE="1" ALIGN="right" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="4" X="3" WIDTH="2cm" HEIGHT="2cm" ROTATE="2" ALIGN="right" />
<FILE FILENAME="compass.png" SHAPE="BOX" Y="4" X="4" WIDTH="2cm" HEIGHT="2cm" ROTATE="3" ALIGN="right" />
</PAGE>
</IDF>
|
Example 2
The strings in the first GROUP are offset from the GROUP origin and resemble a "+" shape in a circle. The starting point for the second GROUP of strings ROTATEs around the edges of the GROUP. The strings in the third group are ALIGNed around the edges of a rectangular box.
<IDF UNITS="DOTS" PAPER="A4" ORIENT="P" >
<PAGE>
<GROUP X="500" Y="500" WIDTH="800" HEIGHT="800" SHAPE="ELLIPSE">
<TEXT X="400" Y="400" >X,Y offset 0</TEXT>
<TEXT X="400" Y="400" ROTATE="1">X,Y offset 1</TEXT>
<TEXT X="400" Y="400" ROTATE="2">X,Y offset 2</TEXT>
<TEXT X="400" Y="400" ROTATE="3">X,Y offset 3</TEXT>
</GROUP>
<GROUP X="500" Y="500" WIDTH="800" HEIGHT="800">
<TEXT >X,Y box 0</TEXT>
<TEXT ROTATE="1" >X,Y box 1</TEXT>
<TEXT ROTATE="2" >X,Y box 2</TEXT>
<TEXT ROTATE="3" >X,Y box 3</TEXT>
</GROUP>
<GROUP LEFT="500" TOP="500" WIDTH="800" HEIGHT="800" SHAPE="BOX">
<TEXT ALIGN="CENTRE" >LEFT,TOP box 0</TEXT>
<TEXT ALIGN="CENTRE" ROTATE="1" >LEFT,TOP 1</TEXT>
<TEXT ALIGN="CENTRE" ROTATE="2" >LEFT,TOP 2</TEXT>
<TEXT ALIGN="CENTRE" ROTATE="3" >LEFT,TOP 3</TEXT>
</GROUP>
</PAGE>
</IDF>
|