On Tue, Jan 07, 2014 at 02:33:32PM +0100, Ralf Habacker wrote:
@@ -1327,6 +1327,20 @@ BOOL WINAPI GetTextExtentExPointW( HDC hdc, LPCWSTR str, INT count, INT max_ext, } }
- XFORM old;
- BOOL exclude_rotation = FALSE;
- if ( GetGraphicsMode( hdc ) == GM_ADVANCED )
- {
GetWorldTransform( hdc, &old );XFORM xf = old;if ( hasRotatedAndSameScaledMatrixOnly( &xf ) ){exclude_rotation = TRUE;removeRotationFromMatrix( &xf, NULL );SetWorldTransform( hdc, &xf );}- }
Does Windows really do this only in the same-scaled, non-sheared case?
Huw.