[cairo-bugs] [Bug 14107] New: GRADIENT_FILL_RECT_H is undeclared
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 17 02:01:04 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=14107
Summary: GRADIENT_FILL_RECT_H is undeclared
Product: cairo
Version: 1.5.6
Platform: Other
OS/Version: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: win32 backend
AssignedTo: cairo-bugs at cairographics.org
ReportedBy: myasar at free.fr
QAContact: cairo-bugs at cairographics.org
I'm compiling Cairo for Win32 with mingw on Ubuntu dapper (6.06) and I have an
error when compiling cairo-win32-printing-surface.c : GRADIENT_FILL_RECT_H is
undeclared.
The definition of GRADIENT_FILL_RECT_H in the windows header is incorrect (the
condition of definition is erroneous)
I have :
----- wingdi.h --------------
#if (WINVER > 0x500)
#define GRADIENT_FILL_RECT_H 0x00
#define GRADIENT_FILL_RECT_V 0x01
#define GRADIENT_FILL_TRIANGLE 0x02
#define GRADIENT_FILL_OP_FLAG 0xff
...
#endif
-------------------
That should be (it has been fixed with recent mingw):
-------------------
#if (WINVER >= 0x500)
#define GRADIENT_FILL_RECT_H 0x00
#define GRADIENT_FILL_RECT_V 0x01
#define GRADIENT_FILL_TRIANGLE 0x02
#define GRADIENT_FILL_OP_FLAG 0xff
...
#endif
-------------------
Cairo should test the definition of RADIENT_FILL_RECT_H after including
windows.h.
Thanks
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the cairo-bugs
mailing list