🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest Drawing Activity
foxo said:
I also realised that gpu drivers and extremely low level gpu programming are some kind a ‘secret’ knoladge that nobody know how to do except the elit at vulkan and other specialised company that won't tell us there ‘secrets’. that's why I am asking : How to draw from gpu to the screen or …
![Direct2D and DirectWrite wrap text in layer](https://uploads.gamedev.net/forums/monthly_2020_04/17f4e9a956284d2582fb81171c6e47ed.D2Dtext.jpg)
Hello, I am trying to wrap text inside a layer within client area. Is that possible to do that ?
...
m_d2dRenderTarget->CreateSolidColorBrush(ColorF(colorf), &m_Brush);
m_d2dRenderTarget->BeginDraw();
wstring textWstr = wstring(text.begin(), text.end());
const wchar_t* wcharText = tex…
Advertisement
Advertisement