21-08-2008, 05:09 AM
So I've succeeded in converting my source to DirectX 8
Now I am trying to figure out how to outline a font. I am currently using the DrawText method included in the d3dx8 object. Any pointers?
This is my sub I use for drawing text. I know, pretty shabby, but it's what I am using for now :


Code:
Public Sub DrawText(ByVal X, ByVal Y, ByVal Text As String)
TextRect.Top = Y
TextRect.Left = X
TextRect.bottom = Y + 32
TextRect.Right = X + (Len(Text) * FONT_SIZE)
D3DX.DrawText MainFont, &HFFFFFFFF, Text, TextRect, DT_LEFT
End Sub