MCPcopy Create free account
hub / github.com/GPUOpen-Effects/GeometryFX / CalcTextRect

Method CalcTextRect

framework/d3d11/dxut/Optional/DXUTgui.cpp:1697–1710  ·  view source on GitHub ↗

--------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1695
1696//--------------------------------------------------------------------------------------
1697_Use_decl_annotations_
1698HRESULT CDXUTDialog::CalcTextRect( LPCWSTR strText, CDXUTElement* pElement, const RECT* prcDest, int nCount )
1699{
1700 auto pFontNode = GetFont( pElement->iFont );
1701 if( !pFontNode )
1702 return E_FAIL;
1703
1704 UNREFERENCED_PARAMETER(strText);
1705 UNREFERENCED_PARAMETER(prcDest);
1706 UNREFERENCED_PARAMETER(nCount);
1707 // TODO -
1708
1709 return S_OK;
1710}
1711
1712
1713//--------------------------------------------------------------------------------------

Callers 4

RenderCompositionMethod · 0.80
RenderIndicatorMethod · 0.80
RenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected