ofwin_sethudtextposition Subroutine

public subroutine ofwin_sethudtextposition(row, col, x, y, alignment)

Set HUD text position and alignment. Create placeholder HUD text if it does not yet exist.

This applies to the current active WindowProxy.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: row

Row in the grid to set.

integer(kind=int32), intent(in) :: col

Column in the grid to set.

real(kind=real32), intent(in) :: x

Text origin x position, in range [0,1] from left to right.

real(kind=real32), intent(in) :: y

Text origin y position, in range [0,1] from bottom to top.

integer(kind=int32), intent(in) :: alignment

Alignment location of text origin, see osgText::AlignmentType enum.