Advertisement

Latest Layering Activity

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,809 views
Advertisement
Advertisement
Advertisement