OsirisGothra
Newcomer
Hello,
I am writing a program that needs an acurate measurement of strings of characters outputed by DirectX9's DirectDraw.Surface.DrawText method.
First of all, this is all happening in VB.NET and.. of course my first natural instinct was to try using .NET's Graphics.MeasureString method except that the text being measured of course is based on the output that GDI+ would of produced.. yes it works fine under GDI+ but unfortunately it just isnt fast enough... DX9 is plenty fast enough in fact i had to slow it down a bit... but... the problem remains on how do you measure a string outputed by DX9's method? And if there is none, then how would i go about 'peeking' at the pixels to find out where it ends myself?
gs
I am writing a program that needs an acurate measurement of strings of characters outputed by DirectX9's DirectDraw.Surface.DrawText method.
First of all, this is all happening in VB.NET and.. of course my first natural instinct was to try using .NET's Graphics.MeasureString method except that the text being measured of course is based on the output that GDI+ would of produced.. yes it works fine under GDI+ but unfortunately it just isnt fast enough... DX9 is plenty fast enough in fact i had to slow it down a bit... but... the problem remains on how do you measure a string outputed by DX9's method? And if there is none, then how would i go about 'peeking' at the pixels to find out where it ends myself?
gs