Second part of font stuff from CodeWeaver's Patch

Huw D M Davies h.davies1 at physics.ox.ac.uk
Sat Jan 26 17:21:26 CST 2002


Sorry, forgot to include the header diff.

Huw.
-------------- next part --------------
Index: include/x11drv.h
===================================================================
RCS file: /home/wine/wine/include/x11drv.h,v
retrieving revision 1.95
diff -u -r1.95 x11drv.h
--- include/x11drv.h	2002/01/04 18:27:45	1.95
+++ include/x11drv.h	2002/01/26 21:23:41
@@ -58,6 +58,8 @@
   /* X physical font */
 typedef UINT	 X_PHYSFONT;
 
+typedef struct tagXRENDERINFO *XRENDERINFO;
+
   /* X physical device */
 typedef struct
 {
@@ -72,6 +74,7 @@
     XVisualInfo  *visuals[MAX_PIXELFORMATS];
     int           used_visuals;
     int           current_pf;
+    XRENDERINFO   xrender;
 } X11DRV_PDEVICE;
 
 
@@ -195,6 +198,16 @@
 extern const int X11DRV_XROPfunction[];
 
 extern void _XInitImageFuncPtrs(XImage *);
+
+extern BOOL X11DRV_XRender_Installed;
+extern void X11DRV_XRender_Init(void);
+extern void X11DRV_XRender_Finalize(void);
+extern BOOL X11DRV_XRender_SelectFont(struct tagDC*, HFONT);
+extern void X11DRV_XRender_DeleteDC(struct tagDC*);
+extern BOOL X11DRV_XRender_ExtTextOut(DC *dc, INT x, INT y, UINT flags,
+				      const RECT *lprect, LPCWSTR wstr,
+				      UINT count, const INT *lpDx);
+extern void X11DRV_XRender_UpdateDrawable(DC *dc);
 
 /* exported dib functions for now */
 


More information about the wine-patches mailing list