2 * metafile driver text functions
4 * Copyright 1993, 1994 Alexandre Julliard
15 /***********************************************************************
19 MFDRV_ExtTextOut( DC
*dc
, INT x
, INT y
, UINT flags
,
20 const RECT
*lprect
, LPCSTR str
, UINT count
,
24 LPINT16 lpdx16
= lpDx
?(LPINT16
)xmalloc(sizeof(INT16
)*count
):NULL
;
28 if (lprect
) CONV_RECT32TO16(lprect
,&rect16
);
29 if (lpdx16
) for (i
=count
;i
--;) lpdx16
[i
]=lpDx
[i
];
30 ret
=MF_ExtTextOut(dc
,x
,y
,flags
,lprect
?&rect16
:NULL
,str
,count
,lpdx16
);
31 if (lpdx16
) free(lpdx16
);