unsigned get_text_alignment(handle device)
This function obtains the text alignment flags.
The handle of the device context.
The text alignment flags or -1 if an error occurred.
use the setting of the text alignment to define the relationship of the reference point to the bounding rectangle of the text. The bounding rectangle is formed as the union of the individual character boxes. The bounding rectangle may be queried via a call to the function get_text_extent.