XY Justification Keyword
Keyword and parameter to determine the justification used with the <x> and <y> keywords. The default value of zero for N makes X and Y determine the coordinates of the left and top elements of the displayed image. N = 1 makes X and Y specify the center of the displayed image, 2 makes X and Y determine the bottom right coordinates
and as of version 126.96.36.199 of DMDX a value of 3 determines the bottom left
coordinates (useful for the
similarly a value of 4 indicates the right top which is handy for right to left
fonts with <inst>. As of version 188.8.131.52
of DMDX a text
option can be used instead of
the classic numeric values (see below):
<XYJustification> is evaluated as the item is parsed before the display is generated so multiple uses within an item are meaningless
unless <XYJustification FRAMEBYFRAME>
has been issued, if not only the last used value will have any effect.
equivalent to N being 0.
CENTER is equivalent to N
is equivalent to N being 2.
LEFTBOTTOM is equivalent to N
is equivalent to N being 4.
FRAMEBYFRAME is a switch to set the
mdspJUSTIFYBYFRAME bit of the
method of display that turns on
the above mentioned mode where each frame can have it's own <XYJustification>
keyword, handy for things like
<inst esc> frames.
Currently there's an ambiguity in the code
that draws frames that looks like a real nightmare to resolve. It's result
is such that the specification of just one axis' position (ie, just using <x>
will not work with
both axes must be specified. Hence the use of
position frames when using <XYJustification>
is highly recommended.