I am trying to draw text to a secondary surface used for blitting, using the surface.DrawText function. I have set up my font properly, that all works... However, regardless of what I set my x and y values to, the text gets drawn at 0,0.
Anyone know what's wrong?
Code:Dim FontInfo As New StdFont backbuffer.SetFontTransparency True backbuffer.SetForeColor vbBlue FontInfo.Bold = True FontInfo.size = 12 FontInfo.name = "Verdana" backbuffer.SetFont FontInfo backbuffer.DrawText X, Y, "Test", True




Reply With Quote