gdi32: Use NtGdiSetMetaRgn for SetMetaRgn.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
24a22a51ff
commit
1d9f57bb29
|
@ -526,9 +526,9 @@ INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, INT iCode)
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SetMetaRgn (GDI32.@)
|
* NtGdiSetMetaRgn (win32u.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI SetMetaRgn( HDC hdc )
|
INT WINAPI NtGdiSetMetaRgn( HDC hdc )
|
||||||
{
|
{
|
||||||
INT ret;
|
INT ret;
|
||||||
RECT dummy;
|
RECT dummy;
|
||||||
|
|
|
@ -1113,6 +1113,18 @@ INT WINAPI SelectClipRgn( HDC hdc, HRGN hrgn )
|
||||||
return ExtSelectClipRgn( hdc, hrgn, RGN_COPY );
|
return ExtSelectClipRgn( hdc, hrgn, RGN_COPY );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* SetMetaRgn (GDI32.@)
|
||||||
|
*/
|
||||||
|
INT WINAPI SetMetaRgn( HDC hdc )
|
||||||
|
{
|
||||||
|
DC_ATTR *dc_attr;
|
||||||
|
|
||||||
|
if (!(dc_attr = get_dc_attr( hdc ))) return FALSE;
|
||||||
|
if (dc_attr->emf) FIXME( "EMFs are not yet supported\n" );
|
||||||
|
return NtGdiSetMetaRgn( hdc );
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GdiSetPixelFormat (GDI32.@)
|
* GdiSetPixelFormat (GDI32.@)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue