Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DirectX8 Font Outline
#1
So I've succeeded in converting my source to DirectX 8 Big Grin 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? Big Grin 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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)