Set Text Alignment/Push and Set Text Alignment - Parameters
LEN (GLENGTH1)
Length
of following data.
HORIZ (GUCHAR)
Horizontal
alignment as follows:
0x00
0x01
Normal alignment. The alignment assumed depends
on the current character direction:
Left to right
Top to bottom
Right to left
Bottom to top
0x02
Left alignment. The string is aligned on the left
edge of its leftmost character.
0x03
Center
alignment. The string is aligned on the arithmetic mean of left and right.
0x04
Right alignment. The
string is aligned on the right edge of its rightmost character.
0xFF
Standard alignment. The alignment assumed depends
on the current character direction:
Left to right
Top to bottom
Right to left
Bottom to top
VERT (GUCHAR)
Vertical
alignment as follows:
0x00
0x01
Normal alignment. The alignment assumed depends
on the current character direction:
Left to right
Top to bottom
Right to left
Bottom to top
0x02
Top Alignment. The string is aligned on the top
edge of its topmost character.
0x03
0x04
Half alignment. The
string is aligned on the arithmetic mean of top and bottom.
0x05
Base alignment. The string is aligned on the base
of its bottom character.
0x06
Bottom
Alignment. The string is aligned on the bottom edge of its bottom character.
0xFF