EgtGeomKernel 1.9h1 :
- sistemazioni varie in CAvToolTriangle - utilizzo di std::async in CAvToolSurfTm - corretto GetAllTriaAroundVertex di SurfTm - aggiunto ( nothrow) a tutti i new.
This commit is contained in:
+1
-1
@@ -628,7 +628,7 @@ OsFont::GetCharOutline( unsigned int nChar, double& dAdvance, ICURVEPLIST& lstPC
|
||||
DWORD dwSize = GetGlyphOutlineW( m_hDC, nChar, GGO_NATIVE, &gm, 0, NULL, &mat) ;
|
||||
if ( dwSize == GDI_ERROR)
|
||||
return false ;
|
||||
PtrOwner<char> pBuffer( new char[dwSize]) ;
|
||||
PtrOwner<char> pBuffer( new( nothrow) char[dwSize]) ;
|
||||
if ( IsNull( pBuffer))
|
||||
return false ;
|
||||
// recupero l'outline
|
||||
|
||||
Reference in New Issue
Block a user