[cairo-commit] cairo/src cairo-win32-private.h,1.2,1.3

Owen Taylor commit at pdx.freedesktop.org
Tue Aug 23 14:52:40 PDT 2005

Committed by: otaylor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv10032/src

Modified Files:
Log Message:
2005-08-23  Owen Taylor  <otaylor at redhat.com>

        * src/cairo-win32-font.c (_cairo_win32_scaled_font_show_glyphs):
        Check for AlphaBlend() with GetProcAddress() to support older
        compilation environments like MSVC 6. (Also fixes this portion
        of the code to run on Win98 and Win95, but much of the rest
        of cairo-win32-* won't work in that environment)
        (#3926, Hans Breuer, Christian Biesinger, based on code
        originally from Mozilla)

        * src/cairo-win32-private.h: Remove WINVER define, since it
        was there only for AlphaBlend().

Index: cairo-win32-private.h
RCS file: /cvs/cairo/cairo/src/cairo-win32-private.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-win32-private.h	24 Feb 2005 20:51:33 -0000	1.2
+++ cairo-win32-private.h	23 Aug 2005 21:52:38 -0000	1.3
@@ -36,12 +36,6 @@
-/* We depend on various features introduced with Win2k and Win98,
- * like AlphaBlend. If it turns out to be a problem, we could
- * use GetProcAddress() to look them up.
- */
-#define WINVER 0x0500
 #include <cairo-win32.h>
 #include <cairoint.h>

More information about the cairo-commit mailing list