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,892 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…
3,687 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,697 views
Advertisement
Advertisement