🎉 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!

Advertisement

Latest Direct2D Activity

Direct2d fill rect works incorrectly ?

thanks for your answers, i have fixed that, it was my stupid mistake, i was calling GetClientRect in WM_SIZE , but window was not resized, i was getting old window size

4,195 views
Advertisement
Direct2D and DirectWrite wrap text in layer

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…
2,961 views

theScore said:

I have to call Present twice, with two different swap chain ? Once with direct3D and once with Direct2D or DirectWrite ?

how r u doin this interop…

4,088 views
Advertisement
Advertisement