Topic: AppGraphics Bug or
Hi Jeff,
I'm having difficulty displaying text in the vertical direction using AppGraphics.
Using the following AppGraphics commands and three different fonts, I've been unsuccessful to display text in the vertical position (-90 degrees from horizontal). For example, a y-axis ordinate label.
w = getmaxx ( )
h = getmaxy ( )
call settextstyle (DEFAULT_FONT, VERT_DIR, 18)
INFO = "VERTICAL TEXT-1"
tw = textwidth( TRIM(INFO) )
call outtextxy( (w/2-300), INT(real(h/2-2*tw/3)), TRIM(INFO) )
call settextstyle (SANS_SERIF_FONT, VERT_DIR, 18)
INFO = "VERTICAL TEXT-2"
call outtextxy( (w/2-250), INT(real(h/2-2*tw/2)), TRIM(INFO) )
call settextstyle (WINDOWS_FONT, VERT_DIR, 18)
INFO = "VERTICAL TEXT-3"
call outtextxy( (w/2-200), INT(real(h/2-2*tw/1)), TRIM(INFO) )
I don't claim to fully understand the use of all AppGraphics drawing commands, but displaying text vertically should be fairly straight forward.
What am I missing? Or is this an AppGraphics bug?
Frank