PolyTextOut

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

the attachment is a patch against version 20030508.
It implements the two functions PolyTextOutA/PolyTextOutW.

Ingmar Thiemann
ingmar@gefas.com
--- 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;
 }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux