Latest Direct2D Activity
![Direct2d fill rect works incorrectly ?](https://uploads.gamedev.net/forums/monthly_2021_06/99aec69e5b724a31b99e3eb491744d49.p2.png)
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
![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 = te…
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…
Advertisement
Advertisement
Advertisement