PolyTextOut
Ingmar Thiemann
ingmar at gefas.com
Wed Jun 4 16:58:24 CDT 2003
Hello,
the attachment is a patch against version 20030508.
It implements the two functions PolyTextOutA/PolyTextOutW.
Ingmar Thiemann
ingmar at gefas.com
-------------- next part --------------
--- wine-20030508/objects/text.c 2003-03-24 19:27:54.000000000 +0100
+++ wine-20030508-it/objects/text.c 2003-06-02 20:13:00.000000000 +0200
@@ -272,9 +272,10 @@
INT cStrings /* [in] Number of strings in array */
)
{
- FIXME("stub!\n");
- SetLastError ( ERROR_CALL_NOT_IMPLEMENTED );
- return 0;
+ for (; cStrings>0; cStrings--, pptxt++)
+ if (!ExtTextOutA( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx ))
+ return 0;
+ return 1;
}
@@ -290,7 +291,8 @@
INT cStrings /* [in] Number of strings in array */
)
{
- FIXME("stub!\n");
- SetLastError ( ERROR_CALL_NOT_IMPLEMENTED );
- return 0;
+ for (; cStrings>0; cStrings--, pptxt++)
+ if (!ExtTextOutW( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx ))
+ return 0;
+ return 1;
}
More information about the wine-patches
mailing list